1 2015-10-07 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9 file, conditioned on [!_LP64].
10 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11 [!_LP64] (__lround): Do not define as function or alias.
12 [!_LP64] (lround): Likewise.
13 [!_LP64] (__lroundl): Likewise.
14 [!_LP64] (lroundl): Likewise.
15 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20 2015-10-06 Joseph Myers <joseph@codesourcery.com>
22 * math/libm-test.inc (lrint_test_data): Add more tests.
23 (llrint_test_data): Likewise.
24 (lround_test_data): Likewise.
25 (llround_test_data): Likewise.
27 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28 (llrint_test_data): Add tests used for lrint.
30 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
32 * sysdeps/i386/configure: Regenerated.
33 * sysdeps/i386/i686/multiarch/Makefile
34 [$(config-cflags-sse4) = yes]: Make code unconditional.
35 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
37 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
39 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
41 * sysdeps/x86_64/configure: Regenerated.
42 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
43 Make code unconditional.
44 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
46 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
47 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
49 * scripts/rpm2dynsym.sh: Remove file.
51 2015-10-06 Florian Weimer <fweimer@redhat.com>
53 * configure.ac (libc_cv_cxx_thread_local): Define.
54 * configure: Regenerate.
55 * config.make.in (have-cxx-thread_local): Define.
56 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
57 (LDLIBS-tst-thread_local1): Define.
58 (tests): Add tst-thread_local1.
59 [have-cxx-thread_local != yes] (tests-unsupported): Add
61 * nptl/tst-thread_local1.cc: New file.
63 2015-10-06 Joseph Myers <joseph@codesourcery.com>
66 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
68 (__expl): Determine whether to call __kernel_standard_l based on
69 value of result, not argument.
71 * math/libm-test.inc (scalb_test_data): Add more expectations for
72 the "inexact" exception.
75 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
76 0.0L for argument 1.0L.
79 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
80 constant 0.0L when computing infinite result.
82 2015-10-06 Florian Weimer <fweimer@redhat.com>
85 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
88 2015-10-06 Florian Weimer <fweimer@redhat.com>
91 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
92 Mangle function pointer before storing it.
93 (__call_tls_dtors): Demangle function pointer before calling it.
95 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
98 * iconv/gconv_db.c (gen_steps): Check for additional errors.
101 2015-10-05 Joseph Myers <joseph@codesourcery.com>
104 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
105 long int variable to store possibly incremented high part of
107 * math/libm-test.inc (lround_test_data): Add tests used for
108 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
109 for tests requiring 64-bit long. Do not condition tests on
110 [TEST_FLOAT] unnecessarily.
111 (llround_test_data): Add tests used for lround. Add another
112 expectation for the "inexact" exception. Do not condition tests
113 on [TEST_FLOAT] unnecessarily.
118 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
119 * sysdeps/ieee754/dbl-64/e_log10.c: Include
120 <fix-int-fp-convert-zero.h>.
121 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
122 * sysdeps/ieee754/dbl-64/e_log2.c: Include
123 <fix-int-fp-convert-zero.h>.
124 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
125 * sysdeps/ieee754/dbl-64/s_erf.c: Include
126 <fix-int-fp-convert-zero.h>.
127 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
128 * sysdeps/ieee754/dbl-64/s_logb.c: Include
129 <fix-int-fp-convert-zero.h>.
130 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
131 * sysdeps/ieee754/flt-32/e_log10f.c: Include
132 <fix-int-fp-convert-zero.h>.
133 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
134 * sysdeps/ieee754/flt-32/e_log2f.c: Include
135 <fix-int-fp-convert-zero.h>.
136 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
137 * sysdeps/ieee754/flt-32/s_erff.c: Include
138 <fix-int-fp-convert-zero.h>.
139 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
140 * sysdeps/ieee754/flt-32/s_logbf.c: Include
141 <fix-int-fp-convert-zero.h>.
142 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
144 <fix-int-fp-convert-zero.h>.
145 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
147 <fix-int-fp-convert-zero.h>.
148 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
149 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
150 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
151 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
153 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
155 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
159 2015-10-02 Joseph Myers <joseph@codesourcery.com>
162 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
163 overflowing computation.
164 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
165 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
168 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
177 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
179 * math/libm-test.inc (nexttoward_test_data): Add more tests.
181 * nss/rewrite_field.c (__nss_rewrite_field): Use
183 * nss/valid_field.c (__nss_valid_field): Likewise.
184 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
186 2015-10-02 Florian Weimer <fweimer@redhat.com>
189 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
190 (__nss_invalid_field_characters, __nss_valid_field)
191 (__nss_valid_list_field, __nss_rewrite_field): Declare.
192 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
193 tst-field.c: New file.
194 * nss/Makefile (routines): Add valid_field, rewrite_field.
195 (tests-static): Define unconditionally.
196 (tests): Include tests-static.
197 [build-static-nss] (tests-static): Use append.
198 [build-static-nss] (tests): Remove modification.
199 * nss/getent.c (print_group): Call putgrent. Report error.
200 (print_gshadow): Call putsgent. Report error.
201 (print_passwd): Call putpwent. Report error.
202 (print_shadow): Call putspent. Report error.
203 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
204 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
205 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
206 name, password, directory, shell fields for valid syntax. Rewrite
207 GECOS field to match syntax.
208 * pwd/Makefile (tests): Add tst-putpwent.
209 * pwd/tst-putpwent.c: New file.
210 * grp/putgrent.c (putgrent): Convert to ISO function definition.
211 Check grName, grpasswd, gr_mem fields for valid syntax.
212 Change loop variable i to size_t.
213 * grp/Makefile (tests): Add tst-putgrent.
214 * grp/tst-putgrent.c: New file.
215 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
217 * shadow/Makefile (tests): Add tst-putspent.
218 * shadow/tst-putspent.c: New file.
219 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
220 sg_mem fields for valid syntax.
221 * gshadow/Makefile (tests): Add tst-putsgent.
222 * gshadow/tst-putsgent.c: New file.
224 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
226 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
227 assembly instructions.
229 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
231 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
232 prefix from operands.
234 2015-10-01 Joseph Myers <joseph@codesourcery.com>
238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
240 (MAXLGM): Do not use diagnostic control macros.
241 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
242 threshold for ldbl-128ibm.
243 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
244 instead of multiplying by log then subtracting.
245 * math/auto-libm-test-in: Add more tests of lgamma.
246 * math/auto-libm-test-out: Regenerated.
248 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
249 (TYPE_HEX_DIG): Likewise.
250 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
251 precisions when printing floating-point numbers.
252 (check_float_internal): Likewise.
254 2015-09-30 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
258 of log (10) rounded downward to 48 bits.
259 (log10_low): Use corresponding low part of log (10).
262 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
263 compute result as (x - x) / (x - x) not as 0 / 0.
264 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
265 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
267 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
268 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
270 * math/auto-libm-test-out: Regenerated.
271 * math/libm-test.inc (acos_test_data): Add more tests.
272 (asin_test_data): Likewise.
273 (asinh_test_data): Likewise.
274 (atan_test_data): Likewise.
275 (atanh_test_data): Likewise.
276 (atan2_test_data): Likewise.
277 (cbrt_test_data): Likewise.
278 (ceil_test_data): Likewise.
279 (copysign_test_data): Likewise.
280 (cos_test_data): Likewise.
281 (cosh_test_data): Likewise.
282 (erf_test_data): Likewise.
283 (erfc_test_data): Likewise.
284 (exp_test_data): Likewise.
285 (exp10_test_data): Likewise.
286 (exp2_test_data): Likewise.
287 (expm1_test_data): Likewise.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
290 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
293 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
295 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
296 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
298 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
299 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
301 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
302 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
303 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
304 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
306 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
307 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
309 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
310 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
312 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
313 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
315 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
316 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
318 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
319 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
321 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
322 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
324 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
326 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
328 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
329 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
331 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
333 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
337 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
341 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
343 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
345 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
347 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
348 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
350 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
354 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
358 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
359 Replace ../i486/pthread_cond_timedwait.S with
360 ../pthread_cond_timedwait.S.
362 2015-09-30 Joseph Myers <joseph@codesourcery.com>
364 * math/libm-test.inc (acos_test_data): Refine expectations for
365 errno and "inexact" exceptions.
366 (acosh_test_data): Likewise.
367 (asin_test_data): Likewise.
368 (asinh_test_data): Likewise.
369 (atan_test_data): Likewise.
370 (atanh_test_data): Likewise.
371 (atan2_test_data): Likewise.
372 (cbrt_test_data): Likewise.
373 (ceil_test_data): Likewise.
374 (copysign_test_data): Likewise.
375 (cosh_test_data): Likewise.
376 (erf_test_data): Likewise.
377 (erfc_test_data): Likewise.
378 (exp_test_data): Likewise.
379 (exp10_test_data): Likewise.
380 (exp2_test_data): Likewise.
381 (expm1_test_data): Likewise.
382 (fabs_test_data): Likewise.
383 (floor_test_data): Likewise.
384 (fma_test_data): Likewise.
385 (fmax_test_data): Likewise.
386 (fmin_test_data): Likewise.
387 (fmod_test_data): Likewise.
388 (fpclassify_test_data): Likewise.
389 (frexp_test_data): Likewise.
390 (hypot_test_data): Likewise.
391 (ilogb_test_data): Likewise.
392 (isgreater_test_data): Likewise.
393 (isgreaterequal_test_data): Likewise.
394 (isinf_test_data): Likewise.
395 (isless_test_data): Likewise.
396 (islessequal_test_data): Likewise.
397 (islessgreater_test_data): Likewise.
398 (isnan_test_data): Likewise.
399 (isnormal_test_data): Likewise.
400 (issignaling_test_data): Likewise.
401 (isunordered_test_data): Likewise.
402 (j0_test_data): Likewise.
403 (j1_test_data): Likewise.
404 (jn_test_data): Likewise.
405 (lgamma_test_data): Likewise.
406 (lrint_test_data): Likewise.
407 (llrint_test_data): Likewise.
408 (log_test_data): Likewise.
409 (log10_test_data): Likewise.
410 (log1p_test_data): Likewise.
411 (log2_test_data): Likewise.
412 (logb_test_data): Likewise.
413 (lround_test_data): Likewise.
414 (llround_test_data): Likewise.
415 (modf_test_data): Likewise.
416 (nearbyint_test_data): Likewise.
417 (nextafter_test_data): Likewise.
418 (nexttoward_test_data): Likewise.
419 (pow_test_data): Likewise.
420 (remainder_test_data): Likewise.
421 (remquo_test_data): Likewise.
422 (rint_test_data): Likewise.
423 (round_test_data): Likewise.
424 (signbit_test_data): Likewise.
425 (sinh_test_data): Likewise.
426 (sqrt_test_data): Likewise.
427 (tanh_test_data): Likewise.
428 (tgamma_test_data): Likewise.
429 (trunc_test_data): Likewise.
430 (y0_test_data): Likewise.
431 (y1_test_data): Likewise.
432 (yn_test_data): Likewise.
433 (significand_test_data): Likewise.
435 2015-09-29 Carlos O'Donell <carlos@redhat.com>
437 * manual/filesys.texi (Storage Allocation): Document that
438 posix_fallocate emulation fails when fd is open with O_WRONLY.
440 2015-09-28 Joseph Myers <joseph@codesourcery.com>
443 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
444 allow more cases with X^2 + Y^2 >= 0.5.
445 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
446 normal element in sum instead of special-casing based on values of
448 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
449 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
450 -1 as normal element in sum instead of special-casing based on
452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
453 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
454 (__x2y2m1): Update comment.
455 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
456 as normal element in sum instead of special-casing based on values
458 * math/s_clog.c (__clog): Handle more cases using log1p without
460 * math/s_clog10.c (__clog10): Likewise.
461 * math/s_clog10f.c (__clog10f): Likewise.
462 * math/s_clog10l.c (__clog10l): Likewise.
463 * math/s_clogf.c (__clogf): Likewise.
464 * math/s_clogl.c (__clogl): Likewise.
465 * math/auto-libm-test-in: Add more tests of clog and clog10.
466 * math/auto-libm-test-out: Regenerated.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 2015-09-28 Martin Sebor <msebor@redhat.com>
473 * string/Makefile (LOCALES): Define.
474 (gen-locales.mk): Include.
475 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
476 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
477 * string/tst-strxfrm2.c (do_test): Print the name of the locale
478 on setlocale failure.
480 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
483 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
484 (__strftime_internal): Likewise.
485 * time/tst-strftime.c (do_bz18985): New test.
488 2015-09-26 Joseph Myers <joseph@codesourcery.com>
491 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
492 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
493 extracting high part.
494 * math/auto-libm-test-in: Add another test of pow.
495 * math/auto-libm-test-out: Regenerated.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
498 2015-09-25 Joseph Myers <joseph@codesourcery.com>
501 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
503 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
504 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
505 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
506 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
507 DBL_NARROW_EVAL, reloading the PIC register as needed.
508 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
509 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
510 FLT_NARROW_EVAL. Use separate return path for case when first
512 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
514 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
517 math_check_force_underflow_nonneg.
518 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
519 underflow for subnormal result.
520 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
522 math_check_force_underflow_nonneg.
523 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
524 math_check_force_underflow.
525 * sysdeps/x86_64/fpu/x86_64-math-asm.h
526 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
527 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
529 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
530 * math/auto-libm-test-in: Add more tests of pow.
531 * math/auto-libm-test-out: Regenerated.
533 2015-09-25 Florian Weimer <fweimer@redhat.com>
535 * nss/bug17079.c (init_test_items): Add diagnostic for
536 inconsistent entries.
537 (test_buffer_size): Skip inconsistent entries.
539 2015-09-25 Joseph Myers <joseph@codesourcery.com>
542 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
543 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
544 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
547 * sysdeps/microblaze/s_fma.c: New file.
548 * sysdeps/microblaze/s_fmaf.c: Likewise.
549 * sysdeps/microblaze/sfp-machine.h: Likewise.
551 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
554 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
557 2015-09-24 Joseph Myers <joseph@codesourcery.com>
560 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
562 (__ieee754_hypot) [PIC]: Load PIC register.
563 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
565 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
566 math_check_force_underflow_nonneg in case where result might be
568 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
572 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
573 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
574 * math/auto-libm-test-in: Add more tests of hypot.
575 * math/auto-libm-test-out: Regenerated.
577 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
579 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
581 2015-09-24 Joseph Myers <joseph@codesourcery.com>
583 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
584 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
585 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
586 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
587 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
588 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
589 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
591 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
594 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
595 (FLT_CHECK_FORCE_UFLOW): Likewise.
596 (DBL_CHECK_FORCE_UFLOW): Likewise.
597 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
598 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
599 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
600 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
601 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
602 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
603 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
604 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
605 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
606 (dbl_min): Replace with use of DEFINE_DBL_MIN.
607 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
608 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
609 (flt_min): Replace with use of DEFINE_FLT_MIN.
610 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
611 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
612 (dbl_min): Replace with use of DEFINE_DBL_MIN.
613 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
614 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
615 (flt_min): Replace with use of DEFINE_FLT_MIN.
616 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
617 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
618 (dbl_min): Replace with use of DEFINE_DBL_MIN.
619 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
620 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
621 (flt_min): Replace with use of DEFINE_FLT_MIN.
622 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
623 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
624 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
625 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
626 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
627 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
628 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
629 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
630 (dbl_min): Replace with use of DEFINE_DBL_MIN.
631 (__atan): Use DBL_CHECK_FORCE_UFLOW.
632 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
633 (flt_min): Replace with use of DEFINE_FLT_MIN.
634 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
635 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
636 (dbl_min): Replace with use of DEFINE_DBL_MIN.
637 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
639 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
640 (flt_min): Replace with use of DEFINE_FLT_MIN.
641 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
643 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
644 (dbl_min): Replace with use of DEFINE_DBL_MIN.
646 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
647 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
648 (flt_min): Replace with use of DEFINE_FLT_MIN.
650 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
651 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
655 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
656 $(config-cflags-nofma).
658 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
660 * sysdeps/aarch64/libm-test-ulps: Regenerated.
662 2015-09-23 Joseph Myers <joseph@codesourcery.com>
664 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
667 * sysdeps/generic/math_private.h (fabs_tg): New macro.
668 (min_of_type): Likewise.
669 (math_check_force_underflow): Likewise.
670 (math_check_force_underflow_nonneg): Likewise.
671 (math_check_force_underflow_complex): Likewise.
672 * math/e_exp2l.c (__ieee754_exp2l): Use
673 math_check_force_underflow_nonneg.
674 * math/k_casinh.c (__kernel_casinh): Likewise.
675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
677 * math/s_catan.c (__catan): Use
678 math_check_force_underflow_complex.
679 * math/s_catanf.c (__catanf): Likewise.
680 * math/s_catanh.c (__catanh): Likewise.
681 * math/s_catanhf.c (__catanhf): Likewise.
682 * math/s_catanhl.c (__catanhl): Likewise.
683 * math/s_catanl.c (__catanl): Likewise.
684 * math/s_ccosh.c (__ccosh): Likewise.
685 * math/s_ccoshf.c (__ccoshf): Likewise.
686 * math/s_ccoshl.c (__ccoshl): Likewise.
687 * math/s_cexp.c (__cexp): Likewise.
688 * math/s_cexpf.c (__cexpf): Likewise.
689 * math/s_cexpl.c (__cexpl): Likewise.
690 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
691 * math/s_clog10.c (__clog10): Likewise.
692 * math/s_clog10f.c (__clog10f): Likewise.
693 * math/s_clog10l.c (__clog10l): Likewise.
694 * math/s_clogf.c (__clogf): Likewise.
695 * math/s_clogl.c (__clogl): Likewise.
696 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
697 * math/s_csinf.c (__csinf): Likewise.
698 * math/s_csinh.c (__csinh): Likewise.
699 * math/s_csinhf.c (__csinhf): Likewise.
700 * math/s_csinhl.c (__csinhl): Likewise.
701 * math/s_csinl.c (__csinl): Likewise.
702 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
703 * math/s_csqrtf.c (__csqrtf): Likewise.
704 * math/s_csqrtl.c (__csqrtl): Likewise.
705 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
706 * math/s_ctanf.c (__ctanf): Likewise.
707 * math/s_ctanh.c (__ctanh): Likewise.
708 * math/s_ctanhf.c (__ctanhf): Likewise.
709 * math/s_ctanhl.c (__ctanhl): Likewise.
710 * math/s_ctanl.c (__ctanl): Likewise.
711 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
713 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
714 math_check_force_underflow.
715 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
716 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
717 volatile when forcing underflow.
718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
719 math_check_force_underflow_nonneg.
720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
722 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
723 math_check_force_underflow.
724 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
725 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
726 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
728 math_check_force_underflow_nonneg.
729 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
730 math_check_force_underflow.
731 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
735 math_check_force_underflow.
736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
738 math_check_force_underflow_nonneg.
739 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
740 math_check_force_underflow.
741 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
742 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
743 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
744 math_check_force_underflow_nonneg.
745 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
747 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
748 math_check_force_underflow.
749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
750 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
751 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
752 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
753 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
754 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
755 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
756 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
757 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
758 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
759 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
760 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
762 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
763 math_check_force_underflow_nonneg.
764 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
766 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
767 math_check_force_underflow.
768 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
769 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
770 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
772 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
773 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
774 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
775 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
776 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
777 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
780 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
781 math_check_force_underflow.
782 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
784 math_check_force_underflow.
785 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
787 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
788 Use math_check_force_underflow_nonneg.
789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
790 math_check_force_underflow.
791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
801 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
802 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
804 math_check_force_underflow_nonneg.
805 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
806 math_check_force_underflow.
807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
808 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
809 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
810 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
811 math_check_force_underflow_nonneg.
812 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
813 math_check_force_underflow.
814 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
817 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
818 math_check_force_underflow.
820 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
821 * stdlib/strtod_l.c: Include <math_private.h>.
822 (overflow_value): Use math_narrow_eval.
823 (underflow_value): Likewise.
824 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
825 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
826 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
827 (__ieee754_gamma_r): Likewise.
828 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
832 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
833 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
834 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
835 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
837 (__ieee754_gammaf_r): Likewise.
838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
840 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
841 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
842 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
843 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
844 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
846 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
853 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
855 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
857 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
862 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
865 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
867 * nptl/Versions: Remove ignored symbols.
869 2015-09-22 Florian Weimer <fweimer@redhat.com>
871 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
872 * nss/Makefile (tests): Update.
874 2015-09-22 Florian Weimer <fweimer@redhat.com>
876 * nss/bug18287.c: New file.
877 * nss/Makefile (tests): Add bug18287.
879 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
881 * mach/Versions (__mach_host_self_): Add symbol.
883 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
885 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
888 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
890 Really fix sysdeps/i386/fpu/s_scalbn.S build
892 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
893 (libc: GLIBC_2_22): Remove unused version set.
895 2015-09-18 Mike Frysinger <vapier@gentoo.org>
897 * config.make.in (enable-timezone-tools): New variable.
898 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
899 (enable_timezone_tools): Export to generated files.
900 * configure: Regenerate.
901 * INSTALL: Regenerate.
902 * manual/install.texi (--disable-timezone-tools): Document new flag.
903 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
904 ifeq ($(enable-timezone-tools),yes) check.
906 2015-09-18 Joseph Myers <joseph@codesourcery.com>
908 * timezone/Makefile: Revert previous change.
911 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
912 (DEFINE_DBL_MIN): Likewise.
913 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
914 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
915 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
916 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
917 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
918 (dbl_min): Replace with use of DEFINE_DBL_MIN.
919 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
920 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
921 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
922 (dbl_min): Replace with use of DEFINE_DBL_MIN.
923 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
924 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
925 (flt_min): Replace with use of DEFINE_FLT_MIN.
926 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
927 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
928 (dbl_min): Replace with use of DEFINE_DBL_MIN.
929 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
930 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
931 (flt_min): Replace with use of DEFINE_FLT_MIN.
932 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
933 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
934 (flt_min): Replace with use of DEFINE_FLT_MIN.
935 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
936 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
937 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
938 (__ieee754_hypot): Use DBL_NARROW_EVAL.
939 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
940 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
941 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
942 (__ieee754_pow): Use DBL_NARROW_EVAL.
943 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
944 (__ieee754_powf): Use FLT_NARROW_EVAL.
945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
946 (__ieee754_expf_sse2): Convert double-precision result to single
948 * sysdeps/i386/fpu/libm-test-ulps: Update.
950 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
952 * timezone/Makefile: Ignore unused variable errors due to private.h
953 (time_t_min) and (time_t_max).
954 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
957 2015-09-18 Joseph Myers <joseph@codesourcery.com>
960 * sysdeps/i386/fpu/i386-math-asm.h: New file.
961 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
962 (__ieee754_scalb): Use DBL_NARROW_EVAL.
963 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
964 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
965 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
966 (__scalbn): Use DBL_NARROW_EVAL.
967 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
968 (__scalbnf): Use FLT_NARROW_EVAL.
970 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
972 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
973 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
974 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
975 * stdio-common/printf_fp.c (___printf_fp):
976 Use signbit to get the sign. Use isinf macro to allow inlining.
977 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
978 * stdio-common/printf_size.c (__printf_size): Likewise.
980 2015-09-18 Mike Frysinger <vapier@gentoo.org>
982 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
984 2015-09-18 Joseph Myers <joseph@codesourcery.com>
987 * sysdeps/generic/math_private.h: Include <float.h>.
988 (math_narrow_eval): New macro.
989 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
990 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
991 math_narrow_eval on overflowing return value.
992 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
994 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
995 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
998 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1000 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1002 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1003 * math/Makefile: Remove isinf_ns.c.
1004 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1005 * math/multc3.c (__multc3): Likewise.
1006 * math/s_casin.c (__casin): Likewise.
1007 * math/s_casinf.c (__casinf): Likewise.
1008 * math/s_casinl.c (__casinl): Likewise.
1009 * math/s_cproj.c (__cproj): Likewise.
1010 * math/s_cprojf.c (__cprojf): Likewise.
1011 * math/s_cprojl.c (__cprofl): Likewise.
1012 * math/s_ctan.c (__ctan): Likewise.
1013 * math/s_ctanf.c (__ctanf): Likewise.
1014 * math/s_ctanh.c (__ctanh): Likewise.
1015 * math/s_ctanhf.c (__ctanhf): Likewise.
1016 * math/s_ctanhl.c (__ctanhl): Likewise.
1017 * math/s_ctanl.c (__ctanl): Likewise.
1018 * math/w_fmod.c (__fmod): Likewise.
1019 * math/w_fmodf.c (__fmodf): Likewise.
1020 * math/w_fmodl.c (_fmodl): Likewise.
1021 * math/w_remainder.c (__remainder): Likewise.
1022 * math/w_remainderf.c (__remainderf): Likewise.
1023 * math/w_remainderl.c (__remainderl): Likewise.
1024 * math/w_scalb.c (__scalb): Likewise.
1025 * math/w_scalbf.c (__scalbf): Likewise.
1026 * math/w_scalbl.c (__scalbl): Likewise.
1027 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1028 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1030 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1032 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1033 __isinf_nsf with isinf.
1034 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1035 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1036 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1037 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1039 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1040 __isinf_nsl with isinf.
1041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1044 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1045 __isinf_nsl with isinf.
1046 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1047 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1050 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1052 * resolv/base64.c (rcsid): Remove unused static.
1053 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1054 static. (tqpi1): Likewise.
1055 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1056 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1057 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1058 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1060 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1061 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1062 * timezone/private.h (time_t_min): Likewise. (time_t_max):
1065 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
1067 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1069 (_longjmp_unwind): Use __libc_ptf_call.
1070 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1072 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
1074 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1075 * sysdeps/arm/__longjmp.S: Likewise
1077 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1079 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1080 Use __builtin_signbit.
1081 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1082 Use __builtin_signbitf.
1083 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1084 Use __builtin_signbitl.
1085 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1086 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1088 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1093 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1094 * math/math.h (fpclassify): Use __builtin_fpclassify when
1095 available. (signbit): Use __builtin_signbit(f/l).
1096 (isfinite): Use__builtin_isfinite. (isnormal): Use
1097 __builtin_isnormal. (isnan): Use __builtin_isnan.
1098 (isinf): Use __builtin_isinf_sign.
1100 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1102 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1103 * benchtests/bench-math-inlines.c: New benchmark.
1104 * benchtests/bench-util.h: New file.
1105 * benchtests/bench-util.c: New file.
1106 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1108 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1110 * elf/tst-dlmopen1.c: Define TEST_SO.
1111 (do_test): Use TEST_SO.
1113 * elf/dl-load.c: Include libc-internal.h.
1114 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1116 2015-09-18 Vincent Bernat <vincent@bernat.im>
1119 * time/strptime_l.c (__strptime_internal): Make %z accept
1120 [+-]HH:MM time zones.
1122 2015-09-18 Vincent Bernat <vincent@bernat.im>
1125 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1128 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1130 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1131 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1133 (__ASSUME_FDATASYNC): Delete.
1135 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1137 * conform/linknamespace.pl: Require weak undefined symbols to be
1138 in the standard namespace.
1139 (%strong_syms): Rename to %seen_syms.
1140 (%strong_seen): Rename to %seen_where.
1142 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1145 * misc/error.c (error): Replace pthread_setcancelstate with
1146 __pthread_setcancelstate.
1147 (error_at_line): Likewise.
1148 * posix/wordexp.c (parse_comm): Likewise.
1149 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1150 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1151 (__pthread_setcancelstate): This.
1152 (pthread_setcancelstate): Add an alias.
1153 * nptl/nptl-init.c (pthread_functions): Replace
1154 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1155 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1156 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1158 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1160 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1161 (pthread_setcancelstate): Renamed to ...
1162 (__pthread_setcancelstate): This.
1163 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1164 __libc_ptf_call with __pthread_setcancelstate.
1166 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1167 Andreas Schwab <schwab@suse.de>
1170 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1171 result when imaginary part of argument is infinite using sine and
1173 * math/s_ctanf.c (__ctanf): Likewise.
1174 * math/s_ctanl.c (__ctanl): Likewise.
1175 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1176 of result when real part of argument is infinite using sine and
1178 * math/s_ctanhf.c (__ctanhf): Likewise.
1179 * math/s_ctanhl.c (__ctanhl): Likewise.
1180 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1181 (ctanh_test_data): Add more tests of ctanh.
1183 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1186 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1187 bit-mask as in subtraction.
1188 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1190 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1191 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1195 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1196 underflow exception for small results.
1197 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1199 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1203 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1205 * math/auto-libm-test-in: Add more tests of tgamma.
1206 * math/auto-libm-test-out: Regenerated.
1208 2015-09-17 Andreas Schwab <schwab@suse.de>
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1212 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1215 * math/bits/mathcalls.h
1216 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1218 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1220 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1222 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1224 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1226 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1228 * conform/data/math.h-data
1229 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1231 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1232 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1233 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1234 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1235 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1236 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1237 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1238 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1239 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1240 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1241 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1244 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1245 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1246 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1247 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1248 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1249 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1250 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1251 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1252 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1255 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1256 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1259 long_double_symbol calls.
1260 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1261 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1262 strong alias of __ldexpl.
1263 (scalbnl): Define using long_double_symbol.
1264 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1266 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1267 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1268 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1269 (scalbln_test_data): Add more errno expectations.
1271 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1273 Cache the host port like we cache the task port. This way we do not
1274 need to call the kernel just to get the port. Furthermore, we no
1275 longer increase the reference count on every invocation of
1278 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1279 Protect declarations against the macro expansion.
1280 * mach/mach_init.c (__mach_host_self_): New variable.
1281 (mach_init): Initialize `__mach_host_self_'.
1282 * mach/mach_init.h (__mach_host_self_): New declaration.
1283 (__mach_host_self, mach_host_self): New macros.
1284 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1287 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1290 * po/de.po: Update from Translation Project.
1293 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1294 (__expm1l): Remove code to handle positive infinity and overflow.
1295 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1297 (__expm1l): Remove code to handle positive infinity and overflow.
1299 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1300 Paul Pluzhnikov <ppluzhnikov@google.com>
1303 * stdio-common/Makefile (tst-printf-bz18872): New test.
1304 (tst-printf-bz18872-mem.out): Likewise.
1305 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1306 * stdio-common/vfprintf.c: Fix memory leaks.
1308 2015-09-16 Andreas Schwab <schwab@suse.de>
1311 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1312 Remove extra va_start/va_end calls.
1315 * posix/execl.c (execl): Add missing va_end.
1316 * posix/execle.c (execle): Likewise.
1317 * posix/execlp.c (execlp): Likewise.
1319 2015-09-15 Roland McGrath <roland@hack.frob.com>
1321 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1322 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1324 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1327 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1328 undefine around includes of <bits/mathcalls.h>.
1329 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1330 not declare function.
1331 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1332 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1334 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1336 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1338 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1339 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1340 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1344 return non-finite argument without doing ordered comparisons on
1348 * math/fenv.h (fegetround): Use __attribute_pure__.
1349 * include/fenv.h (__fegetround): Likewise.
1352 * math/s_ctan.c (__ctan): Force underflow exception for results
1353 whose real or imaginary part has small absolute value.
1354 * math/s_ctanf.c (__ctanf): Likewise.
1355 * math/s_ctanh.c (__ctanh): Likewise.
1356 * math/s_ctanhf.c (__ctanhf): Likewise.
1357 * math/s_ctanhl.c (__ctanhl): Likewise.
1358 * math/s_ctanl.c (__ctanl): Likewise.
1359 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1360 and ctanh. Add more tests of ctan and ctanh.
1363 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1364 handling of cases where one argument is an infinity.
1368 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1370 (__ieee754_exp10): For small results, force underflow exception
1371 and remove excess range and precision from return value.
1372 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1374 (__ieee754_exp10f): For small results, force underflow exception
1375 and remove excess range and precision from return value.
1376 * math/auto-libm-test-in: Add more tests of exp10.
1377 * math/auto-libm-test-out: Regenerated.
1379 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1383 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1385 (__ieee754_exp): For small results, force underflow exception and
1386 remove excess range and precision from return value.
1387 (__exp_finite): Likewise.
1388 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1390 (__ieee754_expf): For small results, force underflow exception and
1391 remove excess range and precision from return value.
1392 (__expf_finite): Likewise.
1393 * math/auto-libm-test-in: Add more tests of exp.
1394 * math/auto-libm-test-out: Regenerated.
1398 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1400 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1402 (__ieee754_exp2): For small results, force underflow exception and
1403 remove excess range and precision from return value.
1404 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1406 (__ieee754_exp2f): For small results, force underflow exception
1407 and remove excess range and precision from return value.
1408 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1410 (__ieee754_exp2l): Force underflow exception for small results.
1411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1412 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1413 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1415 (__ieee754_exp2l): Force underflow exception for small results.
1416 * math/auto-libm-test-in: Add more tests or exp2.
1417 * math/auto-libm-test-out: Regenerated.
1419 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1421 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1423 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1426 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1428 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1429 io fs process)): Drop spurious backslash.
1431 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1434 Use sysinfo system call instead of parsing /proc/meminfo.
1435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1438 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1441 * programs/localedef.c (main): Display argv[remaining] when
1442 output_path is NULL.
1444 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1446 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1447 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1448 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1450 * math/auto-libm-test-out: Regenerated.
1451 * sysdeps/i386/fpu/libm-test-ulps: Update.
1452 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1453 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1456 2015-09-11 Roland McGrath <roland@hack.frob.com>
1458 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1459 Use 'override' keyword to freeze the value here, preventing
1460 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1462 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1465 * sysdeps/aarch64/bits/atomic.h: Move to ...
1466 * sysdeps/aarch64/atomic-machine.h: ...here.
1467 (_AARCH64_BITS_ATOMIC_H): Rename macro to
1468 _AARCH64_ATOMIC_MACHINE_H.
1469 * sysdeps/alpha/bits/atomic.h: Move to ...
1470 * sysdeps/alpha/atomic-machine.h: ...here.
1471 * sysdeps/arm/bits/atomic.h: Move to ...
1472 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
1473 * bits/atomic.h: Move to ...
1474 * sysdeps/generic/atomic-machine.h: ...here.
1475 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1476 * sysdeps/i386/bits/atomic.h: Move to ...
1477 * sysdeps/i386/atomic-machine.h: ...here.
1478 * sysdeps/ia64/bits/atomic.h: Move to ...
1479 * sysdeps/ia64/atomic-machine.h: ...here.
1480 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1481 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1482 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1483 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1484 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1485 * sysdeps/microblaze/bits/atomic.h: Move to ...
1486 * sysdeps/microblaze/atomic-machine.h: ...here.
1487 * sysdeps/mips/bits/atomic.h: Move to ...
1488 * sysdeps/mips/atomic-machine.h: ...here.
1489 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1490 * sysdeps/powerpc/bits/atomic.h: Move to ...
1491 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
1492 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1493 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
1494 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
1495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1496 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
1497 <atomic-machine.h> instead of <bits/atomic.h>.
1498 * sysdeps/s390/bits/atomic.h: Move to ...
1499 * sysdeps/s390/atomic-machine.h: ...here.
1500 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1501 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1502 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1503 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1504 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1505 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1506 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1507 * sysdeps/tile/bits/atomic.h: Move to ...
1508 * sysdeps/tile/atomic-machine.h: ...here.
1509 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1510 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
1511 <sysdeps/tile/atomic-machine.h> instead of
1512 <sysdeps/tile/bits/atomic.h>.
1513 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1514 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1515 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
1516 <sysdeps/tile/atomic-machine.h> instead of
1517 <sysdeps/tile/bits/atomic.h>.
1518 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1519 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1520 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
1521 <sysdeps/arm/atomic-machine.h> instead of
1522 <sysdeps/arm/bits/atomic.h>.
1523 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1524 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1525 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1526 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1527 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1528 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1529 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1530 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1531 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1532 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1533 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1534 * sysdeps/x86_64/bits/atomic.h: Move to ...
1535 * sysdeps/x86_64/atomic-machine.h: ...here.
1536 * include/atomic.h: Include <atomic-machine.h> instead of
1539 * sysdeps/mips/mips32/libm-test-ulps: Update.
1540 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1544 not convert non-integer negative arguments to int to determine the
1546 * math/auto-libm-test-in: Add more tests of lgamma.
1547 * math/auto-libm-test-out: Regenerated.
1549 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1550 cosh, csqrt, erfc, expm1 and lgamma.
1551 * math/auto-libm-test-out: Regenerated.
1552 * sysdeps/i386/fpu/libm-test-ulps: Update.
1553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1555 2015-09-10 Joseph Myers <joseph@codesourcery.com>
1560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1561 __lgamma_neg for arguments from -28.0 to -2.0.
1562 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1563 __lgamma_negf for arguments from -15.0 to -2.0.
1564 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1565 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1566 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1567 Call __lgamma_negl for arguments from -33.0 to -2.0.
1568 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1569 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1570 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1579 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1580 (__lgamma_neg): Likewise.
1581 (__lgamma_negl): Likewise.
1582 (__lgamma_product): Likewise.
1583 (__lgamma_productl): Likewise.
1584 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1585 * math/auto-libm-test-in: Add more tests of lgamma.
1586 * math/auto-libm-test-out: Regenerated.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1590 2015-09-09 Justin Maggard <jmaggard@netgear.com>
1593 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1595 2015-09-08 Joseph Myers <joseph@codesourcery.com>
1598 * bits/libc-lock.h: Move to ...
1599 * sysdeps/generic/libc-lock.h: ...here.
1600 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1601 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
1602 * sysdeps/mach/hurd/libc-lock.h: ...here.
1603 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1604 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
1605 * sysdeps/mach/bits/libc-lock.h: Move to ...
1606 * sysdeps/mach/libc-lock.h: ...here.
1607 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1608 * sysdeps/nptl/bits/libc-lock.h: Move to ...
1609 * sysdeps/nptl/libc-lock.h: ...here.
1610 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
1611 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
1612 * sysdeps/nptl/libc-lockP.h: ...here.
1613 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
1614 * crypt/crypt_util.c: Include <libc-lock.h> instead of
1616 * dirent/scandir-tail.c: Likewise.
1617 * dlfcn/dlerror.c: Likewise.
1618 * elf/dl-close.c: Likewise.
1619 * elf/dl-iteratephdr.c: Likewise.
1620 * elf/dl-lookup.c: Likewise.
1621 * elf/dl-open.c: Likewise.
1622 * elf/dl-support.c: Likewise.
1623 * elf/dl-writev.h: Likewise.
1624 * elf/rtld.c: Likewise.
1625 * grp/fgetgrent.c: Likewise.
1626 * gshadow/fgetsgent.c: Likewise.
1627 * gshadow/sgetsgent.c: Likewise.
1628 * iconv/gconv_conf.c: Likewise.
1629 * iconv/gconv_db.c: Likewise.
1630 * iconv/gconv_dl.c: Likewise.
1631 * iconv/gconv_int.h: Likewise.
1632 * iconv/gconv_trans.c: Likewise.
1633 * include/link.h: Likewise.
1634 * inet/getnameinfo.c: Likewise.
1635 * inet/getnetgrent.c: Likewise.
1636 * inet/getnetgrent_r.c: Likewise.
1637 * intl/bindtextdom.c: Likewise.
1638 * intl/dcigettext.c: Likewise.
1639 * intl/finddomain.c: Likewise.
1640 * intl/gettextP.h: Likewise.
1641 * intl/loadmsgcat.c: Likewise.
1642 * intl/localealias.c: Likewise.
1643 * intl/textdomain.c: Likewise.
1644 * libidn/idn-stub.c: Likewise.
1645 * libio/libioP.h: Likewise.
1646 * locale/duplocale.c: Likewise.
1647 * locale/freelocale.c: Likewise.
1648 * locale/newlocale.c: Likewise.
1649 * locale/setlocale.c: Likewise.
1650 * login/getutent_r.c: Likewise.
1651 * login/getutid_r.c: Likewise.
1652 * login/getutline_r.c: Likewise.
1653 * login/utmp-private.h: Likewise.
1654 * login/utmpname.c: Likewise.
1655 * malloc/mtrace.c: Likewise.
1656 * misc/efgcvt.c: Likewise.
1657 * misc/error.c: Likewise.
1658 * misc/fstab.c: Likewise.
1659 * misc/getpass.c: Likewise.
1660 * misc/mntent.c: Likewise.
1661 * misc/syslog.c: Likewise.
1662 * nis/nis_call.c: Likewise.
1663 * nis/nis_callback.c: Likewise.
1664 * nis/nss-default.c: Likewise.
1665 * nis/nss_compat/compat-grp.c: Likewise.
1666 * nis/nss_compat/compat-initgroups.c: Likewise.
1667 * nis/nss_compat/compat-pwd.c: Likewise.
1668 * nis/nss_compat/compat-spwd.c: Likewise.
1669 * nis/nss_nis/nis-alias.c: Likewise.
1670 * nis/nss_nis/nis-ethers.c: Likewise.
1671 * nis/nss_nis/nis-grp.c: Likewise.
1672 * nis/nss_nis/nis-hosts.c: Likewise.
1673 * nis/nss_nis/nis-network.c: Likewise.
1674 * nis/nss_nis/nis-proto.c: Likewise.
1675 * nis/nss_nis/nis-pwd.c: Likewise.
1676 * nis/nss_nis/nis-rpc.c: Likewise.
1677 * nis/nss_nis/nis-service.c: Likewise.
1678 * nis/nss_nis/nis-spwd.c: Likewise.
1679 * nis/nss_nisplus/nisplus-alias.c: Likewise.
1680 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1681 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1682 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1683 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
1684 * nis/nss_nisplus/nisplus-network.c: Likewise.
1685 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1686 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1687 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1688 * nis/nss_nisplus/nisplus-service.c: Likewise.
1689 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1690 * nis/ypclnt.c: Likewise.
1691 * nptl/libc_pthread_init.c: Likewise.
1692 * nss/getXXbyYY.c: Likewise.
1693 * nss/getXXent.c: Likewise.
1694 * nss/getXXent_r.c: Likewise.
1695 * nss/nss_db/db-XXX.c: Likewise.
1696 * nss/nss_db/db-netgrp.c: Likewise.
1697 * nss/nss_db/nss_db.h: Likewise.
1698 * nss/nss_files/files-XXX.c: Likewise.
1699 * nss/nss_files/files-alias.c: Likewise.
1700 * nss/nsswitch.c: Likewise.
1701 * posix/regex_internal.h: Likewise.
1702 * posix/wordexp.c: Likewise.
1703 * pwd/fgetpwent.c: Likewise.
1704 * resolv/res_hconf.c: Likewise.
1705 * resolv/res_libc.c: Likewise.
1706 * shadow/fgetspent.c: Likewise.
1707 * shadow/lckpwdf.c: Likewise.
1708 * shadow/sgetspent.c: Likewise.
1709 * socket/opensock.c: Likewise.
1710 * stdio-common/reg-modifier.c: Likewise.
1711 * stdio-common/reg-printf.c: Likewise.
1712 * stdio-common/reg-type.c: Likewise.
1713 * stdio-common/vfprintf.c: Likewise.
1714 * stdio-common/vfscanf.c: Likewise.
1715 * stdlib/abort.c: Likewise.
1716 * stdlib/cxa_atexit.c: Likewise.
1717 * stdlib/fmtmsg.c: Likewise.
1718 * stdlib/random.c: Likewise.
1719 * stdlib/setenv.c: Likewise.
1720 * string/strsignal.c: Likewise.
1721 * sunrpc/auth_none.c: Likewise.
1722 * sunrpc/bindrsvprt.c: Likewise.
1723 * sunrpc/create_xid.c: Likewise.
1724 * sunrpc/key_call.c: Likewise.
1725 * sunrpc/rpc_thread.c: Likewise.
1726 * sysdeps/arm/backtrace.c: Likewise.
1727 * sysdeps/generic/ldsodefs.h: Likewise.
1728 * sysdeps/generic/stdio-lock.h: Likewise.
1729 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1730 * sysdeps/i386/backtrace.c: Likewise.
1731 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1732 * sysdeps/m68k/backtrace.c: Likewise.
1733 * sysdeps/mach/hurd/cthreads.c: Likewise.
1734 * sysdeps/mach/hurd/dirstream.h: Likewise.
1735 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1736 * sysdeps/nptl/malloc-machine.h: Likewise.
1737 * sysdeps/nptl/stdio-lock.h: Likewise.
1738 * sysdeps/posix/dirstream.h: Likewise.
1739 * sysdeps/posix/getaddrinfo.c: Likewise.
1740 * sysdeps/posix/system.c: Likewise.
1741 * sysdeps/pthread/aio_suspend.c: Likewise.
1742 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1743 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1744 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1745 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
1747 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
1749 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1750 * sysdeps/unix/sysv/linux/system.c: Likewise.
1751 * sysdeps/x86_64/backtrace.c: Likewise.
1752 * time/alt_digit.c: Likewise.
1753 * time/era.c: Likewise.
1754 * time/tzset.c: Likewise.
1755 * wcsmbs/wcsmbsload.c: Likewise.
1756 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
1757 instead of <bits/libc-lock.h> in comment.
1759 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
1761 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
1762 Only use .set mips2 if the current ISA is below mips2.
1763 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
1765 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
1766 mips32r2 if the current ISA is below mips32r2.
1767 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
1768 (TLS_IE): Updated to use the TLD_RDHWR macro.
1770 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
1771 __ASSEMBLER__ condition.
1773 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1775 Fix parallel build of before-compile targets.
1777 * sysdeps/mach/Makefile ($(patsubst
1778 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
1779 mach-before-compile target.
1780 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1781 io fs process)): Move rule to dedicated hurd-before-compile target.
1783 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1785 Fix rules generating headers in hurd/ and mach/ when initial make call
1786 has subdir= explicitly set.
1788 * sysdeps/mach/Makefile ($(patsubst
1789 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
1791 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1792 io fs process)): Force subdir to hurd when calling $(MAKE).
1793 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
1794 subdir to mach when calling $(MAKE).
1796 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
1798 Check sysheaders when looking for Mach and Hurd headers
1800 * sysdeps/mach/configure.ac: Add sysheaders check.
1801 * sysdeps/mach/configure: Regenerate.
1802 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
1803 * sysdeps/mach/hurd/configure: Regenerate.
1805 2015-09-04 Roland McGrath <roland@hack.frob.com>
1808 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
1809 Fix inverted sense of test of 'o_directory_works' value.
1810 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
1811 Bernhard Voelker <mail@bernhard-voelker.de>.
1813 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1816 * bits/linkmap.h: Move to ...
1817 * sysdeps/generic/linkmap.h: ...here.
1818 * sysdeps/aarch64/bits/linkmap.h: Move to ...
1819 * sysdeps/aarch64/linkmap.h: ...here.
1820 * sysdeps/arm/bits/linkmap.h: Move to ...
1821 * sysdeps/arm/linkmap.h: ...here.
1822 * sysdeps/hppa/bits/linkmap.h: Move to ...
1823 * sysdeps/hppa/linkmap.h: ...here.
1824 * sysdeps/ia64/bits/linkmap.h: Move to ...
1825 * sysdeps/ia64/linkmap.h: ...here.
1826 * sysdeps/mips/bits/linkmap.h: Move to ...
1827 * sysdeps/mips/linkmap.h: ...here.
1828 * sysdeps/s390/bits/linkmap.h: Move to ...
1829 * sysdeps/s390/linkmap.h: ...here.
1830 * sysdeps/sh/bits/linkmap.h: Move to ...
1831 * sysdeps/sh/linkmap.h: ...here.
1832 * sysdeps/x86/bits/linkmap.h: Move to ...
1833 * sysdeps/x86/linkmap.h: ...here.
1834 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
1836 2015-09-04 Andreas Schwab <schwab@suse.de>
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1840 (__makecontext): Terminate FDE before return label.
1841 (__novec_makecontext): Likewise.
1843 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1845 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
1846 first member of struct sv in syscall macro.
1848 2015-09-04 Joseph Myers <joseph@codesourcery.com>
1851 * bits/stdio-lock.h: Move to ...
1852 * sysdeps/generic/stdio-lock.h: ...here.
1853 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1854 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
1855 * sysdeps/nptl/stdio-lock.h: ...here.
1856 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
1857 * include/libio.h: Include <stdio-lock.h> instead of
1858 <bits/stdio-lock.h>.
1859 * sysdeps/nptl/fork.c: Likewise.
1860 * sysdeps/pthread/flockfile.c: Likewise.
1861 * sysdeps/pthread/ftrylockfile.c: Likewise.
1862 * sysdeps/pthread/funlockfile.c: Likewise.
1865 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
1866 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
1867 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
1868 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
1869 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
1870 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1871 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
1873 2015-09-03 Roland McGrath <roland@hack.frob.com>
1875 * elf/Makefile (test-xfail-tst-protected1a): New variable.
1876 (test-xfail-tst-protected1b): New variable.
1878 2015-09-03 Joseph Myers <joseph@codesourcery.com>
1881 * bits/libc-tsd.h: Move to ...
1882 * sysdeps/generic/libc-tsd.h: ...here.
1883 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
1884 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
1885 * sysdeps/mach/hurd/libc-tsd.h: ...here.
1886 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
1887 * include/ctype.h: Include <libc-tsd.h> instead of
1889 * include/rpc/rpc.h: Likewise.
1890 * locale/localeinfo.h: Likewise.
1891 * sunrpc/rpc_thread.c: Likewise.
1892 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
1893 * sysdeps/nptl/malloc-machine.h: Likewise.
1895 * Makefile (headers): Remove bits/libc-lock.h.
1896 * libio/Makefile (headers): Remove bits/stdio-lock.h.
1898 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
1899 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
1900 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
1901 <bits/stdio-lock.h>.
1902 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
1903 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
1905 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1908 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
1909 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
1912 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1914 * malloc/mtrace.pl: Filter out NULL entries.
1916 2015-09-01 Joseph Myers <joseph@codesourcery.com>
1918 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
1919 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
1922 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
1923 (TCP_CC_INFO): Likewise.
1924 (TCP_SAVE_SYN): Likewise.
1925 (TCP_SAVED_SYN): Likewise.
1927 2015-08-31 Brett Neumeier <brett@neumeier.us>
1930 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
1932 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
1935 Fix broken overflow check in posix_fallocate
1936 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
1937 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1938 Fix parenthesization typo.
1940 2015-08-28 Mike Frysinger <vapier@gentoo.org>
1943 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
1944 tst-mntent-blank-passno.
1945 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
1946 * misc/tst-mntent-blank-corrupt.c: New test.
1947 * misc/tst-mntent-blank-passno.c: New test ripped from ...
1948 * misc/tst-mntent.c (do_test): ... here.
1950 2015-08-29 Mike Frysinger <vapier@gentoo.org>
1953 * po/de.po: Fix SIGALRM typo.
1955 2015-08-28 James Perkins <james@loowit.net>
1957 * time/tst-strptime2.c (tests): Replace short list of test
1958 strings for strptime %z specifier with code which exhaustively
1959 tests every combination of sign and 0 to 5 digits. Tests for
1960 rejection of invalid strings.
1962 2015-08-28 James Perkins <james@loowit.net>
1965 * time/strptime_l.c (__strptime_internal): Fix %z minutes
1966 calculation, removing incorrect decimal time rounding, so that
1967 all minute values result in a valid seconds value.
1968 * time/strptime_l.c (__strptime_internal): Extend %z time zone
1969 offset range limits to UTC-99:59 through UTC+99:59 to parse
1970 current and historical use cases.
1971 * time/tst-strptime2.c (tests): Modify and add tests for the
1972 strptime %z input field descriptor, specifically conversion of
1973 minutes to seconds and validating an offset range of -9959 to
1976 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1977 Dmitry V. Levin <ldv@altlinux.org>
1980 * posix/Makefile (tests): Add tst-mmap-offset.
1981 * posix/tst-mmap.c: New file.
1982 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1983 offset calculation for negative values.
1985 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1987 * sysdeps/i386/init-arch.h: New file.
1988 * sysdeps/i386/i586/init-arch.h: Likewise.
1989 * sysdeps/i386/i686/init-arch.h: Likewise.
1990 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1991 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
1992 * sysdeps/x86/cpu-features.h (bit_I586): New.
1993 (bit_I686): Likewise.
1994 (bit_CX8): Likewise.
1995 (bit_CMOV): Likewise.
1996 (index_CX8): Likewise.
1997 (index_CMOV): Likewise.
1998 (index_I586): Likewise.
1999 (index_I686): Likewise.
2000 (reg_CX8): Likewise.
2001 (reg_CMOV): Likewise.
2002 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2003 available at compile-time.
2004 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2005 available at compile-time.
2006 * sysdeps/x86/init-arch.h (USE_I586): New macro.
2007 (USE_I686): Likewise.
2009 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2011 * sysdeps/i386/bcopy.S: New file.
2012 * sysdeps/i386/bzero.S: Likewise.
2013 * sysdeps/i386/memcpy.S: Likewise.
2014 * sysdeps/i386/memmove.S: Likewise.
2015 * sysdeps/i386/mempcpy.S: Likewise.
2016 * sysdeps/i386/memset.S: Likewise.
2017 * sysdeps/i386/bzero.c: Removed.
2018 * sysdeps/i386/memset.c: Likewise.
2019 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2020 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2021 * sysdeps/i386/i586/memset_chk.S: Likewise.
2022 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2023 * sysdeps/i386/memcpy_chk.S: Here.
2024 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2025 * sysdeps/i386/memmove_chk.S: Here.
2026 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2027 * sysdeps/i386/mempcpy_chk.S: Likewise.
2028 * sysdeps/i386/i686/memset_chk.S: Moved to ...
2029 * sysdeps/i386/memset_chk.S: Likewise.
2031 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
2033 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2034 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2035 file, move DIAG_POP_NEEDS_COMMENT to end of file.
2036 * soft-fp/fmadf4.c: Ditto.
2037 * soft-fp/fmatf4.c: Ditto.
2039 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2041 * sysdeps/i386/i586/Implies: Removed.
2042 * sysdeps/i386/i686/Implies: Likewise.
2044 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2046 * sysdeps/i386/i486/strlen.S: Moved to ...
2047 * sysdeps/i386/strlen.S: Here.
2049 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2051 * sysdeps/i386/i486/strcat.S: Moved to ...
2052 * sysdeps/i386/strcat.S: Here.
2054 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2056 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2057 * sysdeps/i386/pthread_spin_trylock.S: Here.
2058 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2059 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2061 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2063 * sysdeps/i386/i486/string-inlines.c: Moved to ...
2064 * sysdeps/i386/string-inlines.c: Here.
2066 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2068 * sysdeps/i386/i486/htonl.S: Moved ...
2069 * sysdeps/i386/htonl.S: here.
2071 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2073 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2074 * sysdeps/i386/bits/atomic.h: Here.
2076 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2078 * sysdeps/i386/i486/Versions: Removed.
2080 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2083 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2084 Based on patch by Aurelien Jarno.
2086 2015-08-26 Stan Shebs <stanshebs@google.com>
2088 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2089 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2091 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2093 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2094 * sysdeps/powerpc/dl-procinfo.c:
2095 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2096 feature so it shows when LD_SHOW_AUXV=1.
2098 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2100 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2101 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2102 definition. ISA 2.07B no longer requires full sync.
2104 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2107 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2108 (si_call_addr): Define.
2109 (si_syscall): Define.
2112 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2114 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2115 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2116 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2117 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2118 (__memset_zero_constant_len_parameter): New.
2119 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2120 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2121 (__memset_zero_constant_len_parameter): Don't define if
2122 __memset_chk or USE_AS_BZERO are defined.
2124 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2125 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2126 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2128 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2129 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2130 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2131 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2133 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2134 -mno-mmx for $(all-rtld-routines).
2135 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2136 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2139 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2141 * sysdeps/generic/unwind.h
2142 (_Unwind_Word): Use __mode__(__unwind_word__)
2143 instead of __mode__(__word__).
2144 (_Unwind_Sword): Likewise.
2146 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2147 (MAX_NEEDED_INPUT): New define.
2148 (MAX_NEEDED_OUTPUT): New define.
2150 * NEWS: New item for IBM z13 string optimizations.
2152 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2153 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2154 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2155 * sysdeps/s390/multiarch/Makefile
2156 (sysdep_routines): Add memrchr functions.
2157 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2158 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2160 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2161 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2162 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2163 * sysdeps/s390/multiarch/Makefile
2164 (sysdep_routines): Add wmemcmp functions.
2165 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2166 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2167 * benchtests/bench-wmemcmp.c: New File.
2168 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2170 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2171 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2172 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2173 * sysdeps/s390/multiarch/Makefile
2174 (sysdep_routines): Add wmemset functions.
2175 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2176 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2177 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2178 * string/test-memset.c: Add wmemset support.
2179 * wcsmbs/test-wmemset.c: New File.
2180 * wcsmbs/Makefile (strop-tests): Add wmemset.
2181 * benchtests/bench-memset.c: Add wmemset support.
2182 * benchtests/bench-wmemset.c: New File.
2183 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2185 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2186 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2187 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2188 * sysdeps/s390/multiarch/Makefile
2189 (sysdep_routines): Add memccpy functions.
2190 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2191 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2192 * string/memccpy.c: Use MEMCCPY if defined.
2194 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2195 * sysdeps/s390/multiarch/memchr.c: Likewise.
2196 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2197 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2198 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2199 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2200 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2201 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2202 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2203 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2204 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2205 and rawmemchr functions.
2206 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2207 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2209 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2210 * string/test-memchr.c: Add wmemchr support.
2211 * wcsmbs/test-wmemchr.c: New File.
2212 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2213 * benchtests/bench-memchr.c: Add wmemchr support.
2214 * benchtests/bench-wmemchr.c: New File.
2215 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2217 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2218 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2219 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2220 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2221 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2222 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2223 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2225 * sysdeps/s390/multiarch/ifunc-impl-list.c
2226 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2227 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2228 * string/test-strcspn.c: Add wcscspn support.
2229 * wcsmbs/test-wcscspn.c: New File.
2230 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2231 * benchtests/bench-strcspn.c: Add wcscspn support.
2232 * benchtests/bench-wcscspn.c: New File.
2233 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2235 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2236 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2237 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2238 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2239 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2240 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2241 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2243 * sysdeps/s390/multiarch/ifunc-impl-list.c
2244 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2245 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2246 * string/test-strpbrk.c: Add wcspbrk support.
2247 * wcsmbs/test-wcspbrk.c: New File.
2248 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2249 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2250 * benchtests/bench-wcspbrk.c: New File.
2251 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2253 * sysdeps/s390/multiarch/strspn-c.c: New File.
2254 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2255 * sysdeps/s390/multiarch/strspn.c: Likewise.
2256 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2257 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2258 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2259 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2260 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2262 * sysdeps/s390/multiarch/ifunc-impl-list.c
2263 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2264 * string/test-strspn.c: Add wcsspn support.
2265 * wcsmbs/test-wcsspn.c: New File.
2266 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2267 * benchtests/bench-strspn.c: Add wcsspn support.
2268 * benchtests/bench-wcsspn.c: New File.
2269 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2271 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2272 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2273 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2274 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2275 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2276 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2277 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2279 * sysdeps/s390/multiarch/ifunc-impl-list.c
2280 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2281 * benchtests/bench-wcsrchr.c: New File.
2282 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2284 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2285 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2286 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2287 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2288 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2289 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2291 wcschrnul functions.
2292 * sysdeps/s390/multiarch/ifunc-impl-list.c
2293 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2294 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2295 * string/test-strchr.c: Add wcschrnul support.
2296 * wcsmbs/test-wcschrnul.c: New File.
2297 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2298 * benchtests/bench-strchr.c: Add wcschrnul support.
2299 * benchtests/bench-wcschrnul.c: New File.
2300 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2302 * sysdeps/s390/multiarch/strchr-c.c: New File.
2303 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2304 * sysdeps/s390/multiarch/strchr.c: Likewise.
2305 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2306 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2307 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2308 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2310 * sysdeps/s390/multiarch/ifunc-impl-list.c
2311 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2312 * string/strchr.c (STRCHR): Define and use macro.
2313 * benchtests/bench-wcschr.c: New File.
2314 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2316 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2317 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2318 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2319 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2320 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2321 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2322 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2324 * sysdeps/s390/multiarch/ifunc-impl-list.c
2325 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2326 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2327 * benchtests/bench-strncmp.c: Add wcsncmp support.
2328 * benchtests/bench-wcsncmp.c: New File.
2329 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2331 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2332 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2333 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2334 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2335 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2336 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2337 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2338 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2340 * sysdeps/s390/multiarch/ifunc-impl-list.c
2341 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2342 * string/strcmp.c (STRCMP): Define and use macro.
2343 * benchtests/bench-wcscmp.c: New File.
2344 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2345 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2346 instead of _HAVE_STRING_ARCH_memchr.
2348 * sysdeps/s390/multiarch/strncat-c.c: New File.
2349 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2350 * sysdeps/s390/multiarch/strncat.c: Likewise.
2351 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2352 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2353 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2354 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2356 * sysdeps/s390/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2358 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2359 * string/test-strncat.c: Add wcsncat support.
2360 * wcsmbs/test-wcsncat.c: New File.
2361 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2362 * benchtests/bench-strncat.c: Add wcsncat support.
2363 * benchtests/bench-wcsncat.c: New File.
2364 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2366 * sysdeps/s390/multiarch/strcat-c.c: New File.
2367 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2368 * sysdeps/s390/multiarch/strcat.c: Likewise.
2369 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2370 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2371 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2372 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2374 * sysdeps/s390/multiarch/ifunc-impl-list.c
2375 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2376 * string/strcat.c (STRCAT): Define and use macro.
2377 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2378 * string/test-strcat.c: Add wcscat support.
2379 * wcsmbs/test-wcscat.c: New File.
2380 * wcsmbs/Makefile (strop-tests): Add wcscat.
2381 * benchtests/bench-strcat.c: Add wcscat support.
2382 * benchtests/bench-wcscat.c: New File.
2383 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2385 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2386 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2387 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2388 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2389 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2390 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2391 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2393 * sysdeps/s390/multiarch/ifunc-impl-list.c
2394 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2395 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2396 * string/test-stpncpy.c: Add wcpncpy support.
2397 * wcsmbs/test-wcpncpy.c: New File.
2398 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2399 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2400 * benchtests/bench-wcpncpy.c: New File.
2401 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2403 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2404 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2405 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2406 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2407 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2408 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2409 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2410 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2412 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2413 * sysdeps/s390/multiarch/ifunc-impl-list.c
2414 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2415 * string/test-strncpy.c: Add wcsncpy support.
2416 * wcsmbs/test-wcsncpy.c: New File.
2417 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2418 * benchtests/bench-strncpy.c: Add wcsncpy support.
2419 * benchtests/bench-wcsncpy.c: New File.
2420 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2422 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2423 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2424 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2425 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2426 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2427 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2428 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2430 * string/stpcpy.c: Use STPCPY if defined.
2431 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2432 * sysdeps/s390/multiarch/ifunc-impl-list.c
2433 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2434 * string/test-stpcpy.c: Add wcpcpy support.
2435 * wcsmbs/test-wcpcpy.c: New File.
2436 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2437 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2438 * benchtests/bench-wcpcpy.c: New File.
2439 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2441 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2442 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2443 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2444 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2445 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2446 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2447 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2448 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2450 * sysdeps/s390/multiarch/ifunc-impl-list.c
2451 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2452 * benchtests/bench-wcscpy.c: New File.
2453 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2455 * sysdeps/s390/multiarch/strnlen-c.c: New File.
2456 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2457 * sysdeps/s390/multiarch/strnlen.c: Likewise.
2458 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2459 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2460 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2461 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2463 * sysdeps/s390/multiarch/ifunc-impl-list.c
2464 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2465 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2466 * string/test-strnlen.c: Add wcsnlen support.
2467 * wcsmbs/test-wcsnlen.c: New File.
2468 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2469 * benchtests/bench-strnlen.c: Add wcsnlen support.
2470 * benchtests/bench-wcsnlen.c: New File.
2471 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2473 * sysdeps/s390/multiarch/Makefile: New File.
2474 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2475 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2476 * sysdeps/s390/multiarch/strlen.c: Likewise.
2477 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2478 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2479 * sysdeps/s390/multiarch/wcslen.c: Likewise.
2480 * string/strlen.c (STRLEN): Define and use macro.
2481 * sysdeps/s390/multiarch/ifunc-impl-list.c
2482 (IFUNC_VX_IMPL): New macro function.
2483 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2484 * benchtests/Makefile (wcsmbs-bench): New variable.
2485 (string-bench-all): Added wcsmbs-bench.
2486 * benchtests/bench-wcslen.c: New File.
2488 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2489 s390_vx_libc_ifunc2): New macro function.
2491 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2492 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2494 * sysdeps/s390/configure: Regenerated.
2496 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2497 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2499 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2500 * sysdeps/s390/dl-procinfo.h: Add vector capability.
2501 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2503 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2504 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2505 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2506 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2507 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2508 (memcmp, bcmp): Use __memcmp_default as alias source.
2509 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2510 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2511 Rename to __memcmp_default.
2512 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2513 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2514 (memcpy): Use __memcpy_default as alias source.
2515 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2516 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2517 Rename to __memcpy_default.
2518 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2519 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2520 (memset): Use __memset_default as alias source.
2521 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2522 * sysdeps/s390/s390-32/memset.S (__memset_g5):
2523 Rename to __memset_default.
2524 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2525 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2527 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2528 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2529 (memcmp, bcmp): Use __memcmp_default as alias source.
2530 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2531 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2532 Rename to __memcmp_default.
2533 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2534 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2535 (memcpy): Use __memcpy_default as alias source.
2536 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2537 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2538 Rename to __memcpy_default.
2539 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2540 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2541 (memset): Use __memset_default as alias source.
2542 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2543 * sysdeps/s390/s390-64/memset.S (__memset_z900):
2544 Rename to __memset_default.
2545 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2546 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2549 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2550 __ieee_instruction_pointer to __unused.
2551 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2552 __ieee_instruction_pointer.
2553 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2554 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2555 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2556 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2557 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2558 Mark dxc-field as reserved.
2560 2015-08-25 Roland McGrath <roland@hack.frob.com>
2562 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2563 if the weak reference is not null.
2565 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2567 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2570 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2572 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2574 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2575 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2576 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2577 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2578 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2579 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2580 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2581 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2582 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2583 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2584 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2585 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2586 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2587 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2588 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2589 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2590 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2591 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2593 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2595 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2596 register other than r0 for tabort, it has special meaning.
2597 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2598 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2599 transaction before starting syscall.
2601 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2603 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
2605 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2607 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
2609 * sysdeps/x86_64/rtld-memcmp.c: Removed.
2610 * sysdeps/x86_64/rtld-memset.S: Likewise.
2611 * sysdeps/x86_64/rtld-strchr.S: Likewise.
2612 * sysdeps/x86_64/rtld-strlen.S: Likewise.
2613 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
2614 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2616 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
2618 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
2620 * debug/strcpy_chk.c: Improve performance.
2621 * debug/stpcpy_chk.c: Likewise.
2622 * sysdeps/x86_64/strcpy_chk.S: Remove.
2623 * sysdeps/x86_64/stpcpy_chk.S: Remove.
2626 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
2628 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
2631 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
2633 (modules-names): Add ifuncmod8.
2634 ($(objpfx)ifuncmain8): New rule.
2635 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
2637 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
2638 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
2639 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
2640 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
2641 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
2642 * sysdeps/x86_64/dl-trampoline.h: Likewise.
2643 * sysdeps/x86_64/ifuncmain8.c: New file.
2644 * sysdeps/x86_64/ifuncmod8.c: Likewise.
2645 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
2647 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
2648 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
2649 Change rtld_savespace_sse to __glibc_unused2.
2650 (RTLD_CHECK_FOREIGN_CALL): Removed.
2651 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
2652 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
2653 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
2655 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2657 * sysdeps/aarch64/bzero.S (__bzero): Remove.
2659 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
2661 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
2662 Unconditionally set __fpcr to avoid uninialized warning.
2663 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
2665 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2667 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
2670 * malloc/arena.c (arena_get2): Drop unused argument.
2671 (arena_lock): Adjust.
2672 (arena_get_retry): Likewise.
2674 2015-08-24 Andreas Schwab <schwab@suse.de>
2676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
2678 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2679 (__ASSUME_IPC64): Don't undef.
2680 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
2681 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2682 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
2684 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
2685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
2686 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
2687 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
2688 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
2689 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
2690 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
2691 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
2692 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
2693 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
2694 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
2697 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
2699 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
2700 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
2702 2015-08-21 Mike Frysinger <vapier@gentoo.org>
2704 * manual/Makefile (install): Only build manual when perl is available.
2706 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2708 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
2709 '#undef memcpy' by '#undef memchr'.
2711 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2713 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
2714 memchr not point to the internal __GI_memchr implementation.
2716 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2718 * timezone/Makefile (CFLAGS-zdump.c): Remove
2719 -Wno-strict-prototypes.
2720 (CFLAGS-zic.c): Likewise.
2721 (CFLAGS-ialloc.c): Likewise.
2722 (CFLAGS-scheck.c): Likewise.
2724 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
2727 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2729 * i386/i686/multiarch/strcasestr-c.c: Removed.
2730 * x86_64/multiarch/strcasestr.c: Likewise.
2731 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2734 2015-08-20 Joseph Myers <joseph@codesourcery.com>
2736 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
2738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
2739 variables for high and low parts before possibly modifying them.
2741 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2743 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
2744 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
2745 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
2746 of "multiarch/init-arch.h".
2747 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
2748 * sysdeps/x86/init-arch.h: This.
2750 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
2752 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
2753 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
2755 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
2758 * manual/macros.texi: Add twoexp macro.
2759 * manual/filesys.texi: Fix exponents.
2760 * manual/llio.texi: Likewise.
2761 * manual/stdio.texi: Likewise.
2763 2015-08-20 Florian Weimer <fweimer@redhat.com>
2765 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
2768 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2771 * math/s_csqrt.c (__csqrt): Force underflow exception for results
2772 whose real or imaginary part has small absolute value.
2773 * math/s_csqrtf.c (__csqrtf): Likewise.
2774 * math/s_csqrtl.c (__csqrtl): Likewise.
2775 * math/auto-libm-test-in: Add more tests of csqrt.
2776 * math/auto-libm-test-out: Regenerated.
2777 * sysdeps/i386/fpu/libm-test-ulps: Update.
2779 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2781 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
2782 __ppc_set_ppr_very_low): New functions.
2783 * manual/platform.texi: Add documentation about
2784 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
2786 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
2788 * string/stpncpy.c (stpncpy): Improve performance using
2789 __strnlen/memcpy/memset.
2791 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
2794 * scripts/test-installation.pl: Don't add -lmvec to build options if
2795 libmvec wasn't built.
2797 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2800 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
2801 case when there is a gap between DT_REL and DT_JMPREL sections.
2802 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
2803 (LDFLAGS-tst-split-dynreloc): New.
2804 (tst-split-dynreloc-ENV): Likewise.
2805 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
2806 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
2808 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2811 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
2813 (__xstat64_conv): Likewise.
2814 (__xstat32_conv): Likewise.
2816 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2819 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
2820 Don't load %ebx when calling __setcontext. Call __setcontext
2821 with HIDDEN_JUMPTARGET.
2822 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
2825 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2827 * sysdeps/i386/i686/Makefile
2828 [$(subdir) == string] (sysdep_routines): Moved to ...
2829 * sysdeps/i386/Makefile: Here.
2830 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
2831 * sysdeps/i386/cacheinfo.c: Here.
2832 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
2833 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
2834 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
2835 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
2837 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
2839 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
2840 __i586__ is defined.
2841 (HAS_I686): Defined to 1 if __i686__ is defined.
2843 2015-08-19 Joseph Myers <joseph@codesourcery.com>
2845 * elf/Makefile [$(have-z-execstack) = yes]
2846 (CPPFLAGS-tst-execstack.c): New variable.
2848 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
2849 conditional to [defined UTMPX || _HAVE_UT_TYPE].
2850 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
2851 UTMPX || _HAVE_UT_TV].
2852 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
2853 UTMPX || _HAVE_UT_TV - 0].
2855 2015-08-18 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
2858 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
2859 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
2861 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2863 * sysdeps/powerpc/dl-procinfo.c:
2864 (_dl_powerpc_cap_flags): Added missing strings for some
2866 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
2868 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
2870 Port the 0x7efe...feff pattern to GCC 6.
2871 See Steve Ellcey's bug report in:
2872 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
2873 * string/memrchr.c (MEMRCHR):
2874 * string/rawmemchr.c (RAWMEMCHR):
2875 * string/strchr.c (strchr):
2876 * string/strchrnul.c (STRCHRNUL):
2877 Rewrite code to avoid issues with signed shift overflow.
2879 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
2881 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
2882 whether cpuid is available only if HAS_CPUID is 0.
2883 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
2884 (HAS_I586): Likewise.
2885 (HAS_I686): Likewise.
2887 2015-08-18 Zack Weinberg <zackw@panix.com>
2889 * misc/Versions (libc): Add GLIBC_2.23.
2891 2015-08-18 Alan Modra <amodra@gmail.com>
2894 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
2896 (_start): Load %dp via .Lp__global.
2897 [!SHARED]: Use .section .rodata.
2899 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2901 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
2902 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
2904 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2906 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
2907 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
2909 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2911 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
2912 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
2914 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2916 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
2917 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
2919 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2921 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
2922 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
2924 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2926 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
2927 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
2929 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2931 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
2933 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2935 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
2936 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
2937 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2938 (__ASSUME_LWS_CAS): Delete.
2940 2015-08-18 Mike Frysinger <vapier@gentoo.org>
2942 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
2943 * sysdeps/hppa/configure: Regenerated.
2944 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
2945 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
2946 * sysdeps/hppa/nptl/tls.h: Likewise.
2948 2015-08-17 Joseph Myers <joseph@codesourcery.com>
2951 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
2952 for scaling up small arguments.
2953 * math/s_csqrtf.c (__csqrtf): Likewise.
2954 * math/s_csqrtl.c (__csqrtl): Likewise.
2955 * math/auto-libm-test-in: Add more tests of csqrt.
2956 * math/auto-libm-test-out: Regenerated.
2958 2015-08-17 Andreas Schwab <schwab@suse.de>
2960 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2961 version set GLIBC_2.19.
2963 2015-08-16 Zack Weinberg <zackw@panix.com>
2966 * misc/regexp.h: This interface is no longer supported.
2967 Remove all contents, leaving only an #error directive.
2968 * misc/regexp.c (loc1, loc2, locs, step, advance):
2969 Demote to compatibility symbols.
2971 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
2974 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2975 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2976 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2977 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2978 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2979 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2980 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2981 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2982 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2984 2015-08-15 Zack Weinberg <zackw@panix.com>
2987 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2988 buffer length is known to be too large, not if it's known to be
2990 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2991 overflow at runtime, involving a length parameter, twice: once
2992 with a compile-time constant length parameter, once without.
2994 2015-08-14 Joseph Myers <joseph@codesourcery.com>
2997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2998 scaling x * y up instead of down.
2999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3001 * math/auto-libm-test-in: Add more tests of fma.
3002 * math/auto-libm-test-out: Regenerated.
3004 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3006 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3008 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3010 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3015 2015-08-13 Joseph Myers <joseph@codesourcery.com>
3017 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3018 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3019 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3021 * math/auto-libm-test-out: Regenerated.
3022 * sysdeps/i386/fpu/libm-test-ulps: Update.
3023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3026 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3027 (__tanh): Force underflow exception for arguments with small
3029 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3030 (__tanhf): Force underflow exception for arguments with small
3032 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3033 (__tanhl): Force underflow exception for arguments with small
3035 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3036 (__tanhl): Force underflow exception for arguments with small
3038 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3039 (__tanhl): Force underflow exception for arguments with small
3041 * math/auto-libm-test-in: Add more tests of tanh.
3042 * math/auto-libm-test-out: Regenerated.
3043 * sysdeps/i386/fpu/libm-test-ulps: Update.
3045 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3047 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3048 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3050 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3052 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3055 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3057 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3058 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3060 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3062 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3063 Remove $(objpfx)init-arch.o.
3064 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3066 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3067 (INIT_ARCH_EXT): Defined as empty.
3068 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3069 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3070 __init_cpu_features call. Replace HAS_XXX with
3071 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3074 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3075 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3076 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3077 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3078 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3079 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3080 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3082 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3083 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3090 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3091 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3092 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3093 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3094 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3095 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3096 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3098 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3099 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3100 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3101 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3104 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3105 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3106 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3108 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3110 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3111 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3112 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3113 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3114 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3115 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3116 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3117 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3119 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3120 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3121 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3122 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3154 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3157 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3159 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3160 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3161 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3163 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3164 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3165 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3166 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3167 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3168 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3169 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3170 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3171 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3174 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3175 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3177 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3178 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3179 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3181 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3182 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3183 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3184 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3185 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3186 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3187 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3188 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3189 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3190 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3191 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3192 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3193 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3194 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3195 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3196 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3197 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3198 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3200 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3202 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3203 (dl_platform_init): Call init_cpu_features.
3204 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3205 * sysdeps/i386/i686/cacheinfo.c
3206 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3207 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3208 * sysdeps/i386/i686/multiarch/Versions: Removed.
3209 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3211 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3212 * sysdeps/unix/sysv/linux/x86/Makefile
3213 (libpthread-sysdep_routines): Remove init-arch.
3214 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3215 <sysdeps/x86_64/dl-procinfo.c> instead of
3216 sysdeps/generic/dl-procinfo.c>.
3217 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3218 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3219 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3220 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3221 [$(subdir) == elf] (tests-static): Add
3222 tst-get-cpu-features-static.
3223 * sysdeps/x86/Versions: New file.
3224 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3225 * sysdeps/x86/cpu-features.c: Likewise.
3226 * sysdeps/x86/cpu-features.h: Likewise.
3227 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3228 * sysdeps/x86/libc-start.c: Likewise.
3229 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3230 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3231 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3232 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3233 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3234 Assume USE_MULTIARCH is defined and don't check it.
3235 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3237 (max_cpuid): Likewise.
3238 (intel_check_word): Likewise.
3239 (__cache_sysconf): Don't call __init_cpu_features.
3240 (__x86_preferred_memory_instruction): Removed.
3241 (init_cacheinfo): Don't call __init_cpu_features. Replace
3242 __cpu_features with GLRO(dl_x86_cpu_features).
3243 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3244 (dl_platform_init): Call init_cpu_features.
3245 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3246 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3247 * sysdeps/x86_64/multiarch/Versions: Removed.
3248 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3249 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3250 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3252 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3254 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3257 * libio/Makefile (test-fmemopen-mem): New test.
3258 * libio/test-fmemopen.c (do_bz18820): New test.
3259 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3260 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3262 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3265 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3267 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3268 * libio/genops.c (_IO_setb): Use malloc and free directly.
3269 (_IO_default_doallocate, _IO_default_finish): Likewise.
3270 ( _IO_unbuffer_all): Likewise.
3271 ( libc_freeres_fn): Likewise.
3272 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3273 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3274 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3275 (_IO_wdefault_doallocate): Likewise.
3277 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3280 * sysdeps/posix/nice.c (nice): Restore old errno.
3281 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3283 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3285 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3287 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3289 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3290 __bcopy and add a weak_alias to bcopy.
3291 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3294 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3295 cleanup macro usage.
3296 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3304 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3305 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3306 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3307 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3308 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3309 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3314 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3318 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3320 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3321 (sysdep_routines): Add strstr-ppc64.
3322 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3324 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3327 * elf/Makefile (tests): Add Add tst-nodelete2.
3328 (modules-names): Add tst-nodelete2mod.
3329 (tst-nodelete2mod.so-no-z-defs): New.
3330 ($(objpfx)tst-nodelete2): Likewise.
3331 ($(objpfx)tst-nodelete2.out): Likewise.
3332 (LDFLAGS-tst-nodelete2): Likewise.
3333 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3334 out of loop through all loaded libraries.
3335 * elf/tst-nodelete2.c: New file.
3336 * elf/tst-nodelete2mod.c: Likewise.
3337 * elf/tst-znodelete-zlib.cc: Delete.
3339 2015-08-11 Andreas Schwab <schwab@suse.de>
3341 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3342 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3343 (__openat64_nocancel): Likewise.
3345 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3347 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3348 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3349 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3350 * math/auto-libm-test-out: Regenerated.
3351 * sysdeps/i386/fpu/libm-test-ulps: Update.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3358 threshold for returning +/- 1.
3359 * math/auto-libm-test-in: Add more tests of tanh.
3360 * math/auto-libm-test-out: Regenerated.
3361 * sysdeps/i386/fpu/libm-test-ulps: Update.
3363 2015-08-10 Andreas Schwab <schwab@suse.de>
3366 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3367 MORE_OFLAGS to oflag.
3368 * io/test-lfs.c (do_test): Test openat64.
3370 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3374 smaller threshold for returning the argument.
3375 * math/auto-libm-test-in: Add more tests of sinh.
3376 * math/auto-libm-test-out: Regenerated.
3377 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3382 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3385 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3387 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3388 (generated): Don't add $(addprefix z.,$(tzfiles)).
3390 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3392 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3393 * scripts/sysd-rules.awk: Likewise.
3395 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3397 * iconvdata/tst-tables.sh: Change echo -n to printf.
3398 * nss/db-Makefile: Likewise.
3399 * posix/tst-getconf.sh: Likewise.
3400 * stdio-common/tst-unbputc.sh: Likewise.
3402 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3404 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3405 MADV_*_PAGES defines behind this feature check.
3407 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3410 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3411 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3413 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3414 LOAD_REGS_5, LOAD_REGS_6): Update.
3415 (INTERNAL_SYSCALL): Update using new LOAD defines.
3416 (INTERNAL_SYSCALL_NCS): Likewise.
3417 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3419 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3422 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3424 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3427 * catgets/Makefile (tst-catgets-mem): New test.
3428 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3429 * catgets/open_catalog.c (__open_catalog): Likewise.
3430 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3432 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3435 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3437 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3438 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3439 Cast return to __typeof (oldval).
3441 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3443 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3444 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3445 and delete sys/syscall.h include.
3447 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3450 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3451 (tan): Force underflow exception for arguments with small absolute
3453 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3454 (__kernel_tanf): Force underflow exception for arguments with
3455 small absolute value.
3456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3457 (__kernel_tanl): Force underflow exception for arguments with
3458 small absolute value.
3459 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3460 (__kernel_tanl): Force underflow exception for arguments with
3461 small absolute value.
3462 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3463 (__kernel_tanl): Force underflow exception for arguments with
3464 small absolute value.
3465 * math/auto-libm-test-in: Add more tests of tan.
3466 * math/auto-libm-test-out: Regenerated.
3468 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3470 Fix sysdeps/i386/fpu/s_scalbn.S build
3472 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3474 2015-08-07 Mike Frysinger <vapier@gentoo.org>
3476 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3478 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3480 Fix gcrt0.o compilation
3482 When static-start-installed-name is different from
3483 start-installed-name, we must not use the shared objects.
3486 (extra-objs): Add gmon-start.o when building shared library and
3487 $(static-start-installed-name) is different from
3488 $(start-installed-name).
3489 $(objpfx)g$(static-start-installed-name): When building shared
3490 library and $(static-start-installed-name) is different from
3491 $(static-start-installed-name), revert to non-shared rule,
3492 i.e. using $(objpfx)% and gmon-start.o.
3494 2015-08-06 Joseph Myers <joseph@codesourcery.com>
3497 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3498 (__ieee754_sinh): Force underflow exception for arguments with
3499 small absolute value.
3500 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3501 (__ieee754_sinhf): Force underflow exception for arguments with
3502 small absolute value.
3503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3504 (__ieee754_sinhl): Force underflow exception for arguments with
3505 small absolute value.
3506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3507 (__ieee754_sinhl): Force underflow exception for arguments with
3508 small absolute value.
3509 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3510 (__ieee754_sinhl): Force underflow exception for arguments with
3511 small absolute value.
3512 * math/auto-libm-test-in: Add more tests of sinh.
3513 * math/auto-libm-test-out: Regenerated.
3514 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3518 * libio/oldfileops.c: Include unistd.h.
3520 2015-08-06 Mike Frysinger <vapier@gentoo.org>
3522 * stdlib/isomac.c: Include ctype.h.
3524 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
3526 * dirent/tst-seekdir.c (main): Converted to ...
3527 (do_test): ... this.
3528 (TEST_FUNCTION): New macro.
3529 Include test-skeleton.c.
3530 * elf/tst-dlmodcount.c (main): Converted to ...
3531 (do_test): ... this.
3532 (TEST_FUNCTION): New macro.
3533 Include test-skeleton.c.
3534 * elf/tst-order-main.c (main): Converted to ...
3535 (do_test): ... this.
3536 (TEST_FUNCTION): New macro.
3537 Include test-skeleton.c.
3538 * elf/tst-pie2.c (main): Converted to ...
3539 (do_test): ... this.
3540 (TEST_FUNCTION): New macro.
3541 Include test-skeleton.c.
3542 * inet/tst-ether_aton.c (main): Converted to ...
3543 (do_test): ... this.
3544 (TEST_FUNCTION): New macro.
3545 Include test-skeleton.c.
3546 * misc/tst-mntent.c (main): Converted to ...
3547 (do_test): ... this.
3548 (TEST_FUNCTION): New macro.
3549 Include test-skeleton.c.
3550 * misc/tst-tsearch.c (main): Converted to ...
3551 (do_test): ... this.
3552 (TEST_FUNCTION): New macro.
3553 Include test-skeleton.c.
3554 * posix/tst-regexloc.c (main): Converted to ...
3555 (do_test): ... this.
3556 (TEST_FUNCTION): New macro.
3557 Include test-skeleton.c.
3558 * resolv/tst-aton.c (main): Converted to ...
3559 (do_test): ... this.
3560 (TEST_FUNCTION): New macro.
3561 Include test-skeleton.c.
3562 * stdio-common/test-fwrite.c (main): Converted to ...
3563 (do_test): ... this.
3564 (TEST_FUNCTION): New macro.
3565 Include test-skeleton.c.
3566 * stdio-common/tst-ferror.c (main): Converted to ...
3567 (do_test): ... this.
3568 (TEST_FUNCTION): New macro.
3569 Include test-skeleton.c.
3570 * stdio-common/tst-printf.c (main): Converted to ...
3571 (do_test): ... this.
3572 (TEST_FUNCTION): New macro.
3573 Include test-skeleton.c.
3574 * stdio-common/tst-printfsz.c (main): Converted to ...
3575 (do_test): ... this.
3576 (TEST_FUNCTION): New macro.
3577 Include test-skeleton.c.
3578 * stdlib/tst-strtod.c (main): Converted to ...
3579 (do_test): ... this.
3580 (TEST_FUNCTION): New macro.
3581 Include test-skeleton.c.
3582 * string/tst-strlen.c (main): Converted to ...
3583 (do_test): ... this.
3584 (TEST_FUNCTION): New macro.
3585 Include test-skeleton.c.
3586 * string/tst-svc.c (main): Converted to ...
3587 (do_test): ... this.
3588 (TEST_FUNCTION): New macro.
3589 Include test-skeleton.c.
3590 * time/tst-strptime.c (main): Converted to ...
3591 (do_test): ... this.
3592 (TEST_FUNCTION): New macro.
3593 Include test-skeleton.c.
3594 * timezone/tst-timezone.c (main): Converted to ...
3595 (do_test): ... this.
3596 (TEST_FUNCTION): New macro.
3597 Include test-skeleton.c.
3599 2015-08-05 Zack Weinberg <zackw@panix.com>
3601 * misc/regexp.h: Update comments.
3603 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
3606 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
3607 before return label.
3609 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3612 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
3613 when calling __errno_location.
3614 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
3615 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
3617 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3620 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
3621 (__lll_timedwait_tid): Align stack to 16 bytes when calling
3624 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3627 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3628 (__start_context): Don't use pop to restore %rdi so that stack
3629 is aligned to 16 bytes when calling __setcontext.
3631 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3633 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
3635 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3637 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3639 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
3640 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
3641 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
3643 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3645 * string/memccpy.c (memccpy):
3646 Improve performance by using memchr/memcpy/__mempcpy.
3648 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3650 * string/strncpy.c (strncpy):
3651 Improve performance by using __strnlen/memcpy.
3653 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3655 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3656 Optimize to avoid an unnecessary FPCR read.
3658 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
3660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3661 Optimize to reduce FPCR/FPSR accesses.
3663 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
3665 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
3666 dead->data[category] != NULL.
3668 2015-08-05 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
3672 and |x| close to 1, use absolute value of x when computing log.
3673 * math/auto-libm-test-in: Add more tests of pow.
3674 * math/auto-libm-test-out: Regenerated.
3676 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3678 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
3679 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
3680 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
3682 2015-08-05 Marko Myllynen <myllynen@redhat.com>
3685 * locales/km_KH: Remove timezone definition.
3686 * locales/lo_LA: Likewise.
3687 * locales/my_MM: Likewise.
3688 * locales/nan_TW@latin: Likewise.
3689 * locales/th_TH: Likewise.
3690 * locales/uk_UA: Likewise.
3692 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3695 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
3696 (wcsncat): Likewise.
3698 (wcsncmp): Likewise.
3700 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3702 * test-skeleton.c (usage): New function.
3703 (main): Call usage when opt is '?'.
3705 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3707 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
3710 2015-08-05 Mike Frysinger <vapier@gentoo.org>
3712 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
3713 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
3716 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
3718 * version.h (RELEASE): Set to "development".
3719 (VERSION): Set to "2.22.90"
3721 * version.h (RELEASE): Set to "stable".
3722 (VERSION): Set to "2.22"
3723 * include/features.h (__GLIBC_MINOR__): Set to 22.
3725 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
3727 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
3728 Restructure macro to avoid "value computed is not used" warning.
3729 (atomic_compare_and_exchange_val_acq): Likewise.
3731 2015-08-04 Andreas Schwab <schwab@suse.de>
3734 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
3736 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
3738 2015-08-01 Carlos O'Donell <carlos@redhat.com>
3740 * po/pl.po: Updated translation.
3741 * po/uk.po: Likewise.
3742 * po/fi.po: Likewise.
3743 * po/ko.po: Likewise.
3744 * po/ru.po: Likewise.
3745 * po/vi.po: Likewise.
3747 2015-07-31 Zack Weinberg <zackw@panix.com>
3750 * regexp.h: Add unconditional #warning stating that this header
3751 will be removed soon. Revise banner comment to match.
3752 (compile): Consistently use ERROR instead of RETURN to report
3753 errors (partial fix for bz#18681).
3754 * regexp.c: Don't include regexp.h. Remove some unnecessary
3757 2015-07-31 Carlos O'Donell <carlos@redhat.com>
3759 * po/libc.pot: Regenerated.
3761 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
3764 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
3765 float-vlen4-arch-ext-cflags): Removed.
3766 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
3767 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
3769 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3772 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
3773 aligned to __aligned__.
3774 (pthread_cond_t, pthread_rwlock_t): Likewise.
3776 2015-07-30 Torvald Riegel <triegel@redhat.com>
3778 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
3780 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3782 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
3783 (struct sigaction): Change sa_flags from a long to an int, and add
3784 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
3786 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3788 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
3789 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
3790 sysdeps/generic/sysdep.h include.
3791 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
3792 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
3793 sysdeps/hppa/sysdep.h.
3794 (ENTRY, PSEUDO): Undefine before defining.
3796 2015-07-30 Mike Frysinger <vapier@gentoo.org>
3798 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
3799 from scratch to use INTERNAL_SYSCALL.
3801 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
3804 * scripts/check-localplt.awk: Support alternate relocations.
3805 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
3807 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
3808 malloc entries with + REL R_386_GLOB_DAT.
3809 * sysdeps/x86_64/localplt.data: New file.
3811 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
3814 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
3815 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3816 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3818 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3820 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
3822 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3824 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
3825 directly in terms of __sync_fetch_and_add and delete (int) cast.
3827 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3829 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
3830 the -D_ASM_IA64_CURRENT_H flag.
3832 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3835 * pwd/pwd.h (putpwent): Delete __nonnull markings.
3837 2015-07-27 Andreas Schwab <schwab@suse.de>
3839 * conform/conformtest.pl (checknamespace): Filter out string
3840 literals while tokenizing.
3842 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3844 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3845 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
3846 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3848 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
3850 * nptl/tst-join7mod.c: Add #include <string.h>.
3852 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3854 * sysdeps/nios2/libm-test-ulps: Update.
3856 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
3858 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
3859 Fix order of arguments to the rt_sigprocmask syscall.
3860 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
3863 2015-07-24 Roland McGrath <roland@hack.frob.com>
3865 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
3867 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3870 * nptl/Makefile (tests): New test case tst-join7.
3871 (modules-names): New test case module tst-join7mod.
3872 * nptl/tst-join7.c: New file.
3873 * nptl/tst-join7mod.c: New file.
3874 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
3875 all translation units in libc.so, libpthread.so and rtld.
3877 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3881 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
3883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
3884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3885 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3886 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3887 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3888 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3889 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3890 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3891 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3892 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3895 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
3896 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
3900 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
3903 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3904 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
3905 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3906 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
3907 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
3908 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
3910 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3912 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
3913 instead of just saying load lock in the comments.
3915 2015-07-23 Roland McGrath <roland@hack.frob.com>
3917 * sysdeps/unix/Subdirs: Moved ...
3918 * sysdeps/posix/Subdirs: ... here.
3919 * login/pty.h (struct termios, struct winsize): Add forward decls.
3920 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
3921 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
3922 * sysdeps/arm/nacl/libc.abilist: Updated.
3923 * sysdeps/nacl/libutil.abilist: New file.
3925 * bits/signum.h: Update comments to mention 1003.1-2013 too.
3926 (SIGWINCH): New macro.
3928 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
3929 * sysdeps/arm/nacl/libc.abilist: Add it.
3931 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3933 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
3935 2015-07-23 Mike Frysinger <vapier@gentoo.org>
3937 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3938 Swap __glibc_reserved0 and sa_flags order.
3940 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3943 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
3944 are pending TLS destructor calls.
3945 * include/link.h (struct link_map): Add concurrency note for
3947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3948 Don't touch the link map flag. Atomically increment
3950 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
3951 Avoid taking the load lock and don't touch the link map flag.
3952 * stdlib/tst-tls-atexit-nodelete.c: New test case.
3953 * stdlib/Makefile (tests): Use it.
3954 * stdlib/tst-tls-atexit.c (do_test): dlopen
3955 tst-tls-atexit-lib.so again before dlclose. Add conditionals
3956 to allow tst-tls-atexit-nodelete test case to use it.
3958 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3960 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3962 (msgqnum_t): New typedef.
3963 (msglen_t): Likewise.
3964 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
3965 and msg_qbytes type to msglen_t.
3967 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3969 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3970 pad0 to __glibc_reserved0.
3971 (struct stat64): Likewise.
3973 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3975 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3976 Change sa_flags from a long to an int and add __glibc_reserved0 before
3979 2015-07-22 Mike Frysinger <vapier@gentoo.org>
3981 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3982 anonymous by deleting "siginfo" name.
3984 2015-07-21 Roland McGrath <roland@hack.frob.com>
3986 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3987 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3988 rather than __nacl_irt_filename.
3989 * sysdeps/nacl/xstat.c (__xstat): Likewise.
3991 * NEWS: New item for arm-nacl port.
3992 * sysdeps/arm/nacl/libc.abilist: New file.
3993 * sysdeps/nacl/ld.abilist: New file.
3994 * sysdeps/nacl/libBrokenLocale.abilist: New file.
3995 * sysdeps/nacl/libanl.abilist: New file.
3996 * sysdeps/nacl/libcrypt.abilist: New file.
3997 * sysdeps/nacl/libdl.abilist: New file.
3998 * sysdeps/nacl/libm.abilist: New file.
3999 * sysdeps/nacl/libpthread.abilist: New file.
4000 * sysdeps/nacl/libresolv.abilist: New file.
4001 * sysdeps/nacl/librt.abilist: New file.
4003 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
4005 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4006 __startcontext to initialize the new context.
4007 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4008 up CFI directive to forbid further backtracing.
4010 2015-07-21 Marko Myllynen <myllynen@redhat.com>
4012 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4014 * charmaps/ANSI_X3.4-1968: Likewise.
4015 * charmaps/BS_4730: Likewise.
4016 * charmaps/BS_VIEWDATA: Likewise.
4017 * charmaps/CP1250: Likewise.
4018 * charmaps/CP1251: Likewise.
4019 * charmaps/CP1252: Likewise.
4020 * charmaps/CP1253: Likewise.
4021 * charmaps/CP1254: Likewise.
4022 * charmaps/CP1255: Likewise.
4023 * charmaps/CP1256: Likewise.
4024 * charmaps/CSN_369103: Likewise.
4025 * charmaps/EBCDIC-DK-NO: Likewise.
4026 * charmaps/GB_1988-80: Likewise.
4027 * charmaps/GREEK-CCITT: Likewise.
4028 * charmaps/GREEK7: Likewise.
4029 * charmaps/INIS-8: Likewise.
4030 * charmaps/ISIRI-3342: Likewise.
4031 * charmaps/ISO_2033-1983: Likewise.
4032 * charmaps/ISO_5427-EXT: Likewise.
4033 * locales/POSIX: Likewise.
4034 * locales/ar_SA: Likewise.
4035 * locales/be_BY: Likewise.
4036 * locales/be_BY@latin: Likewise.
4037 * locales/ca_ES: Likewise.
4038 * locales/cs_CZ: Likewise.
4039 * locales/da_DK: Likewise.
4040 * locales/de_BE: Likewise.
4041 * locales/de_CH: Likewise.
4042 * locales/de_LU: Likewise.
4043 * locales/en_AU: Likewise.
4044 * locales/en_BW: Likewise.
4045 * locales/en_CA: Likewise.
4046 * locales/en_DK: Likewise.
4047 * locales/en_GB: Likewise.
4048 * locales/en_IE: Likewise.
4049 * locales/en_NZ: Likewise.
4050 * locales/en_ZA: Likewise.
4051 * locales/en_ZW: Likewise.
4052 * locales/es_AR: Likewise.
4053 * locales/es_BO: Likewise.
4054 * locales/es_CL: Likewise.
4055 * locales/es_CO: Likewise.
4056 * locales/es_DO: Likewise.
4057 * locales/es_EC: Likewise.
4058 * locales/es_ES: Likewise.
4059 * locales/es_HN: Likewise.
4060 * locales/es_MX: Likewise.
4061 * locales/es_PA: Likewise.
4062 * locales/es_PE: Likewise.
4063 * locales/es_PY: Likewise.
4064 * locales/es_SV: Likewise.
4065 * locales/es_US: Likewise.
4066 * locales/es_UY: Likewise.
4067 * locales/es_VE: Likewise.
4068 * locales/et_EE: Likewise.
4069 * locales/fa_IR: Likewise.
4070 * locales/fo_FO: Likewise.
4071 * locales/fr_CA: Likewise.
4072 * locales/fr_CH: Likewise.
4073 * locales/gv_GB: Likewise.
4074 * locales/he_IL: Likewise.
4075 * locales/hr_HR: Likewise.
4076 * locales/id_ID: Likewise.
4077 * locales/is_IS: Likewise.
4078 * locales/it_CH: Likewise.
4079 * locales/iw_IL: Likewise.
4080 * locales/kl_GL: Likewise.
4081 * locales/ko_KR: Likewise.
4082 * locales/kw_GB: Likewise.
4083 * locales/lg_UG: Likewise.
4084 * locales/lt_LT: Likewise.
4085 * locales/lv_LV: Likewise.
4086 * locales/mi_NZ: Likewise.
4087 * locales/nhn_MX: Likewise.
4088 * locales/nl_BE: Likewise.
4089 * locales/pl_PL: Likewise.
4090 * locales/sk_SK: Likewise.
4091 * locales/sl_SI: Likewise.
4092 * locales/sv_FI: Likewise.
4093 * locales/tl_PH: Likewise.
4094 * locales/tr_TR: Likewise.
4095 * locales/vi_VN: Likewise.
4097 2015-07-21 Khem Raj <raj.khem@gmail.com>
4100 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4103 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4106 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4108 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4110 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4112 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4113 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4114 (spawn_thread): New function.
4115 (load): Rename to reg_dtor_and_close. Move dlopen to...
4116 (do_test): ... here. Use IS_LOADED to test for its
4119 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4123 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4129 (si_upper): Likewise.
4131 2015-07-16 David S. Miller <davem@davemloft.net>
4133 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4135 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4137 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4139 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4140 fail output information.
4142 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4147 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4148 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4149 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4150 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4152 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4154 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4155 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4156 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4157 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4159 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4161 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4162 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4164 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4166 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4168 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4171 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4174 * elf/tst-nodelete-opened.c: New test case.
4175 * elf/tst-nodelete-opened-lib.c: New test case module.
4176 * elf/Makefile (tests, modules-names): Use them.
4177 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4180 2015-07-15 David S. Miller <davem@davemloft.net>
4182 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4184 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4185 * sysdeps/sparc/sparc64/Makefile: Likewise.
4186 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4187 Remove space from macro define.
4188 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4190 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4193 * locale/iso-639.def: Update Bhili and Tulu language codes as
4196 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4198 * elf/tst-leaks1.c (main): Converted to ...
4199 (do_test): ... this.
4200 (TEST_FUNCTION): New macro.
4201 Include test-skeleton.c.
4202 * localedata/tst-langinfo.c (main): Converted to ...
4203 (do_test): ... this.
4204 (TEST_FUNCTION): New macro.
4205 Include test-skeleton.c.
4206 * math/test-fpucw.c (main): Converted to ...
4207 (do_test): ... this.
4208 (TEST_FUNCTION): New macro.
4209 Include test-skeleton.c.
4210 * math/test-tgmath.c (main): Converted to ...
4211 (do_test): ... this.
4212 (TEST_FUNCTION): New macro.
4213 Include test-skeleton.c.
4214 * math/test-tgmath2.c (main): Converted to ...
4215 (do_test): ... this.
4216 (TEST_FUNCTION): New macro.
4217 Include test-skeleton.c.
4218 * setjmp/tst-setjmp.c (main): Converted to ...
4219 (do_test): ... this.
4220 (TEST_FUNCTION): New macro.
4221 Include test-skeleton.c.
4222 * stdio-common/tst-sscanf.c (main): Converted to ...
4223 (do_test): ... this.
4224 (TEST_FUNCTION): New macro.
4225 Include test-skeleton.c.
4226 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4227 (do_test): ... this.
4228 (TEST_FUNCTION): New macro.
4229 Include test-skeleton.c.
4231 * elf/tst-audit9.c (main): Converted to ...
4232 (do_test): ... this.
4233 (TEST_FUNCTION): New macro.
4234 Include test-skeleton.c.
4236 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4238 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4240 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4242 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4245 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4247 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4249 2015-07-14 Roland McGrath <roland@hack.frob.com>
4251 * sysdeps/generic/dl-fileid.h: New file.
4252 * sysdeps/posix/dl-fileid.h: New file.
4253 * sysdeps/nacl/dl-fileid.h: New file.
4254 * include/link.h: Include <dl-fileid.h>.
4255 (struct link_map): Replace l_dev and l_ino with l_file_id.
4256 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4257 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4258 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4260 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4262 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4264 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4266 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4267 Add iff $CXX is set.
4268 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4270 (tst-nodelete-zmodiff): Likewise.
4271 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4273 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4275 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4277 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4279 * sysdeps/aarch64/fpu/math_private.h
4280 (define math_opt_barrier): Add AArch64 version.
4281 (math_force_eval): Likewise.
4283 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4285 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4287 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4289 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4290 %ld with %jd and cast to intmax_t.
4291 (do_test_length_zero): Likewise.
4293 2015-07-10 Roland McGrath <roland@hack.frob.com>
4295 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4297 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4299 * sysdeps/tile/libm-test-ulps: Regenerated.
4301 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4302 Comment out the whole function, not just its body.
4304 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4306 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4309 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4311 2015-07-10 Torvald Riegel <triegel@redhat.com>
4313 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4314 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4316 2015-07-10 Torvald Riegel <triegel@redhat.com>
4318 * sysdeps/nptl/futex-internal.h: New file.
4319 * sysdeps/nacl/futex-internal.h: New file.
4320 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4321 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4323 (setxid_unmark_thread): Likewise.
4324 (__nptl_setxid): Likewise.
4325 (__wait_lookup_done): Likewise.
4326 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4327 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4328 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4329 * nptl/pthread_once.c (clear_once_control): Likewise.
4330 (__pthread_once_slow): Likewise.
4331 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4332 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4333 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4334 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4335 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4336 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4338 (__pthread_rwlock_rdlock): Likewise.
4339 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4341 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4343 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4345 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4346 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4348 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4349 __ASSUME_PRIVATE_FUTEX check.
4350 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4351 Check that shared futexes are supported.
4352 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4353 wrappers with error checking.
4354 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4355 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4356 * nptl/pthread_barrierattr_setpshared.c
4357 (pthread_barrierattr_setpshared): Check that shared futexes are
4359 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4361 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4363 * nptl/sem_init.c (futex_private_if_supported): Remove.
4364 (__new_sem_init): Adapt and check that shared futexes are supported.
4365 * nptl/sem_open.c (sem_open): Likewise.
4366 * nptl/sem_post.c (futex_wake): Remove.
4367 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4368 (do_futex_wait): Use futex wrappers with error checking.
4369 * nptl/sem_wait.c: Include lowlevellock.h.
4370 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4371 Use futex_supports_pshared.
4372 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4373 Use futex wrappers with error checking.
4374 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4376 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4377 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4378 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4379 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4380 (futex_wake): Likewise.
4381 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4382 (do_futex_wait): Use futex wrappers with error checking.
4383 (__new_sem_wait_slow): Update EINTR handling.
4384 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4386 2015-07-09 Martin Sebor <msebor@redhat.com>
4389 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4390 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4391 * nptl/Makefile (test-xfail-tst-once5): Define.
4393 2015-07-09 Roland McGrath <roland@hack.frob.com>
4395 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4396 * elf/dl-minimal.c: For readability, reorder some definitions and
4397 introduce more page breaks. Include <stdio.h>.
4398 (__libc_fatal): New function.
4400 * include/unistd.h: Add rtld_hidden_proto for _exit.
4401 * posix/_exit.c: Add rtld_hidden_def.
4402 * sysdeps/mach/hurd/_exit.c: Likewise.
4403 * sysdeps/nacl/_exit.c: Likewise.
4404 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4405 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4407 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4410 bndmov encoding with zero displacement.
4412 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4413 H.J. Lu <hongjiu.lu@intel.com>
4416 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4417 * sysdeps/i386/configure: Regenerated.
4418 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4419 (_dl_runtime_profile): Save and restore Intel MPX return bound
4420 registers when calling _dl_call_pltexit. Add
4421 PRESERVE_BND_REGS_PREFIX before return.
4422 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4423 (LRV_BND1_OFFSET): Likewise.
4424 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4427 typo in bndmov encoding.
4428 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4429 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4430 branch instructions to preserve bounds.
4432 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4435 [GLIBC_2.22]: Add fmemopen.
4437 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4439 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4440 returns an error, also try to use host port from __mach_host_self for
4442 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4444 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4448 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4449 Fix pr_uid and pr_gid members.
4450 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4451 definition to elf_greg_t.
4453 2015-07-08 Roland McGrath <roland@hack.frob.com>
4456 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4457 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4458 * sysdeps/arm/configure: Regenerated.
4459 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4460 (test-xfail-tst-tlsalign-static): Variable removed.
4462 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4463 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4464 rather than explicit 'ln -s'.
4466 * resolv/rpc/netdb.h: New file.
4467 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4469 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4471 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4473 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4482 * include/stdio.h (fmemopen): Remove hidden prototype.
4483 (__fmemopen): Add new hidden prototype.
4484 * libio/Makefile: Add oldfmemopen object.
4485 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4486 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4488 * libio/oldfmemopen.c: New file: old fmemopen implementation for
4489 symbol compatibility.
4490 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4491 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4493 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4494 on append and read mode.
4495 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4497 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4498 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4499 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4500 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4502 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4503 [GLIBC_2.22]: Likewise.
4504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4506 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4509 [GLIBC_2.22]: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4511 [GLIBC_2.22]: Likewise.
4512 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4513 [GLIBC_2.22]: Likewise.
4514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4515 [GLIBC_2.22]: Likewise.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4517 [GLIBC_2.22]: Likewise.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4519 [GLIBC_2.22]: Likewise.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4521 [GLIBC_2.22]: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4524 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4526 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4528 [GLIBC_2.22]: Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4530 [GLIBC_2.22]: Likewise.
4531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4532 [GLIBC_2.22]: Likewise.
4533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4534 [GLIBC_2.22]: Likewise.
4535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4539 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4541 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4542 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4544 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4547 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4548 IPV6_PATHMTU, and IPV6_DONTFRAG.
4550 2015-07-08 Feng Gao <gfree.wind@gmail.com>
4552 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4554 * libio/oldfileops.c: Likewise.
4555 * libio/wfileops.c: Likewise.
4557 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4559 * nscd/selinux.c: Delete selinux/flask.h include.
4561 2015-07-08 Mike Frysinger <vapier@gentoo.org>
4564 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4565 (putpwent): Likewise.
4566 (getpwnam): Likewise.
4567 (getpwent_r): Likewise.
4568 (getpwuid_r): Likewise.
4569 (getpwnam_r): Likewise.
4570 (fgetpwent_r): Likewise.
4572 2015-07-08 Carlos O'Donell <carlos@redhat.com>
4575 * inet/rcmd.c (__validuser2_sa): Check user first to
4576 short-circuit host check.
4578 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
4579 Mikhail Ilin <m.ilin@samsung.com>
4582 * elf/Makefile (tests): Add tst-nodelete.
4583 (modules-names): Add tst-nodelete-uniquemod.
4584 (tst-nodelete-uniquemod.so-no-z-defs): New.
4585 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4586 (tst-nodelete-zmod.so-no-z-defs): Likewise.
4587 ($(objpfx)tst-nodelete): Likewise.
4588 ($(objpfx)tst-nodelete.out): Likewise.
4589 (LDFLAGS-tst-nodelete): Likewise.
4590 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4591 * elf/dl-close.c (_dl_close_worker): Add a parameter to
4592 implement forced object deletion.
4593 (_dl_close): Pass false to _dl_close_worker.
4594 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4595 * elf/tst-nodelete.cc: New file.
4596 * elf/tst-nodeletelib.cc: Likewise.
4597 * elf/tst-znodeletelib.cc: Likewise.
4598 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
4600 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4603 * stdlib/Makefile ($(objpfx)tst-makecontext3):
4605 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
4606 is not called infinitely times.
4607 (backtrace_helper): New function.
4608 (trace_arg): New struct.
4609 (st1): Enlarge stack size.
4610 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4611 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
4612 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4615 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4617 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4619 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4621 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
4622 Include sys/types.h instead of bits/types.h.
4623 Remove inclusion of bits/wordsize.h.
4625 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4627 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
4628 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
4629 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
4630 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
4631 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
4632 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
4634 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4636 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
4638 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
4639 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
4640 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
4642 * sysdeps/i386/link-defines.sym: New file.
4644 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
4646 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
4647 (modules-names): Add tst-auditmod3a tst-auditmod3b.
4648 ($(objpfx)tst-audit3): New rule.
4649 ($(objpfx)tst-audit3.out): Likewise.
4650 * sysdeps/i386/tst-audit3.c: New file.
4651 * sysdeps/i386/tst-audit3.h: Likewise.
4652 * sysdeps/i386/tst-auditmod3a.c: Likewise.
4653 * sysdeps/i386/tst-auditmod3b.c: Likewise.
4655 2015-07-07 Torvald Riegel <triegel@redhat.com>
4658 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
4660 (__strcat_c): Likewise.
4661 (__strcat_g): Likewise.
4663 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
4666 * misc/sbrk.c: Set errno to ENOMEM on overflow.
4668 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4670 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
4671 New function. (__ieee754_sqrtf): New function.
4672 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
4674 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
4677 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
4679 * sysdeps/ieee754/support.c: Remove unused file.
4681 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4683 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
4684 registers instead of d ones so the layout is kernel abi compatible.
4685 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
4686 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
4689 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4691 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4693 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
4697 and return argument in case of subnormal argument.
4699 2015-07-01 Martin Sebor <msebor@redhat.com>
4702 * nptl/Makefile: Add tst-once5.cc.
4703 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4704 Remove macro redefinitions.
4705 * nptl/tst-once5.cc: New test.
4707 2015-07-01 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4711 * sysdeps/arm/libm-test-ulps: Regenerated.
4713 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4714 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4716 2015-06-30 Torvald Riegel <triegel@redhat.com>
4718 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
4719 lll_lock_wait_private and lll_futex_wake probes.
4721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4722 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
4724 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
4726 * sysdeps/x86_64/bits/atomic.h: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
4728 to atomic_spin_nop and move ...
4729 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4731 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
4732 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
4733 atomic_spin_nop instead of BUSY_WAIT_NOP.
4734 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
4736 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
4737 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4738 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
4739 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
4740 instead of atomic_delay.
4742 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
4746 X_ADJ not X when adjusting exponent.
4747 (__ieee754_gamma_r): Do intermediate computations in
4748 round-to-nearest then adjust overflowing and underflowing results
4750 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
4751 of X_ADJ not X when adjusting exponent.
4752 (__ieee754_gammaf_r): Do intermediate computations in
4753 round-to-nearest then adjust overflowing and underflowing results
4755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
4756 log of X_ADJ not X when adjusting exponent.
4757 (__ieee754_gammal_r): Do intermediate computations in
4758 round-to-nearest then adjust overflowing and underflowing results
4759 as needed. Use 1.0L not 1.0f as numerator of division.
4760 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
4761 log of X_ADJ not X when adjusting exponent.
4762 (__ieee754_gammal_r): Do intermediate computations in
4763 round-to-nearest then adjust overflowing and underflowing results
4764 as needed. Use 1.0L not 1.0f as numerator of division.
4765 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
4766 of X_ADJ not X when adjusting exponent.
4767 (__ieee754_gammal_r): Do intermediate computations in
4768 round-to-nearest then adjust overflowing and underflowing results
4769 as needed. Use 1.0L not 1.0f as numerator of division.
4770 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
4771 to auto-libm-test-in.
4772 (tgamma_test): Use ALL_RM_TEST.
4773 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
4774 tests of tgamma with spurious-overflow.
4775 * math/auto-libm-test-out: Regenerated.
4776 * math/gen-libm-have-vector-test.sh: Do not check for START.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
4782 arguments, just return 0.5 times the argument, with underflow
4784 * math/auto-libm-test-in: Add more tests of j1.
4785 * math/auto-libm-test-out: Regenerated.
4788 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
4789 (__ieee754_j1): Force underflow exception for small results.
4790 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4791 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
4792 (__ieee754_j1f): Force underflow exception for small results.
4793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4794 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4796 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
4797 (__ieee754_j1l): Force underflow exception for small results.
4798 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4799 * math/auto-libm-test-in: Add more tests of j1 and jn.
4800 * math/auto-libm-test-out: Regenerated.
4802 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
4803 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
4804 (PF_MPLS): Likewise.
4806 (AF_MPLS): Likewise.
4807 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
4809 (MS_RMT_MASK): Include MS_LAZYTIME.
4811 2015-06-26 Mel Gorman <mgorman@suse.de>
4814 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
4817 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
4819 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
4820 (DT_MIPS_NUM): Update.
4821 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
4822 DT_MIPS_RLD_MAP_REL.
4824 2015-06-25 Joseph Myers <joseph@codesourcery.com>
4828 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
4829 round-to-nearest internally then recompute results that
4830 underflowed to zero in the original rounding mode.
4831 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4832 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
4835 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4839 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
4841 * NEWS: Fixed description of link with vector math library.
4843 2015-06-25 Andreas Schwab <schwab@suse.de>
4846 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
4847 * libio/test-fmemopen.c (do_test): Add test for it.
4849 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
4852 * Makeconfig (no-pie-ldflag): New.
4853 (+link): Set to $(+link-pie) if default to PIE.
4854 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
4855 * config.make.in (build-pie-default): New.
4856 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
4857 is default. AC_SUBST.
4858 * configure: Regenerated.
4859 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
4861 2015-06-24 Roland McGrath <roland@hack.frob.com>
4863 * nptl/descr.h (struct pthread): Change type of field setxid_futex
4866 * resolv/gai_misc.h (struct waitlist): Change type of field
4867 counterp to 'volatile unsigned int *'.
4868 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
4869 FUTEXADDR and OLDVAL.
4870 * resolv/getaddrinfo_a.c (getaddrinfo_a):
4871 Give local variable TOTAL type 'volatile unsigned int'.
4872 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4873 * resolv/gai_suspend.c (gai_suspend):
4874 Give local variable CNTR type 'unsigned int'.
4876 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
4877 counterp to 'volatile unsigned int *'.
4878 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
4879 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
4880 (aio_suspend): Give local variable CNTR type 'unsigned int'.
4881 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
4882 Give local variable TOTAL type 'volatile unsigned int'.
4883 (struct async_waitlist): Change type of field counter to 'unsigned int'.
4885 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4888 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
4889 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
4890 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
4891 comment for i386/x86-64.
4892 (test-xfail-tst-tlsalign-extern-static): Removed.
4894 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4896 * math/test-double.h: New file.
4897 * math/test-float.h: Likewise.
4898 * math/test-ldouble.h: Likewise.
4899 * math/test-math-inline.h: Likewise.
4900 * math/test-math-no-inline.h: Likewise.
4901 * math/test-math-scalar.h: Likewise.
4902 * math/test-math-vector.h: Likewise.
4903 * math/test-vec-loop.h: Remove file. Contents moved into
4905 * math/libm-test.inc (MATHCONST): Do not document macro.
4906 * math/test-double.c: Include test-double.h, test-math-no-inline.h
4907 and test-math-scalar.h.
4908 (FUNC): Remove macro.
4909 (FUNC_TEST): Likewise.
4911 (MATHCONST): Likewise.
4912 (PRINTF_EXPR): Likewise.
4913 (PRINTF_XEXPR): Likewise.
4914 (PRINTF_NEXPR): Likewise.
4915 (TEST_DOUBLE): Likewise.
4916 (TEST_MATHVEC): Likewise.
4917 (__NO_MATH_INLINES): Likewise.
4918 * math/test-float.c: Include test-float.h, test-math-no-inline.h
4919 and test-math-scalar.h.
4920 (FUNC): Remove macro.
4921 (FUNC_TEST): Likewise.
4923 (MATHCONST): Likewise.
4924 (PRINTF_EXPR): Likewise.
4925 (PRINTF_XEXPR): Likewise.
4926 (PRINTF_NEXPR): Likewise.
4927 (TEST_FLOAT): Likewise.
4928 (TEST_MATHVEC): Likewise.
4929 (__NO_MATH_INLINES): Likewise.
4930 * math/test-idouble.c: Include test-double.h, test-math-inline.h
4931 and test-math-scalar.h.
4932 (FUNC): Remove macro.
4933 (FUNC_TEST): Likewise.
4935 (MATHCONST): Likewise.
4936 (PRINTF_EXPR): Likewise.
4937 (PRINTF_XEXPR): Likewise.
4938 (PRINTF_NEXPR): Likewise.
4939 (TEST_DOUBLE): Likewise.
4940 (TEST_MATHVEC): Likewise.
4941 (TEST_INLINE): Likewise.
4942 (__NO_MATH_INLINES): Likewise.
4943 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
4945 (FUNC): Remove macro.
4946 (FUNC_TEST): Likewise.
4948 (MATHCONST): Likewise.
4949 (PRINTF_EXPR): Likewise.
4950 (PRINTF_XEXPR): Likewise.
4951 (PRINTF_NEXPR): Likewise.
4952 (TEST_FLOAT): Likewise.
4953 (TEST_MATHVEC): Likewise.
4954 (TEST_INLINE): Likewise.
4955 (__NO_MATH_INLINES): Likewise.
4956 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4957 and test-math-scalar.h.
4958 (FUNC): Remove macro.
4959 (FUNC_TEST): Likewise.
4961 (MATHCONST): Likewise.
4962 (PRINTF_EXPR): Likewise.
4963 (PRINTF_XEXPR): Likewise.
4964 (PRINTF_NEXPR): Likewise.
4965 (TEST_LDOUBLE): Likewise.
4966 (TEST_MATHVEC): Likewise.
4967 (TEST_INLINE): Likewise.
4968 (__NO_MATH_INLINES): Likewise.
4969 * math/test-ldouble.c: Include test-ldouble.h,
4970 test-math-no-inline.h and test-math-scalar.h.
4971 (FUNC): Remove macro.
4972 (FUNC_TEST): Likewise.
4974 (MATHCONST): Likewise.
4975 (PRINTF_EXPR): Likewise.
4976 (PRINTF_XEXPR): Likewise.
4977 (PRINTF_NEXPR): Likewise.
4978 (TEST_LDOUBLE): Likewise.
4979 (TEST_MATHVEC): Likewise.
4980 (__NO_MATH_INLINES): Likewise.
4981 * math/test-double-vlen2.h: Include test-double.h,
4982 test-math-no-inline.h and test-math-vector.h.
4983 (FLOAT): Remove macro.
4985 (MATHCONST): Likewise.
4986 (PRINTF_EXPR): Likewise.
4987 (PRINTF_XEXPR): Likewise.
4988 (PRINTF_NEXPR): Likewise.
4989 (TEST_DOUBLE): Likewise.
4990 (TEST_MATHVEC): Likewise.
4991 (__NO_MATH_INLINES): Likewise.
4994 (WRAPPER_NAME): Likewise.
4995 (WRAPPER_DECL): Likewise.
4996 (WRAPPER_DECL_ff): Likewise.
4997 (WRAPPER_DECL_fFF): Likewise.
4998 (VECTOR_WRAPPER): Likewise.
4999 (VECTOR_WRAPPER_ff): Likewise.
5000 (VECTOR_WRAPPER_fFF): Likewise.
5001 (VEC_LEN): New macro.
5002 * math/test-double-vlen4.h: Include test-double.h,
5003 test-math-no-inline.h and test-math-vector.h.
5004 (FLOAT): Remove macro.
5006 (MATHCONST): Likewise.
5007 (PRINTF_EXPR): Likewise.
5008 (PRINTF_XEXPR): Likewise.
5009 (PRINTF_NEXPR): Likewise.
5010 (TEST_DOUBLE): Likewise.
5011 (TEST_MATHVEC): Likewise.
5012 (__NO_MATH_INLINES): Likewise.
5015 (WRAPPER_NAME): Likewise.
5016 (WRAPPER_DECL): Likewise.
5017 (WRAPPER_DECL_ff): Likewise.
5018 (WRAPPER_DECL_fFF): Likewise.
5019 (VECTOR_WRAPPER): Likewise.
5020 (VECTOR_WRAPPER_ff): Likewise.
5021 (VECTOR_WRAPPER_fFF): Likewise.
5022 (VEC_LEN): New macro.
5023 * math/test-double-vlen8.h: Include test-double.h,
5024 test-math-no-inline.h and test-math-vector.h.
5025 (FLOAT): Remove macro.
5027 (MATHCONST): Likewise.
5028 (PRINTF_EXPR): Likewise.
5029 (PRINTF_XEXPR): Likewise.
5030 (PRINTF_NEXPR): Likewise.
5031 (TEST_DOUBLE): Likewise.
5032 (TEST_MATHVEC): Likewise.
5033 (__NO_MATH_INLINES): Likewise.
5036 (WRAPPER_NAME): Likewise.
5037 (WRAPPER_DECL): Likewise.
5038 (WRAPPER_DECL_ff): Likewise.
5039 (WRAPPER_DECL_fFF): Likewise.
5040 (VECTOR_WRAPPER): Likewise.
5041 (VECTOR_WRAPPER_ff): Likewise.
5042 (VECTOR_WRAPPER_fFF): Likewise.
5043 (VEC_LEN): New macro.
5044 * math/test-float-vlen4.h: Include test-float.h,
5045 test-math-no-inline.h and test-math-vector.h.
5046 (FLOAT): Remove macro.
5048 (MATHCONST): Likewise.
5049 (PRINTF_EXPR): Likewise.
5050 (PRINTF_XEXPR): Likewise.
5051 (PRINTF_NEXPR): Likewise.
5052 (TEST_FLOAT): Likewise.
5053 (TEST_MATHVEC): Likewise.
5054 (__NO_MATH_INLINES): Likewise.
5057 (WRAPPER_NAME): Likewise.
5058 (WRAPPER_DECL): Likewise.
5059 (WRAPPER_DECL_ff): Likewise.
5060 (WRAPPER_DECL_fFF): Likewise.
5061 (VECTOR_WRAPPER): Likewise.
5062 (VECTOR_WRAPPER_ff): Likewise.
5063 (VECTOR_WRAPPER_fFF): Likewise.
5064 (VEC_LEN): New macro.
5065 * math/test-float-vlen8.h: Include test-float.h,
5066 test-math-no-inline.h and test-math-vector.h.
5067 (FLOAT): Remove macro.
5069 (MATHCONST): Likewise.
5070 (PRINTF_EXPR): Likewise.
5071 (PRINTF_XEXPR): Likewise.
5072 (PRINTF_NEXPR): Likewise.
5073 (TEST_FLOAT): Likewise.
5074 (TEST_MATHVEC): Likewise.
5075 (__NO_MATH_INLINES): Likewise.
5078 (WRAPPER_NAME): Likewise.
5079 (WRAPPER_DECL): Likewise.
5080 (WRAPPER_DECL_ff): Likewise.
5081 (WRAPPER_DECL_fFF): Likewise.
5082 (VECTOR_WRAPPER): Likewise.
5083 (VECTOR_WRAPPER_ff): Likewise.
5084 (VECTOR_WRAPPER_fFF): Likewise.
5085 (VEC_LEN): New macro.
5086 * math/test-float-vlen16.h: Include test-float.h,
5087 test-math-no-inline.h and test-math-vector.h.
5088 (FLOAT): Remove macro.
5090 (MATHCONST): Likewise.
5091 (PRINTF_EXPR): Likewise.
5092 (PRINTF_XEXPR): Likewise.
5093 (PRINTF_NEXPR): Likewise.
5094 (TEST_FLOAT): Likewise.
5095 (TEST_MATHVEC): Likewise.
5096 (__NO_MATH_INLINES): Likewise.
5099 (WRAPPER_NAME): Likewise.
5100 (WRAPPER_DECL): Likewise.
5101 (WRAPPER_DECL_ff): Likewise.
5102 (WRAPPER_DECL_fFF): Likewise.
5103 (VECTOR_WRAPPER): Likewise.
5104 (VECTOR_WRAPPER_ff): Likewise.
5105 (VECTOR_WRAPPER_fFF): Likewise.
5106 (VEC_LEN): New macro.
5107 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5109 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5110 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5111 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5112 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5113 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5114 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5115 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5117 2015-06-24 Roland McGrath <roland@hack.frob.com>
5119 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5120 (__getlogin_r): ... this.
5122 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5125 * math/s_ccosh.c (__ccosh): Compare with least normal value
5126 instead of comparing class with FP_SUBNORMAL.
5127 * math/s_ccoshf.c (__ccoshf): Likewise.
5128 * math/s_ccoshl.c (__ccoshl): Likewise.
5129 * math/s_cexp.c (__cexp): Likewise.
5130 * math/s_cexpf.c (__cexpf): Likewise.
5131 * math/s_cexpl.c (__cexpl): Likewise.
5132 * math/s_csin.c (__csin): Likewise.
5133 * math/s_csinf.c (__csinf): Likewise.
5134 * math/s_csinh.c (__csinh): Likewise.
5135 * math/s_csinhf.c (__csinhf): Likewise.
5136 * math/s_csinhl.c (__csinhl): Likewise.
5137 * math/s_csinl.c (__csinl): Likewise.
5138 * math/s_ctan.c (__ctan): Likewise.
5139 * math/s_ctanf.c (__ctanf): Likewise.
5140 * math/s_ctanh.c (__ctanh): Likewise.
5141 * math/s_ctanhf.c (__ctanhf): Likewise.
5142 * math/s_ctanhl.c (__ctanhl): Likewise.
5143 * math/s_ctanl.c (__ctanl): Likewise.
5144 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5145 csin, csinh, ctan and ctanh.
5146 * math/auto-libm-test-out: Regenerated.
5147 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5148 * sysdeps/i386/fpu/libm-test-ulps: Update.
5149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5151 2015-06-24 Roland McGrath <roland@hack.frob.com>
5153 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5154 return value is wrong, print the expected value too.
5156 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5159 * elf/readlib.c (is_gdb_python_file): New.
5160 (process_file): Don't issue errors on filenames with -gdb.py
5163 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5165 * math/auto-libm-test-in: Add more tests of csin and csinh.
5166 * math/auto-libm-test-out: Regenerated.
5167 * math/libm-test.inc (csin_test_data): Remove tests moved to
5169 (csinh_test_data): Likewise.
5172 * math/s_csin.c (__csin): Negate before rather than after possibly
5173 overflowing multiplication.
5174 * math/s_csinf.c (__csinf): Likewise.
5175 * math/s_csinh.c (__csinh): Likewise.
5176 * math/s_csinhf.c (__csinhf): Likewise.
5177 * math/s_csinhl.c (__csinhl): Likewise.
5178 * math/s_csinl.c (__csinl): Likewise.
5179 * math/auto-libm-test-in: Add some tests of csin and csinh.
5180 * math/auto-libm-test-out: Regenerated.
5181 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5182 (csinh_test_data): Likewise.
5183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5186 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5187 underflow exception for small results.
5189 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5191 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5192 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5193 variable and included header.
5194 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5196 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5197 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5199 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5202 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5203 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5204 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5205 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5206 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5207 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5208 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5209 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5211 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5215 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5216 (__sin): Force underflow exception for arguments with small
5218 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5219 (__kernel_sinf): Force underflow exception for arguments with
5220 small absolute value.
5221 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5222 (__kernel_sincosl): Force underflow exception for arguments with
5223 small absolute value.
5224 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5225 (__kernel_sinl): Force underflow exception for arguments with
5226 small absolute value.
5227 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5228 (__kernel_sincosl): Force underflow exception for arguments with
5229 small absolute value.
5230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5231 (__kernel_sinl): Force underflow exception for arguments with
5232 small absolute value.
5233 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5234 (__kernel_sinl): Force underflow exception for arguments with
5235 small absolute value.
5236 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5237 (__kernel_sinf): Force underflow exception for arguments with
5238 small absolute value.
5239 * math/auto-libm-test-in: Add more tests of sin and sincos.
5240 * math/auto-libm-test-out: Regenerated.
5244 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5245 (__kernel_standard_l): Use feholdexcept and fesetenv around
5246 conversion to double instead of special-casing overflow and
5248 * math/libm-test.inc (fmod_test_data): Add more tests.
5249 (remainder_test_data): Likewise.
5250 (sqrt_test_data): Likewise.
5252 2015-06-23 Torvald Riegel <triegel@redhat.com>
5255 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5256 atomic_read_barrier, atomic_write_barrier): Define.
5257 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5258 atomic_read_barrier, atomic_write_barrier): Define.
5260 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5262 * math/Makefile [$(PERL) != no]
5263 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5264 dependency on libm-test.stmp below the inclusion of Rules.
5266 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5268 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5269 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5270 and included header.
5271 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5275 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5279 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5280 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5281 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5282 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5283 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5284 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5285 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5286 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5287 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5288 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5289 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5291 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5294 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5295 intermediate but not final result might underflow.
5296 * math/s_csqrtf.c (__csqrtf): Likewise.
5297 * math/s_csqrtl.c (__csqrtl): Likewise.
5298 * math/auto-libm-test-in: Add more tests of csqrt.
5299 * math/auto-libm-test-out: Regenerated.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5304 threshold on absolute value of exponent for which scaling is used.
5305 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5306 * math/auto-libm-test-in: Add more tests of exp2.
5307 * math/auto-libm-test-out: Regenerated.
5309 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5312 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5313 when initializing interface list, based on the bug analysis
5314 and the patch proposed by Eric Newton.
5315 * resolv/tst-res_hconf_reorder.c: New test.
5316 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5317 tst-res_hconf_reorder.
5318 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5319 and $(shared-thread-library).
5320 (tst-res_hconf_reorder-ENV): New variable.
5322 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5325 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5328 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5329 (__expm1): Force underflow exception for arguments with small
5331 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5332 (__expm1f): Force underflow exception for arguments with small
5334 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5335 (__expm1): Force underflow exception for arguments with small
5337 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5338 (__expm1f): Force underflow exception for arguments with small
5340 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5341 Check for small arguments before calling __expm1.
5342 * math/auto-libm-test-in: Do not mark underflow exceptions as
5343 possibly missing for bug 16353.
5344 * math/auto-libm-test-out: Regenerated.
5346 2015-06-22 Andreas Schwab <schwab@suse.de>
5349 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5352 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5354 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5356 * string/strcoll_l.c: Remove unused struct element idxnow.
5358 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5361 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5362 underflow and return argument in case of subnormal argument.
5363 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5365 * math/auto-libm-test-in: Add more tests of expm1.
5366 * math/auto-libm-test-out: Regenerated.
5369 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5370 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5372 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5373 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5375 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5376 mark underflow exceptions as possibly missing for bug 16361.
5377 * math/auto-libm-test-out: Regenerated.
5379 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5381 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5382 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5384 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5385 (test-xfail-XOPEN2K8/utmpx.h/conform).
5387 * conform/conformtest.pl ($xerrors): New variable.
5388 (note_error): New function.
5389 (compiletest): New argument $xfail. Use not_error.
5390 (runtest): Likewise.
5391 (top level): Handle xfail- lines. Update calls to compiletest and
5392 runtest. Handle xfail- and optional- in headers listed with
5394 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5396 (O_SEARCH): Likewise.
5397 * conform/data/stropts.h-data (ioctl): Likewise.
5398 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5399 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5400 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5401 (msghdr.msg_controllen): Likewise.
5402 (cmsghdr.cmsg_len): Likewise.
5403 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5404 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5406 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5407 (test-xfail-XPG4/stropts.h/conform): Likewise.
5408 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5409 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5410 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5411 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5412 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5413 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5414 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5415 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5416 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5417 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5418 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5419 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5420 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5421 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5422 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5423 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5424 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5425 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5426 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5428 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5430 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5431 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5432 definitions for proper unfolding of __MATHDECL_VEC.
5434 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5436 * benchtests/bench-strcoll.c:
5438 (main): Remove unused variable res.
5440 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5442 * timezone/Makefile (%/UTC %/Universal):
5443 Generate test-result files for UTC and Universal.
5445 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5447 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5449 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5452 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5453 for arguments with small absolute value.
5454 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5455 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5456 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5457 (__asinh): Force underflow exception for arguments with small
5459 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5460 (__asinhf): Force underflow exception for arguments with small
5462 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5463 (__asinhl): Force underflow exception for arguments with small
5465 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5466 (__asinhl): Force underflow exception for arguments with small
5468 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5469 (__asinhl): Force underflow exception for arguments with small
5471 * math/auto-libm-test-in: Do not mark underflow exceptions as
5472 possibly missing for bug 16350.
5473 * math/auto-libm-test-out: Regenerated.
5475 * include/bits/ipc.h: Remove file.
5476 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5478 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5479 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5480 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5481 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5482 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5483 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5484 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5485 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5486 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5488 * math/auto-libm-test-in: Remove spurious underflow allowance for
5490 * math/auto-libm-test-out: Regenerated.
5493 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5494 unconditional definition.
5495 (MCAST_BLOCK_SOURCE): Likewise.
5496 (MCAST_UNBLOCK_SOURCE): Likewise.
5497 (MCAST_LEAVE_GROUP): Likewise.
5498 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5499 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5500 (MCAST_MSFILTER): Likewise.
5501 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5503 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5504 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5505 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5506 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5507 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5509 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
5511 * NEWS: Mention addition of x86_64 vector sincosf.
5512 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5513 * math/test-float-vlen4.h: Likewise.
5514 * math/test-float-vlen8.h: Likewise.
5515 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5516 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5517 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5518 * sysdeps/x86_64/fpu/Versions: New versions added.
5519 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5520 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5521 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5522 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5527 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5528 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5529 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5530 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5531 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5532 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5533 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5534 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5535 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5536 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5537 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5538 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5539 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5540 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5541 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5542 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5544 * NEWS: Mention addition of x86_64 vector sincos.
5545 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5546 * math/math.h (__MATHDECL_VEC): New macro.
5547 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5548 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5549 declaration under condition.
5550 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5551 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5552 TEST_VEC_LOOP change.
5553 * math/test-double-vlen4.h: Likewise.
5554 * math/test-double-vlen8.h: Likewise.
5555 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5556 * math/test-float-vlen4.h: Likewise.
5557 * math/test-float-vlen8.h: Likewise.
5558 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5559 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5561 * sysdeps/x86_64/fpu/Versions: New versions added.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5564 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5569 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5571 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5572 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5573 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5574 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5575 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5576 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5577 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5579 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5583 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5585 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5587 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5588 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5589 redirections for powf.
5590 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5591 * sysdeps/x86_64/fpu/Versions: New versions added.
5592 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5593 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5594 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5595 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5596 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5598 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5599 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
5600 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
5601 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
5602 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
5603 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
5604 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
5605 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
5606 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
5607 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
5608 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
5609 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5610 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5611 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5612 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5614 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5615 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5616 * math/test-float-vlen16.h: Fixed 2 argument macro.
5617 * math/test-float-vlen4.h: Likewise.
5618 * math/test-float-vlen8.h: Likewise.
5619 * NEWS: Mention addition of x86_64 vector powf.
5621 2015-06-17 Joseph Myers <joseph@codesourcery.com>
5623 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5625 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5627 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
5628 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5632 * resource/getpriority.c (getpriority): Rename to __getpriority
5633 and define as weak alias of __getpriority.
5634 * resource/setpriority.c (setpriority): Rename to __setpriority
5635 and define as weak alias of __setpriority.
5636 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
5637 __getpriority and define as weak alias of __getpriority.
5638 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
5639 __setpriority and define as weak alias of __setpriority.
5640 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
5642 (setpriority): Use __setpriority as strong name.
5643 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
5644 __getpriority and define as weak alias of __getpriority.
5645 * include/sys/resource.h (__getpriority): Declare. Use
5647 (__setpriority): Likewise.
5648 (getpriority): Don't use libc_hidden_proto.
5649 (setpriority): Likewise.
5650 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
5651 getpriority. Call __setpriority instead of setpriority.
5652 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
5656 * misc/getttyent.c (getttynam): Rename to __getttynam and define
5657 as weak alias of __getttynam. Use prototype function definition.
5658 Call __setttyent, __getttyent and __endttyent instead of
5659 setttyent, getttyent and endttyent.
5660 (getttyent): Rename to __getttyent and define as weak alias of
5661 __getttyent. Call __setttyent instead of setttyent. Call
5662 __fgets_unlocked instead of fgets_unlocked.
5663 (setttyent): Rename to __setttyent and define as weak alias of
5665 (endttyent): Rename to __endttyent and define as weak alias of
5667 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
5668 (__setttyent): Likewise.
5669 (__endttyent): Likewise.
5670 (getttyent): Don't use libc_hidden_proto.
5671 (setttyent): Likewise.
5672 (endttyent): Likewise.
5673 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
5674 __endttyent instead of setttyent, getttyent and endttyent.
5675 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
5679 * socket/recv.c (__recv): Use libc_hidden_def.
5680 * socket/socket.c (__socket): Likewise.
5681 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5682 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5683 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
5684 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
5685 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
5687 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
5689 * include/sys/socket.h (__socket): Do not use attribute_hidden.
5690 Use libc_hidden_proto.
5692 * socket/Versions (libc): Export __recv and __socket at version
5694 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
5696 (init_mq_netlink): Call __socket instead of socket.
5697 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
5701 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5702 __mq_timedreceive and define as alias of __mq_timedreceive. Use
5704 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
5705 define as alias of __mq_timedsend. Use hidden_weak.
5706 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
5707 __mq_timedsend as strong name.
5708 (mq_timedreceive): Use __mq_timedreceive as strong name.
5709 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
5710 (__mq_timedreceive): Likewise.
5711 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
5712 __mq_timedreceive instead of mq_timedreceive.
5713 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
5714 instead of mq_timedsend.
5715 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
5718 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
5719 hidden_def and hidden_weak instead of libc_hidden_def and
5721 (top level): Refer to hidden_def in comment.
5722 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
5723 macro. Use it instead of libc_hidden_def.
5724 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
5725 specify __GI_* name explicitly.
5726 (mq_timedreceive): Likewise.
5727 (mq_setattr): Likewise.
5730 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
5731 __pthread_barrier_init and define as weak alias of
5732 __pthread_barrier_init.
5733 * sysdeps/sparc/nptl/pthread_barrier_init.c
5734 (pthread_barrier_init): Likewise.
5735 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
5736 __pthread_barrier_wait and define as weak alias of
5737 __pthread_barrier_wait.
5738 * sysdeps/sparc/nptl/pthread_barrier_wait.c
5739 (pthread_barrier_wait): Likewise.
5740 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5741 (pthread_barrier_wait): Likewise.
5742 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
5743 (pthread_barrier_wait): Likewise.
5744 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
5745 (pthread_barrier_wait): Likewise.
5746 * nptl/Versions (libpthread): Export __pthread_barrier_init and
5747 __pthread_barrier_wait at version GLIBC_PRIVATE.
5748 * include/pthread.h (__pthread_barrier_init): Declare.
5749 (__pthread_barrier_wait): Likewise.
5750 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
5751 Call __pthread_barrier_wait instead of pthread_barrier_wait.
5752 (helper_thread): Likewise.
5753 (init_mq_netlink): Call __pthread_barrier_init instead of
5754 pthread_barrier_init.
5757 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
5758 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
5759 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
5760 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
5762 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
5766 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
5767 strong alias of _IO_fflush. Use libc_hidden_def.
5768 * libio/iofflush_u.c (fflush_unlocked): Rename to
5769 __fflush_unlocked and define as weak alias of __fflush_unlocked.
5770 Use libc_hidden_weak.
5771 * include/stdio.h (__fflush_unlocked): Declare. Use
5773 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
5775 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
5779 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
5780 define as weak alias of __addseverity.
5781 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
5783 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5784 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5785 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5788 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
5789 (__tfind): Likewise.
5790 (__tdelete): Likewise.
5791 (__twalk): Likewise.
5792 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
5793 __twalk to GLIBC_PRIVATE.
5794 * include/search.h (__tsearch): Use libc_hidden_proto.
5795 (__tfind): Likewise.
5796 (__tdelete): Likewise.
5797 (__twalk): Likewise.
5798 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
5799 Call __tdelete instead of tdelete.
5800 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
5801 tfind. Call __tsearch instead of tsearch.
5802 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
5803 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
5805 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5808 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
5809 (dprintf): Define as a weak alias of __dprintf, not a strong
5811 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
5812 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
5814 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
5816 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5817 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5820 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
5822 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
5826 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
5827 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
5828 (in6addr_loopback): Rename to __in6addr_loopback and define as
5829 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
5830 * include/netinet/in.h (__in6addr_loopback): Declare. Use
5832 (__in6addr_any): Likewise.
5833 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
5835 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
5837 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5839 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
5841 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
5842 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
5843 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5844 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5845 redirections for pow.
5846 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5847 * sysdeps/x86_64/fpu/Versions: New versions added.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5849 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5850 build of SSE, AVX2 and AVX512 IFUNC versions.
5851 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
5852 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
5853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
5854 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
5855 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
5856 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
5857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
5858 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
5859 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
5860 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
5861 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
5862 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
5863 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
5864 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
5865 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5866 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5867 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5868 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5869 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5870 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5871 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5872 * NEWS: Mention addition of x86_64 vector pow.
5874 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5875 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5876 redirections for expf.
5877 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5878 * sysdeps/x86_64/fpu/Versions: New versions added.
5879 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5880 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5881 build of SSE, AVX2 and AVX512 IFUNC versions.
5882 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
5883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
5884 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
5885 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
5886 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
5887 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
5888 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
5889 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
5890 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
5891 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
5892 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
5893 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
5894 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
5895 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5896 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5897 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5898 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5899 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5900 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5901 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5902 * NEWS: Mention addition of x86_64 vector expf.
5904 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
5905 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
5906 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5907 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5908 redirections for exp.
5909 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5910 * sysdeps/x86_64/fpu/Versions: New versions added.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5912 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5913 build of SSE, AVX2 and AVX512 IFUNC versions.
5914 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
5915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
5916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
5917 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
5918 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
5919 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
5920 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
5921 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
5922 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
5923 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
5924 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
5925 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
5926 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
5927 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5928 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5929 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5930 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5931 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5932 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5933 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5934 * NEWS: Mention addition of x86_64 vector exp.
5936 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5937 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5938 redirections for logf.
5939 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5940 * sysdeps/x86_64/fpu/Versions: New versions added.
5941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5942 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5943 build of SSE, AVX2 and AVX512 IFUNC versions.
5944 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
5945 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
5946 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
5947 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
5948 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
5949 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
5950 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
5951 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
5952 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
5953 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
5954 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
5955 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5956 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5957 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5958 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5959 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5960 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5961 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5962 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5963 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5964 * NEWS: Mention addition of x86_64 vector logf.
5966 * bits/libm-simd-decl-stubs.h: Added stubs for log.
5967 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5968 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5969 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5970 redirections for log.
5971 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5972 * sysdeps/x86_64/fpu/Versions: New versions added.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5974 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5975 build of SSE, AVX2 and AVX512 IFUNC versions.
5976 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5977 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5978 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5979 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5980 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5981 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5982 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5983 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5984 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5985 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5986 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5987 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5988 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5990 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5991 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5992 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5993 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5994 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5995 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5996 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5997 * NEWS: Mention addition of x86_64 vector log.
5999 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
6001 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6002 cfi_adjust_cfa_offset argument.
6003 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6004 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6007 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6008 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6009 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6010 ordering using ldar.
6011 (_dl_tlsdesc_dynamic): Likewise.
6012 (_dl_tlsdesc_return_lazy): Likewise.
6013 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6014 relaxed atomics instead of volatile and synchronize with release store.
6015 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6017 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6019 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
6021 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6022 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6023 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6024 * sysdeps/x86_64/fpu/Versions: New versions added.
6025 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6026 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6027 build of SSE, AVX2 and AVX512 IFUNC versions.
6028 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6032 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6033 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6034 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6035 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6036 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6037 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6038 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6039 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6040 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6041 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6042 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6043 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6044 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6045 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6046 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6047 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6048 * NEWS: Mention addition of x86_64 vector sinf.
6050 2015-06-14 Joseph Myers <joseph@codesourcery.com>
6052 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6053 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6054 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6056 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6057 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6059 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6062 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6063 strong alias of _IO_fputs. Use libc_hidden_def.
6064 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6065 and define as weak alias of __fputs_unlocked. Use
6067 * include/stdio.h (__fputs_unlocked): Declare. Use
6069 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6073 * resolv/netdb.h [__USE_POSIX]: Change condition to
6075 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6077 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6078 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6079 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6080 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6081 [XPG4 || UNIX98] (AI_ALL): Likewise.
6082 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6083 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6084 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6085 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6086 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6087 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6088 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6089 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6090 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6091 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6092 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6093 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6094 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6095 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6096 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6097 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6098 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6099 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6100 [XPG4 || UNIX98] (gai_strerror): Likewise.
6101 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6102 [XPG4 || UNIX98] (getnameinfo): Likewise.
6105 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6106 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6108 (getgrent): Likewise.
6109 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6111 [XPG3 || POSIX2008] (endgrent): Likewise.
6112 [XPG3] (setgrent): Likewise.
6113 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6115 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6118 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6119 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6120 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6121 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6122 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6123 * include/unistd.h (__getlogin_r): Declare. Use
6125 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6126 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6128 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6129 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6130 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6132 2015-06-12 Martin Sebor <msebor@redhat.com>
6135 * Makerules (check-install-supported): New target.
6136 (install): Add check-install-supported as a dependency.
6137 * manual/install.texi (Installing the C Library): Document
6138 that overriding prefix and exec_prefix is not supported.
6140 * INSTALL: Regenerate from the above.
6142 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6145 * posix/Versions (libc): Export __libc_pread at version
6147 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6149 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6154 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6155 (cvt_symbol): Use weak_alias instead of strong_alias.
6156 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6157 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6159 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6160 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6163 * inet/herrno.c (h_errno): Rename to __h_errno.
6164 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6165 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6166 to __h_errno instead of h_errno.
6167 * nptl/herrno.c (h_errno): Rename to __h_errno.
6168 (__h_errno_location): Refer to __h_errno not h_errno.
6169 * resolv/Versions (h_errno): Rename to __h_errno.
6170 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6172 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6174 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6176 * configure.ac: More strict check for AVX512 assembler support.
6177 * configure: Regenerated.
6179 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6180 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6181 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6182 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6183 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6184 * sysdeps/x86_64/fpu/Versions: New versions added.
6185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6186 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6187 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6194 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6195 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6196 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6197 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6198 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6199 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6200 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6202 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6203 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6204 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6205 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6206 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6207 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6208 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6209 * NEWS: Mention addition of x86_64 vector sin.
6211 2015-06-11 Florian Weimer <fweimer@redhat.com>
6213 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6216 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6219 * nptl/pt-interp.c: New file.
6220 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6222 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6223 $(common-objpfx)runtime-linker.h.
6225 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6227 * Makeconfig (+interp): Remove unused variable.
6228 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6229 only. Depend on $(common-objpfx)runtime-linker.h instead of
6230 $(elf-objpfx)runtime-linker.h.
6231 ($(elf-objpfx)runtime-linker.h): Rename to
6232 $(common-objpfx)runtime-linker.h and move ...
6233 * Makerules [$(build-shared) = yes]: ... here.
6234 * elf/interp.c: Include <runtime-linker.h> instead of
6235 <elf/runtime-linker.h>.
6237 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6239 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6240 (__gettimeofday_syscall): Remove vsyscall fallback.
6241 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6242 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6243 Add syscall fallback function.
6244 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6245 if vDSO is not present.
6246 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6248 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6250 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6251 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6253 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6256 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6258 (wcscmp): Define as weak alias of WCSCMP.
6259 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6261 (USE_HIDDEN_DEF): Define.
6262 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6263 __wcscoll. Don't use libc_hidden_weak.
6264 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6266 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6267 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6269 (weak_alias): Undefine and redefine.
6270 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6271 __wcscmp and define as weak alias of __wcscmp.
6272 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6273 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6274 (__wcscoll): Likewise.
6275 (wcscmp): Don't use libc_hidden_proto.
6276 (wcscoll): Likewise.
6277 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6279 * posix/regexec.c (check_node_accept_bytes): Likewise.
6280 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6282 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6283 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6286 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6287 __fstatvfs and define as weak alias of __fstatvfs. Use
6289 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6290 and define as weak alias of __statvfs. Use libc_hidden_weak.
6291 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6292 Define as alias of __fstatvfs, not fstatvfs.
6293 (fstatvfs64): Likewise.
6294 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6295 Define as alias of __statvfs, not statvfs.
6296 (statvfs64): Likewise.
6297 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6300 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6303 (HAVE_GETCPU_VSYSCALL): Define.
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6305 (HAVE_GETCPU_VSYSCALL): Likewise.
6306 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6307 * sysdeps/unix/sysv/linux/sched_getcpu.c
6308 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6309 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6310 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6312 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6313 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6314 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6318 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6322 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6324 * sysdeps/x86_64/fpu/Makefile: New file.
6325 * sysdeps/x86_64/fpu/Versions: New file.
6326 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6327 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6328 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6329 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6330 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6331 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6332 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6336 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6337 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6338 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6339 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6340 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6341 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6342 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6343 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6344 * sysdeps/x86_64/configure: Regenerated.
6345 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6346 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6347 * manual/install.texi (Configuring and compiling): Document
6349 * INSTALL: Regenerated.
6350 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6352 * math/Makefile: Added rules for vector tests.
6353 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6354 declaration under condition.
6355 * math/test-double-vlen2.h: New file.
6356 * math/test-double-vlen4.h: New file.
6357 * math/test-double-vlen8.h: New file.
6358 * math/test-vec-loop.h: Added initialization macro.
6359 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6361 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6362 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6363 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6364 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6365 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6366 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6367 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6368 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6369 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6371 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6372 * sysdeps/x86_64/fpu/Versions: New versions added.
6373 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6374 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6376 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6377 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6378 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6379 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6380 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6381 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6382 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6383 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6384 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6385 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6386 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6387 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6388 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6389 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6390 * NEWS: Mention addition of x86_64 vector cosf.
6392 * math/Makefile: Added CFLAGS for new tests.
6393 * math/test-float-vlen16.h: New file.
6394 * math/test-float-vlen4.h: New file.
6395 * math/test-float-vlen8.h: New file.
6396 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6397 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6398 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6399 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6400 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6401 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6402 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6403 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6404 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6405 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6406 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6408 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6410 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6411 * locale/programs/ld-ctype.c: Likewise.
6413 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6415 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6416 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6417 bit_ZMM16_31_state): New macro.
6418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6419 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6421 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6423 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6425 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6427 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6429 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6432 * libio/memstream.c (open_memstream): Rename to __open_memstream
6433 and define as weak alias of __open_memstream.
6434 * include/stdio.h (__open_memstream): Declare. Use
6436 (open_memstream): Don't use libc_hidden_proto.
6437 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6439 * posix/getopt.c (_getopt_internal_r): Likewise.
6440 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6442 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6443 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6444 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6447 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6451 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6452 [__USE_XOPEN2K8]. Remove redundant #endif.
6453 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6454 Remove redundant #if.
6455 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6457 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6458 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6461 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6462 (__iswlower): Likewise.
6463 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
6464 (__iswlower): Likewise.
6465 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6466 instead of towlower.
6467 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6468 instead of iswlower. Call __towupper instead of towupper.
6469 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6470 instead of iswalnum.
6472 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6474 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6477 2015-06-05 Florian Weimer <fweimer@redhat.com>
6481 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6482 Check for overflow properly. Check for O_APPEND. Ignore large
6483 file system block sizes. Add comments about problems.
6484 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6485 * manual/filesys.texi (Storage Allocation): New node.
6487 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6489 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6490 cancellable syscalls.
6491 (SYS_ify): Add guard to no redefine it.
6492 (INLINE_SYSCALL): Likewise.
6493 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6494 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6495 SYSCALL_CANCEL instead.
6496 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6497 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6498 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6499 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6500 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6502 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6503 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6504 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6505 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6506 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6507 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6508 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6509 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6510 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6514 (__libc_pread64): Likewise.
6515 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6516 (__libc_preadv): Likewise.
6517 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6518 (__libc_readv64): Likewise.
6519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6520 (__libc_pwrite): Likewise.
6521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6522 (__libc_pwrite64): Likewise.
6523 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6524 (__libc_pwritev): Likewise.
6525 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6526 (__libc_pwritev64): Likewise.
6527 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6528 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6529 (sync_file_range): Likewise.
6530 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6532 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6534 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6535 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6536 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6537 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6538 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6539 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6540 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6541 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6545 (__libc_read64): Likewise.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6555 (__libc_pread64): Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6559 (__libc_pwrite64): Likewise.
6560 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6561 (sync_file_range): Likewise.
6562 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6563 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6564 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6565 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6566 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6567 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6568 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6569 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6570 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6571 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6572 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6573 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6574 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6575 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6576 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6577 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6578 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6579 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6582 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6584 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6585 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6587 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6588 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6589 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6590 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6592 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6593 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6594 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6596 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6598 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
6600 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
6602 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
6603 Use VDSO routines for gettimeofday, clock_gettime if
6605 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
6606 Declare VDSO symbols.
6607 * sysdeps/unix/sysv/linux/arm/sysdep.h:
6608 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
6609 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6610 * sysdeps/unix/sysv/linux/arm/Versions: Add
6611 __vdso_clock_gettime.
6613 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6615 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
6616 be an inline implementation regardless of library is built within.
6617 (open_not_cancel_2): Likewise.
6618 (__read_nocancel): Likewise.
6619 (__write_nocancel): Likewise.
6620 (openat_not_cancel): Likewise.
6621 (openat_not_cancel_3): Likewise.
6622 (openat64_not_cancel): Likewise.
6623 (openat64_not_cancel_3): Likewise.
6624 (__close_nocancel): Likewise.
6625 (pause_not_cancel): Likewise.
6626 (nanosleep_not_cancel): Likewise.
6627 (sigsuspend_not_cancel): Likewise.
6629 2015-06-04 Torvald Riegel <triegel@redhat.com>
6632 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
6634 (__pthread_rwlock_rdlock_slow): Likewise.
6635 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6637 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6639 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
6640 * nptl/tst-rwlock16.c: New file.
6641 * nptl/Makefile (tests): Add new test.
6643 2015-06-04 Torvald Riegel <triegel@redhat.com>
6646 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
6647 missing wake-up of readers.
6648 * nptl/tst-rwlock15.c: New file.
6649 * nptl/Makefile (tests): Add new test.
6651 2015-06-03 Roland McGrath <roland@hack.frob.com>
6653 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
6654 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
6655 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
6656 and __nacl_supply_interface_rtld.
6657 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
6658 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
6659 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
6660 Add __nacl_supply_interface_rtld.
6661 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
6663 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6665 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
6667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6668 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
6670 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
6672 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
6673 __signbit* with standard C99 macros.
6674 * math/e_exp10l.c: Likewise.
6675 * math/e_exp2l.c: Likewise.
6676 * math/e_scalb.c: Likewise.
6677 * math/e_scalbf.c: Likewise.
6678 * math/e_scalbl.c: Likewise.
6679 * math/s_ldexp.c: Likewise.
6680 * math/s_ldexpf.c: Likewise.
6681 * math/s_ldexpl.c: Likewise.
6682 * math/w_atan2.c: Likewise.
6683 * math/w_atan2f.c: Likewise.
6684 * math/w_atan2l.c: Likewise.
6685 * math/w_cosh.c: Likewise.
6686 * math/w_coshf.c: Likewise.
6687 * math/w_coshl.c: Likewise.
6688 * math/w_exp10.c: Likewise.
6689 * math/w_exp10f.c: Likewise.
6690 * math/w_exp10l.c: Likewise.
6691 * math/w_exp2.c: Likewise.
6692 * math/w_exp2f.c: Likewise.
6693 * math/w_exp2l.c: Likewise.
6694 * math/w_fmod.c: Likewise.
6695 * math/w_fmodf.c: Likewise.
6696 * math/w_fmodl.c: Likewise.
6697 * math/w_hypot.c: Likewise.
6698 * math/w_hypotf.c: Likewise.
6699 * math/w_hypotl.c: Likewise.
6700 * math/w_jnl.c: Likewise.
6701 * math/w_lgamma.c: Likewise.
6702 * math/w_lgamma_r.c: Likewise.
6703 * math/w_lgammaf.c: Likewise.
6704 * math/w_lgammaf_r.c: Likewise.
6705 * math/w_lgammal.c: Likewise.
6706 * math/w_lgammal_r.c: Likewise.
6707 * math/w_pow.c: Likewise.
6708 * math/w_powf.c: Likewise.
6709 * math/w_powl.c: Likewise.
6710 * math/w_remainder.c: Likewise.
6711 * math/w_remainderf.c: Likewise.
6712 * math/w_remainderl.c: Likewise.
6713 * math/w_scalb.c: Likewise.
6714 * math/w_scalbf.c: Likewise.
6715 * math/w_scalbl.c: Likewise.
6716 * math/w_scalbln.c: Likewise.
6717 * math/w_scalblnf.c: Likewise.
6718 * math/w_scalblnl.c: Likewise.
6719 * math/w_sinh.c: Likewise.
6720 * math/w_sinhf.c: Likewise.
6721 * math/w_sinhl.c: Likewise.
6722 * math/w_tgamma.c: Likewise.
6723 * math/w_tgammaf.c: Likewise.
6724 * math/w_tgammal.c: Likewise.
6725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6726 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
6727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6731 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6735 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
6756 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
6757 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
6758 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
6759 * stdio-common/printf_fp.c: Likewise.
6760 * stdio-common/printf_fphex.c: Likewise.
6761 * stdio-common/printf_size.c: Likewise.
6763 2015-06-03 Joseph Myers <joseph@codesourcery.com>
6766 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
6768 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
6770 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6771 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6772 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6773 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6774 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6775 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6776 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6777 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6778 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6779 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6782 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
6783 weak alias of __wmemchr. Use libc_hidden_weak.
6784 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
6785 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
6788 2015-06-02 Roland McGrath <roland@hack.frob.com>
6791 * elf/tst-tlsalign-extern.c: New file.
6792 * elf/tst-tlsalign-extern-static.c: New file.
6793 * elf/tst-tlsalign-vars.c: New file.
6794 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
6795 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
6796 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
6797 ($(objpfx)tst-tlsalign-extern-static): Likewise.
6798 (test-xfail-tst-tlsalign-extern-static): New variable.
6800 2015-06-02 Joseph Myers <joseph@codesourcery.com>
6802 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
6803 Use variable name _sc_err instead of err.
6804 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
6806 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6807 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
6808 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
6809 (INLINE_SYSCALL): Likewise.
6811 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
6812 * include/string.h (__strnlen): Use libc_hidden_proto.
6813 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
6814 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
6815 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
6817 (libc_hidden_def): Undefine and redefine.
6818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
6819 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
6821 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
6823 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
6826 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
6827 weak alias of __towlower. Use libc_hidden_weak.
6828 (towupper): Rename to __towupper and define as weak alias of
6829 __towupper. Use libc_hidden_weak.
6830 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
6831 (__towupper): Likewise.
6832 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
6833 __towlower instead of towlower.
6835 2015-06-02 Roland McGrath <roland@hack.frob.com>
6837 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
6838 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
6840 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6842 * sysdeps/aarch64/libm-test-ulps: Update.
6844 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6846 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
6848 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6850 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6851 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6852 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
6853 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
6854 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
6856 2015-06-01 Martin Sebor <msebor@redhat.com>
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6860 (__setcontext): Use extended four-operand version of mtsf whenever
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6863 (__novec_swapcontext): Likewise.
6865 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6867 * benchtests/scripts/compare_bench.py: New file.
6868 * benchtests/scripts/import_bench.py (mean): New function.
6869 (split_list): Likewise.
6870 (do_for_all_timings): Likewise.
6871 (compress_timings): Likewise.
6873 * benchtests/scripts/import_bench.py: New file.
6874 * benchtests/scripts/validate_benchout.py: Import import_bench
6875 instead of jsonschema.
6876 (validate_bench): Remove function.
6877 (main): Use import_bench.
6879 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
6881 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
6882 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
6884 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6888 2015-05-28 Roland McGrath <roland@hack.frob.com>
6890 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
6891 set THREAD_SELF->tid to a magic value and futex-wake it.
6892 Pass its address to the thread_exit system call.
6893 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
6895 * sysdeps/nacl/lowlevellock.h: New file.
6896 * sysdeps/nacl/lll_timedwait_tid.c: New file.
6898 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
6899 Add TIMEOUT to current time, don't subtract it.
6901 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
6905 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
6906 ($(objpfx)tst-audit2.out): Also depend on
6907 $(objpfx)tst-auditmod9b.so.
6908 * elf/tst-audit2.c: Include <dlfcn.h>.
6909 (calloc_called): New.
6910 (calloc): Allow to be called more than once.
6911 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
6913 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
6915 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
6916 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
6918 2015-05-27 Marko Myllynen <myllynen@redhat.com>
6920 * stdlib/monetary.h: Fix comment.
6922 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
6924 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
6925 Avoid using variables in #defines that might cause shadowing.
6926 (INTERNAL_VSYSCALL_CALL): Likewise.
6928 2015-05-26 Roland McGrath <roland@hack.frob.com>
6930 * sysdeps/nacl/lll_timedlock_wait.c: New file.
6932 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
6933 * nptl/lll_timedlock_wait.c: ... to this new file.
6934 * nptl/Makefile (libpthread-routines): Add it.
6935 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
6936 * nptl/lll_timedwait_tid.c: ... to this new file.
6937 * nptl/Makefile (libpthread-routines): Add it.
6938 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
6939 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
6940 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
6941 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
6942 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
6943 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
6944 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
6945 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
6946 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
6947 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
6949 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6951 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
6952 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
6953 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6955 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6957 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6959 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6960 * sysdeps/unix/sysv/linux/tile/sysdep.h
6961 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6962 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6963 using vDSO syscall macro.
6965 2015-05-26 Andriy Rysin <arysin@gmail.com>
6968 * uk_UA: Fix sorting order for Ukrainian locale
6970 2015-05-26 Marko Myllynen <myllynen@redhat.com>
6972 * stdlib/monetary.h: Fix comment.
6974 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6977 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6978 st_mtim and st_ctim members.
6979 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6980 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6981 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6982 (struct stat64): Likewise.
6983 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6984 (struct stat64): Likewise.
6985 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6986 (struct stat64): Likewise.
6988 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6990 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6991 Define and include sysdep-vdso.h.
6992 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6994 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6996 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6997 Define with VDSO_SYMBOL and use PTR_MANGLE.
6998 (__vdso_clock_gettime): Likewise.
6999 (__vdso_clock_getres): Likewise.
7000 (_libc_vdso_platform_setup): Likewise.
7001 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7003 (_libc_vdso_platform_setup): Likewise.
7004 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7006 (__vdso_clock_gettime): Likewise.
7007 (__vdso_clock_getres): Likewise.
7008 (__vdso_get_tbfreq): Likewise.
7009 (__vdso_getcpu): Likewise.
7010 (__vdso_time): Likewise.
7011 (__vdso_sigtramp_rt64): Likewise.
7012 (__vdso_signtramp32): Likewise.
7013 (__vdso_sigtramp_rt32): Likewise.
7014 (_libc_vdso_platform_setup): Likewise.
7015 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7017 (__vdso_clock_gettime): Likewise.
7018 (__vdso_clock_getres): Likewise.
7019 (_libc_vdso_platform_setup): Likewise.
7020 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7022 (__vdso_clock_gettime): Likewise.
7023 (_libc_vdso_platform_setup): Likewise.
7024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7026 (__vdso_getcpu): Likewise.
7027 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7028 Use VDSO_SYMBOL macro to define.
7029 (__vdso_clock_gettime): Likewise.
7030 (__vdso_clock_getres): Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7033 (__vdso_clock_gettime): Likewise.
7034 (__vdso_clock_getres): Likewise.
7035 (__vdso_get_tbfreq): Likewise.
7036 (__vdso_getcpu): Likewise.
7037 (__vdso_time): Likewise.
7038 (__vdso_sigtramp_rt64): Likewise.
7039 (__vdso_signtramp32): Likewise.
7040 (__vdso_sigtramp_rt32): Likewise.
7041 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7043 (__vdso_clock_gettime): Likewise.
7044 (__vdso_clock_getres): Likewise.
7045 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7047 (__vdso_clock_gettime): Likewise.
7048 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
7052 (INTERNAL_VSYSCALL): Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7055 (INTERNAL_VSYSCALL): Likewise.
7056 (INTERNAL_VSYSCALL_NCS): Likewise.
7057 (INTERNAL_VSYSCALL_CALL): New macro.
7058 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7061 (INTERNAL_VSYSCALL): Likewise.
7062 (INTERNAL_VSYSCALL_NCS): Likewise.
7063 (INTERNAL_VSYSCALL_CALL): New macro.
7064 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7066 (INLINE_VSYSCALL): Remove macro.
7067 (INTERNAL_VSYSCALL): Remove macro.
7068 (INTERNAL_VSYSCALL_NCS): Remove macro.
7069 (INTERNAL_VSYSCALL_CALL): New macro.
7070 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7071 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7072 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7073 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7074 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7076 (INLINE_VSYSCALL): Remove macro.
7077 (INTERNAL_VSYSCALL): Likewise.
7078 (INTERNAL_VSYSCALL_NCS): Likewise.
7079 (INTERNAL_VSYSCALL_CALL): New macro.
7080 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7081 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7082 PTR_DEMANGLE on vDSO pointer.
7083 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7084 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7086 (INTERNAL_SYSCALL): Likewise.
7087 (INTERNAL_VSYSCALL_NCS): Remove macro.
7088 (INTERNAL_VSYSCALL_CALL): New macro.
7089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7091 (INTERNAL_VSYSCALL): Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7093 sysdep-vdso.h instead of libc-vdso.h.
7094 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7096 (INLINE_VSYSCALL): Likewise.
7097 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7098 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7100 (INLINE_VSYSCALL): Likewise.
7101 (INTERNAL_VSYSCALL): Likewise.
7102 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7103 * sysdeps/unix/sysv/linux/timespec_get.c
7104 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7105 (timespec_get): Use ANSI prototype.
7106 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7107 and definition for Linux.
7109 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7111 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7112 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7114 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7118 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7119 for missing DT_PLTRELSZ.
7121 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7123 Remove obsolete aliases that broke 'locale -a'
7125 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7126 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7127 breaking some applications that use 'locale -a' output.
7128 Change the encoding of this file from Latin-1 to ASCII to avoid
7129 other potential problems with people grepping this file.
7131 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7133 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7134 -fasynchronous-unwind-tables.
7135 (CFLAGS-sendto.c): Likewise.
7136 (CFLAGS-sendmsg.c): Likewise.
7137 (CFLAGS-connect.c): Likewise.
7138 (CFLAGS-recvmsg.c): Likewise.
7139 (CFLAGS-recvfrom.c): Likewise.
7140 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7141 (SOCKETCALL): New macro: non-cancellable socketcall.
7142 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7143 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7144 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7145 * sysdeps/unix/sysv/linux/accept.c: New file.
7146 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7147 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7148 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7149 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7150 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7151 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7152 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7153 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7154 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7155 * sysdeps/unix/sysv/linux/send.c: Likewise.
7156 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7157 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7158 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7159 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7160 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7161 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7162 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7164 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7165 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7166 instead of __internal_xxx function.
7167 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7169 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7170 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7171 instead of __internal_xxx function.
7172 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7174 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7175 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7176 instead of __internal_xxx function.
7177 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7178 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7179 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7180 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7181 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7182 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7183 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7184 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7185 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7186 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7187 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7189 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7190 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7191 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7192 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7193 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7194 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7195 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7196 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7199 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7200 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7201 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7202 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7203 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7204 * sysdeps/unix/sysv/linux/send.S: Likewise.
7205 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7206 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7207 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7208 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7209 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7210 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7213 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7214 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7215 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7216 socketcall is implemented in GLIBC.
7218 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7220 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7221 (__fma): Ignore uninitialized warnings around packing.
7222 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7223 (__fmaf): Ignore uninitialized warnings around packing.
7224 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7225 (__fmal): Ignore uninitialized warnings around packing.
7227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7228 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7229 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7230 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7232 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7233 switch statement into default case.
7234 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7236 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7237 a conditional in forcing "inexact".
7238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7241 2015-05-22 Roland McGrath <roland@hack.frob.com>
7243 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7244 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7245 for each INTERNAL_SYSCALL use.
7247 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7250 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7251 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7255 * string/basename.c (basename): Rename to __basename and define as
7256 weak alias of __basename. Use libc_hidden_weak.
7257 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7258 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7259 __basename instead of basename.
7260 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7262 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7264 2015-05-18 Florian Weimer <fweimer@redhat.com>
7266 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7267 (_IO_JUMPS_FILE_plus): New.
7268 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7269 _IO_CAST_FIELD_ACCESS.
7270 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7271 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7272 * libio/freopen.c (freopen): Likewise.
7273 * libio/freopen64.c (freopen64): Likewise.
7274 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7275 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7276 * libio/iofwide.c (_IO_fwide): Likewise.
7277 * libio/memstream.c (open_memstream): Likewise.
7278 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7279 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7280 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7282 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7285 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7288 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7290 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7291 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7294 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7297 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7298 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7300 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7301 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7302 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7304 2015-05-21 Florian Weimer <fweimer@redhat.com>
7306 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7307 Adjust jump table label generation macros.
7309 2015-05-21 Florian Weimer <fweimer@redhat.com>
7311 * stdio-common/vfprintf.c (vfprintf): Move local variables
7312 args_malloced, specs, specs_malloced, and the code after
7313 do_positional to the printf_positional function.
7314 (printf_positional): New function.
7316 2015-05-21 Florian Weimer <fweimer@redhat.com>
7318 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7320 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7321 STEP4_TABLE, process_arg): Move macro definitions
7322 out of the vfprintf function. (Cosmetic change only.)
7324 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7326 * benchtests/Makefile (stdio-common-bench): Define.
7327 (benchset): Add stdio-common-bench.
7328 * sprintf-inputs: New file.
7329 * sprintf-source.c: New file.
7331 2015-05-21 Andreas Schwab <schwab@suse.de>
7335 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7336 of struct __res_state.
7337 * resolv/res_send.c (__libc_res_nsend): Likewise.
7338 (get_nsaddr): New function.
7339 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7342 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7344 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7345 -D_POSIX_C_SOURCE=199506L.
7347 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7349 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7350 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7351 Do not mention otherwise.
7352 [POSIX] (_XOPEN_VERSION): Do not expect.
7353 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7354 [POSIX] (_POSIX2_C_BIND): Likewise.
7355 [POSIX] (_POSIX2_VERSION): Likewise.
7356 [POSIX] (_XOPEN_XPG2): Likewise.
7357 [POSIX] (_XOPEN_XPG3): Likewise.
7358 [POSIX] (_XOPEN_XPG4): Likewise.
7359 [POSIX] (_XOPEN_UNIX): Likewise.
7360 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7361 [POSIX] (_POSIX_BARRIERS): Likewise.
7362 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7363 [POSIX] (_POSIX_CPUTIME): Likewise.
7364 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7365 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7366 [POSIX] (_POSIX_SHELL): Likewise.
7367 [POSIX] (_POSIX_SPAWN): Likewise.
7368 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7369 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7370 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7371 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7372 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7373 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7374 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7375 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7376 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7377 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7378 [POSIX] (_POSIX2_PBS): Likewise.
7379 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7380 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7381 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7382 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7383 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7384 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7385 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7386 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7387 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7388 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7389 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7390 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7391 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7392 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7393 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7394 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7395 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7396 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7397 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7398 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7399 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7400 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7401 [POSIX] (_SC_2_C_BIND): Likewise.
7402 [POSIX] (_SC_2_C_VERSION): Likewise.
7403 [POSIX] (_SC_2_PBS): Likewise.
7404 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7405 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7406 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7407 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7408 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7409 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7410 [POSIX] (_SC_BARRIERS): Likewise.
7411 [POSIX] (_SC_BASE): Likewise.
7412 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7413 [POSIX] (_SC_DEVICE_IO): Likewise.
7414 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7415 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7416 [POSIX] (_SC_FD_MGMT): Likewise.
7417 [POSIX] (_SC_FIFO): Likewise.
7418 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7419 [POSIX] (_SC_FILE_LOCKING): Likewise.
7420 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7421 [POSIX] (_SC_IOV_MAX): Likewise.
7422 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7423 [POSIX] (_SC_NETWORKING): Likewise.
7424 [POSIX] (_SC_PAGE_SIZE): Likewise.
7425 [POSIX] (_SC_PASS_MAX): Likewise.
7426 [POSIX] (_SC_PIPE): Likewise.
7427 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7428 [POSIX] (_SC_REGEXP): Likewise.
7429 [POSIX] (_SC_SHELL): Likewise.
7430 [POSIX] (_SC_SIGNALS): Likewise.
7431 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7432 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7433 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7434 [POSIX] (_SC_USER_GROUPS): Likewise.
7435 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7436 [POSIX] (_SC_STREAMS): Likewise.
7437 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7438 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7439 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7440 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7441 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7442 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7443 [POSIX] (_PC_FILESIZEBITS): Likewise.
7444 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7445 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7446 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7447 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7448 [POSIX] (uid_t): Likewise.
7449 [POSIX] (gid_t): Likewise.
7450 [POSIX] (off_t): Likewise.
7451 [POSIX] (pid_t): Likewise.
7452 [POSIX] (cuserid): Allow.
7453 (_SC_2_CHAR_TERM): Require constant.
7454 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7455 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7458 2015-05-20 Roland McGrath <roland@hack.frob.com>
7460 * sysdeps/nacl/pthread-pids.h: New file.
7461 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7462 (create_thread): Use __nacl_get_tid to initialize PD->tid.
7464 * nptl/pthread-pids.h: New file.
7465 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7466 * nptl/nptl-init.c: Include <pthread-pids.h>.
7467 (__pthread_initialize_minimal_internal):
7468 Call __pthread_initialize_pids instead of set_tid_address syscall.
7470 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7471 * sysdeps/posix/usleep.c: ... here.
7473 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7475 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7476 call_pselect6 object.
7477 [$(subdir) = io]: Remove call_sync_file_range object.
7478 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7479 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7480 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7481 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7483 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
7485 * math/s_cproj.c: Add include "math_private.h".
7486 * math/s_cprojf.c: Likewise.
7487 * math/s_cprojl.c: Likewise.
7489 2015-05-19 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7493 high mantissa bit when testing whether P is a NaN.
7494 * math/libm-test.inc (remainder_test_data): Add more tests.
7495 (remquo_test_data): Likewise.
7498 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7499 below -32, return the argument, with underflow if subnormal.
7500 * math/auto-libm-test-in: Add more tests of atanh.
7501 * math/auto-libm-test-out: Regenerated.
7503 2015-05-19 Roland McGrath <roland@hack.frob.com>
7506 * nptl/tst-sem15.c: New file.
7507 * nptl/Makefile (tests): Add it.
7508 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7509 s/<</>>/ to fix typo in EOVERFLOW check.
7510 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7512 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7514 * manual/strings.texi (envz_remove): Fix typo in safety
7517 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
7518 Steve Ellcey <sellcey@imgtec.com>
7520 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7521 in order to avoid strict alias warnings.
7522 (iruserok_af): Ditto for ra.
7524 2015-05-19 James Lemke <jwlemke@codesourcery.com>
7528 (magicbyte): Convert to a function and avoid returning 0x01.
7529 (mem2mem_check): Avoid using a length byte equal to the magic byte.
7530 (mem2chunk_check): Fix unsigned comparisons to zero.
7531 Hoist defs of sz and magic.
7533 2015-05-19 Richard Henderson <rth@redhat.com>
7535 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7537 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7539 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7543 * malloc/arena.c (arena_lock): Check if arena is corrupt.
7544 (reused_arena): Find a non-corrupt arena.
7545 (heap_trim): Pass arena to unlink.
7546 * malloc/hooks.c (malloc_check_get_size): Pass arena to
7548 (top_check): Likewise.
7549 (free_check): Likewise.
7550 (realloc_check): Likewise.
7551 * malloc/malloc.c (malloc_printerr): Add arena argument.
7553 (munmap_chunk): Adjust.
7554 (ARENA_CORRUPTION_BIT): New macro.
7555 (arena_is_corrupt): Likewise.
7556 (set_arena_corrupt): Likewise.
7557 (sysmalloc): Use mmap if there are no usable arenas.
7558 (_int_malloc): Likewise.
7559 (__libc_malloc): Don't fail if arena_get returns NULL.
7560 (_mid_memalign): Likewise.
7561 (__libc_calloc): Likewise.
7562 (__libc_realloc): Adjust for additional argument to
7564 (_int_free): Likewise.
7565 (malloc_consolidate): Likewise.
7566 (_int_realloc): Likewise.
7567 (_int_memalign): Don't touch corrupt arenas.
7568 * malloc/tst-malloc-backtrace.c: New test case.
7570 * Makefile (summarize-tests): Fix return value on success.
7572 * manual/string.texi (Envz Functions): Add envz_remove.
7574 2015-05-18 Roland McGrath <roland@hack.frob.com>
7576 * sysdeps/posix/opendir.c: Include <stdbool.h>.
7577 (invalid_name): New function, broken out of ...
7578 (__opendirat): ... here. Call it.
7579 (need_isdir_precheck): New function, broken out of ...
7580 (__opendirat): ... here. Call it.
7581 Use __fxstatat64, not __xstatat64.
7582 (opendir_oflags): New function, broken out of ...
7583 (__opendirat): ... here. Call it.
7584 (opendir_tail): New function, broken out of ...
7585 (__opendirat): ... here. Call it.
7586 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7587 opendir_tail, rather than punting to __opendirat.
7588 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7590 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7592 * .gitignore: Ignore generated *.pyc.
7594 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
7596 * include/stdio.h: Define __need_wint_t.
7597 * test-skeleton.c: Avoid `for' loop initial declaration.
7598 * nptl/tst-initializers1.c: Use test-skeleton.c.
7600 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7603 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
7605 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7608 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
7609 (__ieee754_atanh): Force underflow exception for results with
7610 small absolute value.
7611 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
7612 (__ieee754_atanhf): Force underflow exception for results with
7613 small absolute value.
7614 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
7615 (__ieee754_atanh): Force underflow exception for results with
7616 small absolute value.
7617 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
7618 (__ieee754_atanhf): Force underflow exception for results with
7619 small absolute value.
7620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
7621 (__ieee754_atanhl): Force underflow exception for results with
7622 small absolute value.
7623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
7624 (__ieee754_atanhl): Force underflow exception for results with
7625 small absolute value.
7626 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
7627 (__ieee754_atanhl): Force underflow exception for results with
7628 small absolute value.
7629 * math/auto-libm-test-in: Do not allow missing underflow
7630 exceptions from atanh.
7631 * math/auto-libm-test-out: Regenerated.
7634 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
7635 2**-28 as threshold for returning x or +/- 1/x.
7636 * math/auto-libm-test-in: Add more tests of tan.
7637 * math/auto-libm-test-out: Regenerated.
7640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7641 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
7642 * math/auto-libm-test-in: Add another test of lgamma.
7643 * math/auto-libm-test-out: Regenerated.
7645 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
7647 * stdio-common/printf_fp.c (___printf_fp): Use abs.
7648 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
7649 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
7650 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
7651 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
7652 (ADD2A): Use fabs. (SUB2A): Use fabs.
7653 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
7654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
7655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
7656 (log1): Use fabs. (my_log2): Use fabs.
7657 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
7658 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
7659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
7660 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
7661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
7662 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
7663 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
7664 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
7665 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
7666 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
7667 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
7669 2015-05-15 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
7673 as threshold for returning 1 - x.
7674 * math/auto-libm-test-in: Add more tests of erfc.
7675 * math/auto-libm-test-out: Regenerated.
7677 2015-05-14 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
7681 threshold for large arguments.
7682 * math/auto-libm-test-in: Add another test of atan.
7683 * math/auto-libm-test-out: Regenerated.
7686 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
7687 (__log1p): Force underflow exception for results with small
7689 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
7690 (__log1pf): Force underflow exception for results with small
7692 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
7693 (__log1p): Force underflow exception for results with small
7695 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
7696 (__log1pf): Force underflow exception for results with small
7698 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
7699 (__log1pl): Force underflow exception for results with small
7701 * math/auto-libm-test-in: Do not allow missing underflow
7702 exceptions from log1p.
7703 * math/auto-libm-test-out: Regenerated.
7705 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
7706 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7709 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
7711 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
7713 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
7714 (libmvec): New variable.
7715 * configure.ac: Added option for mathvec build.
7716 * configure: Regenerated.
7717 * mathvec/Depend: New file.
7718 * mathvec/Makefile: New file.
7719 * shlib-versions: Added libmvec.
7720 * math/Makefile: Added rule for libm.so installation.
7722 * bits/math-vector.h: New file.
7723 * bits/libm-simd-decl-stubs.h: New header.
7724 * math/Makefile (headers): Added new header
7725 libm-simd-decl-stubs.h.
7726 * math/math.h (__MATHCALL_VEC): New macro.
7728 * math/gen-libm-have-vector-test.sh: Script generates series of macros
7729 for conditions in testing functions.
7730 * math/Makefile: Added call of libm-have-vector-test.sh.
7731 * math/libm-test.inc (HAVE_VECTOR): New macros.
7733 * math/libm-test.inc: START refactored.
7734 * math/test-double.c (TEST_MATHVEC): Add define.
7735 * math/test-float.c: Likewise.
7736 * math/test-idouble.c: Likewise.
7737 * math/test-ifloat.c: Likewise.
7738 * math/test-ildoubl.c: Likewise.
7739 * math/test-ldouble.c: Likewise.
7740 * sysdeps/generic/math-tests-arch.h
7741 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
7744 * math/test-double.c (FUNC_TEST): New macro.
7745 * math/test-float.c: Likewise.
7746 * math/test-idouble.c: Likewise.
7747 * math/test-ifloat.c: Likewise.
7748 * math/test-ildoubl.c: Likewise.
7749 * math/test-ldouble.c: Likewise.
7750 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
7752 2015-05-13 Roland McGrath <roland@hack.frob.com>
7754 * sysdeps/nacl/fdopendir.c: New file.
7756 * dirent/scandir-tail.c: New file.
7757 * dirent/scandir64-tail.c: New file.
7758 * dirent/Makefile (routines): Add them.
7759 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
7760 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
7761 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7762 [!SCANDIR] (SCANDIR_TAIL): New macro.
7763 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
7764 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
7765 (SCANDIRAT): Macro removed.
7766 (SCANDIR_TAIL): New macro.
7767 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
7768 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
7769 (SCANDIRAT): Just call __opendirat and __scandir_tail.
7770 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
7771 (READDIR): Macro removed.
7772 (SCANDIR_TAIL): New macro.
7773 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
7774 (SCANDIR_TAIL): New macro.
7776 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
7777 * dirent/scandir-cancel.c: ... to this new file.
7778 * dirent/Makefile (routines): Add it.
7779 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
7780 * sysdeps/unix/sysv/linux/i386/scandir64.c
7781 (SKIP_SCANDIR_CANCEL): Macro removed.
7782 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
7784 * dirent/tst-scandir.c: New file.
7785 * dirent/tst-scandir64.c: New file.
7786 * dirent/Makefile (tests): Add them.
7788 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
7791 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
7793 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
7795 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
7798 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
7800 * benchtests/bench-strcoll.c: New benchmark.
7801 * benchtests/Makefile: Generate locales and run benchmark.
7802 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
7803 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7804 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
7805 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
7806 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
7807 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
7808 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
7809 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
7810 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
7811 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
7812 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
7813 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
7814 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
7815 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
7816 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
7817 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
7818 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
7819 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
7820 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
7821 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
7822 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
7823 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
7824 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
7825 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
7827 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
7829 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
7830 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7832 2015-05-12 Roland McGrath <roland@hack.frob.com>
7834 * posix/uname-values.h: New file.
7835 * posix/uname.c: Include that instead of <config-name.h>.
7836 * sysdeps/nacl/uname-values.h: New file.
7837 * sysdeps/arm/nacl/uname-values.h: New file.
7839 2015-05-12 Joseph Myers <joseph@codesourcery.com>
7841 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
7842 splitting into fields.
7844 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
7846 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
7847 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
7848 * locale/localeinfo.h: Add enum collation_encoding_type.
7849 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
7850 * programs/ld-collate.c (collate_output): Add encoding type info.
7851 * string/strcoll_l.c (STRDIFF): New function.
7852 * (STRCOLL): Use STRDIFF to skip over equal prefix.
7853 * wcsmbs/wcscoll_l.c: Define STRDIFF.
7855 2015-05-11 Joseph Myers <joseph@codesourcery.com>
7858 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
7859 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
7860 <fpu_control.h> instead of <math/fpu_control.c>.
7861 * sysdeps/mips/mips32/fpu/Makefile: New file.
7863 2015-05-11 Andreas Schwab <schwab@suse.de>
7866 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
7868 (_nss_compat_endgrent): Call nss_endgrent.
7869 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
7871 (_nss_compat_endpwent): Call nss_endpwent.
7872 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
7873 needent, call nss_setspent only if non-zero.
7874 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
7875 (internal_endspent): Don't call nss_endspent.
7876 (_nss_compat_endspent): Call nss_endspent.
7877 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
7878 Remove. All uses removed.
7879 (internal_setent): Remove parameter stayopen, add parameter
7880 stream. Use it instead of global variable.
7881 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
7882 (internal_endent, internal_getent): Add parameter stream. Use it
7883 instead of global variable.
7884 (CONCAT(_nss_files_end,ENTNAME))
7885 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
7886 (_nss_files_get##name##_r): Pass local stream. Remove locking.
7887 * nss/nss_files/files-alias.c (position, last_use): Remove. All
7889 (internal_setent, internal_endent): Add parameter stream. Use it
7890 instead of global variable.
7891 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
7893 (get_next_alias): Add parameter stream.
7894 (_nss_files_getaliasent_r): Pass global stream.
7895 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
7896 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
7897 (_nss_files_gethostbyname4_r): Pass local stream to
7898 internal_setent, internal_getent and internal_endent. Remove
7901 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7903 * tst-strfmon1.c (tests): Update expected currency symbol.
7905 2015-05-08 Roland McGrath <roland@hack.frob.com>
7907 * sysdeps/nacl/gethostname.c: New file.
7909 2015-05-08 Joseph Myers <joseph@codesourcery.com>
7911 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
7913 * math/auto-libm-test-out: Regenerated.
7914 * sysdeps/i386/fpu/libm-test-ulps: Update.
7915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7917 2015-05-08 Carlos O'Donell <carlos@redhat.com>
7920 * stdlib/tst-setcontext3.c: New file.
7921 * stdlib/tst-setcontext3.sh: New file.
7922 * stdlib/Makefile (tests): Add tst-setcontext3.
7923 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
7924 to verify test program created output file.
7925 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
7926 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
7927 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
7928 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
7930 2015-05-06 Roland McGrath <roland@hack.frob.com>
7933 * elf/tst-tlsalign.c: New file.
7934 * elf/tst-tlsalign-static.c: New file.
7935 * elf/tst-tlsalign-lib.c: New file.
7936 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
7937 (tests-static): Add tst-tlsalign-static.
7938 (modules-names): Add tst-tlsalign-lib.
7939 (test-xfail-tst-tlsalign): New variable.
7940 (test-xfail-tst-tlsalign-static): New variable.
7942 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
7943 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
7945 2015-05-06 Joseph Myers <joseph@codesourcery.com>
7947 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
7948 csqrt, erfc, sin and sincos.
7949 * math/auto-libm-test-out: Regenerated.
7950 * sysdeps/i386/fpu/libm-test-ulps: Update.
7951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7953 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7955 * sysdeps/aarch64/libm-test-ulps: Update.
7957 2015-05-05 Joseph Myers <joseph@codesourcery.com>
7959 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7960 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7961 * math/auto-libm-test-out: Regenerated.
7962 * sysdeps/i386/fpu/libm-test-ulps: Update.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
7968 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7969 (wcsncpy): Likewise.
7971 2015-05-05 Florian Weimer <fweimer@redhat.com>
7973 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7974 Assume __ASSUME_FALLOCATE is always true.
7975 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7976 (__posix_fallocate64_l64): Likweise.
7977 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7978 (posix_fallocate): Likewise.
7979 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7980 (__posix_fallocate64_l64): Likewise.
7981 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7982 [!__ASSUME_FALLOCATE]: Add comment.
7984 2015-05-05 Florian Weimer <fweimer@redhat.com>
7986 * sysdeps/unix/sysv/linux/i386/Makefile
7987 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7988 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7989 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7990 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7991 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7992 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7993 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7995 2015-05-02 Joseph Myers <joseph@codesourcery.com>
7997 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7998 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8000 * math/auto-libm-test-out: Regenerated.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8004 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8006 * math/auto-libm-test-in: Add more tests of tgamma.
8007 * math/auto-libm-test-out: Regenerated.
8008 * sysdeps/i386/fpu/libm-test-ulps: Update.
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011 * math/auto-libm-test-in: Add more tests of tanh.
8012 * math/auto-libm-test-out: Regenerated.
8013 * sysdeps/i386/fpu/libm-test-ulps: Update.
8014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016 * math/auto-libm-test-in: Add more tests of tan.
8017 * math/auto-libm-test-out: Regenerated.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8021 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8022 * math/auto-libm-test-out: Regenerated.
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8026 * math/auto-libm-test-in: Add another test of pow.
8027 * math/auto-libm-test-out: Regenerated.
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8030 * math/auto-libm-test-in: Add more tests of lgamma.
8031 * math/auto-libm-test-out: Regenerated.
8032 * sysdeps/i386/fpu/libm-test-ulps: Update.
8033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8035 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8037 * math/auto-libm-test-out: Regenerated.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8041 2015-05-01 Mark Wielaard <mjw@redhat.com>
8043 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8044 Elf64_Chdr structs and ELFCOMPRESS constants.
8046 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8048 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8050 * math/auto-libm-test-out: Regenerated.
8051 * sysdeps/i386/fpu/libm-test-ulps: Update.
8052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8054 * math/auto-libm-test-in: Add more tests of erf and erfc.
8055 * math/auto-libm-test-out: Regenerated.
8056 * sysdeps/i386/fpu/libm-test-ulps: Update.
8057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8061 * config.h.in (HAVE_AARCH64_BE): Add.
8063 2015-04-30 Joseph Myers <joseph@codesourcery.com>
8065 * math/auto-libm-test-in: Add more tests of csqrt.
8066 * math/auto-libm-test-out: Regenerated.
8067 * sysdeps/i386/fpu/libm-test-ulps: Update.
8068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8070 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8071 * math/auto-libm-test-out: Regenerated.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8075 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8077 2015-04-29 Roland McGrath <roland@hack.frob.com>
8079 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8080 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8082 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8083 (euidaccess, eaccess): Define as weak aliases.
8085 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8086 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8087 but __suseconds_t is often 'long int' so some sources assume that
8088 type is being used (e.g. they use %ld to print tv_usec).
8090 2015-04-29 Florian Weimer <fweimer@redhat.com>
8093 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8095 * nss/tst-nss-getpwent.c: New file.
8096 * nss/Makefile (tests): Add new test.
8098 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8101 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8102 exponents less than 48 as cases where high part of mantissa needs
8103 examining to determine whether argument is integral.
8104 * math/libm-test.inc (round_test_data): Add more tests.
8106 2015-04-28 Mark Wielaard <mjw@redhat.com>
8108 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8110 2015-04-27 David S. Miller <davem@davemloft.net>
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8114 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8116 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8119 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8121 2015-04-27 Florian Weimer <fweimer@redhat.com>
8124 * time/tzset.c (parse_tzname): Return error on memory allocation
8126 * test-skeleton.c (struct temp_name_list): Change type of name
8127 member to non-const.
8128 (add_temp_file): Create a copy of the file name.
8129 (delete_temp_files): Deallocate memory.
8130 (create_temp_file): Add comment.
8132 2015-04-24 Florian Weimer <fweimer@redhat.com>
8134 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8135 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8137 2015-04-24 Roland McGrath <roland@hack.frob.com>
8139 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8140 * sysdeps/arm/configure: Regenerated.
8142 2015-04-24 Florian Weimer <fweimer@redhat.com>
8145 * time/tzfile.c (__tzfile_read): Check for large values of
8146 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8147 * time/tzset.c (__tzstring_len): New function, based on the old
8148 __tzstring function.
8149 (__tzstring): Call __tzstring_len.
8150 (parse_tzname): New helper function extracted from
8151 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8153 (parse_offset): New helper function extracted from
8154 __tzset_parse_tz. Replace switch with fallthrough with
8155 initialization before sscanf.
8156 (parse_rule): Likewise.
8157 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8158 new-style function definition.
8159 * timezone/Makefile (tests): Add tst-tzset.
8160 (tst-tzset.out): Dependencies on time zone files.
8161 (tst-tzset-ENV): Set TZDIR.
8162 (testdata/XT%): Copy crafted time zone files.
8163 * timezone/README: Mention crafted time zone files.
8164 * timezone/testdata/XT1, timezone/testdata/XT2,
8165 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8167 * timezone/tst-tzset.c: New test.
8169 2015-04-24 Florian Weimer <fweimer@redhat.com>
8171 * Makeconfig (+gccwarn): Remove -Winline.
8173 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8175 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8177 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8179 * NEWS: Mention sysconf() cache information support for s390.
8180 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8182 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8184 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8186 (__nearbyint): Likewise.
8187 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8188 (copysignl): Likewise.
8190 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8193 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8194 based on padding. (CVE-2015-1781)
8196 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8198 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8200 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8201 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8202 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8203 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8204 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8205 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8208 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8209 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8212 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8213 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8214 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8215 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8216 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8218 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8219 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8220 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8221 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8222 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8224 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8226 * stdlib/setenv.c (__add_to_environ):
8227 Dump core quickly if setenv (..., NULL, ...) is called.
8228 This time, do it the right way, and pacify GCC with a pragma.
8230 2015-04-17 Roland McGrath <roland@hack.frob.com>
8232 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8233 IMAP->l_prev cannot be null, and #if out the code for the contrary
8234 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8235 believe that NS (&_dl_ns[NSID]) could point outside the array.
8237 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8238 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8239 before using NSID as an index.
8241 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8244 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8245 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8246 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8248 2015-04-17 Roland McGrath <roland@hack.frob.com>
8250 Add preliminary port to Google Native Client on ARM.
8251 * abi-tags (.*-.*-nacl.*): New entry.
8252 * sysdeps/arm/nacl: New directory.
8253 * sysdeps/nacl: New directory.
8255 2015-04-16 David S. Miller <davem@davemloft.net>
8257 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8258 lowlevellock-futex.h
8260 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8262 * sysdeps/tile/configure.ac: New file.
8263 * sysdeps/tile/configure: Regenerated.
8265 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8267 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8268 conditionals for weak_alias and libc_hidden_weak.
8269 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8270 libc_hidden_weak and weak_alias.
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8272 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8273 and weak_alias for static one.
8275 2015-04-15 David S. Miller <davem@davemloft.net>
8277 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8279 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8282 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8283 Use signed comparision instead of substraction to avoid
8285 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8286 Take the sign of ret.
8287 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8288 Do not expect precise return values. Only the sign matters.
8289 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8290 * wcsmbs/test-wcsncmp.c: New File.
8291 * string/test-strncmp.c: Add wcsncmp support.
8293 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8296 * math/w_log1p.c: New file.
8297 * math/w_log1pf.c: Likewise.
8298 * math/w_log1pl.c: Likewise.
8299 * math/Makefile (libm-calls): Add w_log1p.
8300 * math/s_log1pl.c (log1pl): Remove weak_alias.
8301 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8302 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8303 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8304 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8305 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8306 [NO_LONG_DOUBLE] (log1pl): Likewise.
8307 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8308 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8309 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8310 (log1p): Remove long_double_symbol.
8311 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8312 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8313 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8314 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8315 remove weak_alias for corresponding log1p function.
8316 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8317 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8318 * sysdeps/ia64/fpu/w_log1p.c: New file.
8319 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8320 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8321 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8323 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8327 decimal exponent by 1.
8328 * stdlib/tst-strtod-round-data: Add more tests.
8329 * stdlib/tst-strtod-round.c (tests): Regenerated.
8331 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8333 * math/auto-libm-test-in: Add more tests of clog and clog10.
8334 * math/auto-libm-test-out: Regenerated.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8338 2015-04-09 Roland McGrath <roland@hack.frob.com>
8340 * Makeconfig (module-cppflags): Exclude all .v.i files.
8341 (skip-module-cppflags): Variable removed.
8343 * configure.ac (libc_config_ok): Initialize before reading
8344 preconfigure scripts, not after.
8345 * configure: Regenerated.
8347 * test-skeleton.c (TIMEOUT): Move #define to top level.
8348 (main): Grok environment variable TEST_DIRECT. If set, print
8349 test expectation details into that file and then behave as if
8352 2015-04-09 Florian Weimer <fweimer@redhat.com>
8354 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8357 2015-04-08 David S. Miller <davem@davemloft.net>
8359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8361 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8363 * math/auto-libm-test-in: Add more tests of atanh.
8364 * math/auto-libm-test-out: Regenerated.
8365 * sysdeps/i386/fpu/libm-test-ulps: Update.
8366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8368 * math/auto-libm-test-in: Add more tests of atan.
8369 * math/auto-libm-test-out: Regenerated.
8370 * sysdeps/i386/fpu/libm-test-ulps: Update.
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8373 2015-04-08 Florian Weimer <fweimer@redhat.com>
8375 * elf/pldd.c (main): Rewrite to use struct
8376 scratch_buffer instead of extend_alloca.
8377 * elf/pldd-xx.c (find_maps): Likewise.
8378 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8380 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8381 scratch_buffer instead of extend_alloca.
8382 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8383 grp/compat-initgroups.c.
8384 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8385 Rewrite to use struct scratch_buffer instead of extend_alloca.
8386 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8387 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8389 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8391 * math/auto-libm-test-in: Add more tests of cbrt.
8392 * math/auto-libm-test-out: Regenerated.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8395 * math/auto-libm-test-in: Add more tests of cabs.
8396 * math/auto-libm-test-out: Regenerated.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8403 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8405 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8407 * math/auto-libm-test-out: Regenerated.
8408 * sysdeps/i386/fpu/libm-test-ulps: Update.
8409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8412 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8413 (atan): Set FE_TONEAREST mode for internal computations.
8414 * math/auto-libm-test-in: Add more tests of atan.
8415 * math/auto-libm-test-out: Regenerated.
8417 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8420 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8422 2015-04-07 Florian Weimer <fweimer@redhat.com>
8424 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8426 2015-04-07 Florian Weimer <fweimer@redhat.com>
8428 * include/scratch_buffer.h: New file.
8429 * malloc/scratch_buffer_grow.c: Likewise.
8430 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8431 * malloc/scratch_buffer_set_array_size.c: Likewise.
8432 * malloc/tst-scratch_buffer.c: Likewise.
8433 * malloc/Makefile (routines): Add scratch_buffer_grow.
8434 (tests): Add test case.
8435 * malloc/Versions (GLIBC_PRIVATE): Export
8436 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8437 __libc_scratch_buffer_set_array_size.
8439 2015-04-06 Richard Henderson <rth@redhat.com>
8441 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8442 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8444 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8445 unsigned int before printing.
8447 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8450 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8451 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8453 2015-04-02 Florian Weimer <fweimer@redhat.com>
8455 * include/libc-internal.h (libc_max_align_t): Define.
8457 2015-04-02 Andreas Schwab <schwab@suse.de>
8460 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8462 2015-04-02 Mel Gorman <mgorman@suse.de>
8465 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8466 as well as the main arena.
8468 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8471 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8472 sharing L2 cache to 2 for Silvermont/Knights Landing.
8474 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8477 * config.make.in (have-protected-data): New.
8478 * configure.ac: Check linker support for protected data symbol.
8479 * configure: Regenerated.
8480 * elf/Makefile (modules-names): Add tst-protected1moda and
8481 tst-protected1modb if $(have-protected-data) is yes.
8482 (tests): Add tst-protected1a and tst-protected1b if
8483 $(have-protected-data) is yes.
8484 ($(objpfx)tst-protected1a): New.
8485 ($(objpfx)tst-protected1b): Likewise.
8486 (tst-protected1modb.so-no-z-defs): Likewise.
8487 * elf/tst-protected1a.c: New file.
8488 * elf/tst-protected1b.c: Likewise.
8489 * elf/tst-protected1mod.h: Likewise.
8490 * elf/tst-protected1moda.c: Likewise.
8491 * elf/tst-protected1modb.c: Likewise.
8493 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
8496 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8497 indicates it is called from do_lookup_x on relocation against
8498 protected data, skip the data definion in the executable from
8500 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8501 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8502 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8503 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8504 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8506 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8507 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8508 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8509 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8510 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8511 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8513 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
8515 * sysdeps/nptl/pthread.h: Remove duplicate definition of
8516 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8518 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
8520 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8522 * sysdeps/x86_64/nptl/tls.h: Ditto.
8524 2015-03-27 Roland McGrath <roland@hack.frob.com>
8526 * dlfcn/tststatic.c (main): Converted to ...
8527 (do_test): ... this.
8528 (TEST_FUNCTION): New macro.
8529 Include test-skeleton.c.
8531 2015-03-26 Alan Modra <amodra@gmail.com>
8533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8534 Don't segfault if ifunc resolver returns a NULL. Do set plt to
8535 zero for undefined weak.
8536 (elf_machine_plt_conflict): Similarly.
8538 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8540 * math/auto-libm-test-in: Add more tests of acosh, asinh and
8542 * math/auto-libm-test-out: Regenerated.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8546 * math/auto-libm-test-in: Add another test of asin.
8547 * math/auto-libm-test-out: Regenerated.
8548 * sysdeps/i386/fpu/libm-test-ulps: Update.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8553 (LLL_EBX_REG): Likewise.
8554 (LLL_ENTER_KERNEL): Likewise.
8556 * math/auto-libm-test-in: Add more tests of asin.
8557 * math/auto-libm-test-out: Regenerated.
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8563 libc_do_syscall_args): New structure.
8564 (INTERNAL_SYSCALL_MAIN_0): New macro.
8565 (INTERNAL_SYSCALL_MAIN_1): Likewise.
8566 (INTERNAL_SYSCALL_MAIN_2): Likewise.
8567 (INTERNAL_SYSCALL_MAIN_3): Likewise.
8568 (INTERNAL_SYSCALL_MAIN_4): Likewise.
8569 (INTERNAL_SYSCALL_MAIN_5): Likewise.
8570 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
8571 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8572 Replace conditional definitions by conditional definitions of ....
8573 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
8574 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8575 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8576 (libpthread-sysdep_routines): Add libc-do-syscall.
8577 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8578 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8579 to __NR_futex not 240.
8581 2015-03-25 Alan Modra <amodra@gmail.com>
8583 * NEWS: Advertise TLS optimization.
8584 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8585 (DT_PPC_NUM): Increment.
8586 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8587 (CHECK_STATIC_TLS): Use here.
8588 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8591 * sysdeps/powerpc/dl-tls.c: New file.
8592 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8593 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8594 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8595 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8600 2015-03-25 Alan Modra <amodra@gmail.com>
8602 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
8603 for overlapping .opd entries" to "support...".
8604 * sysdeps/powerpc/powerpc64/configure: Regenerate
8606 2015-03-25 Joseph Myers <joseph@codesourcery.com>
8608 * math/auto-libm-test-in: Add more tests of acos.
8609 * math/auto-libm-test-out: Regenerated.
8610 * sysdeps/i386/fpu/libm-test-ulps: Update.
8611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613 * math/auto-libm-test-in: Add more tests of expm1.
8614 * math/auto-libm-test-out: Regenerated.
8615 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618 2015-03-24 Joseph Myers <joseph@codesourcery.com>
8620 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8621 * math/auto-libm-test-out: Regenerated.
8622 * sysdeps/i386/fpu/libm-test-ulps: Update.
8623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8625 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628 * math/auto-libm-test-in: Add more tests of log2.
8629 * math/auto-libm-test-out: Regenerated.
8630 * sysdeps/i386/fpu/libm-test-ulps: Update.
8631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8633 2015-03-23 Roland McGrath <roland@hack.frob.com>
8635 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
8636 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
8637 _IO_IS_APPENDING bit in READ_WRITE instead.
8639 2015-03-23 Florian Weimer <fweimer@redhat.com>
8641 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8642 (__determine_cpumask_size): Replace extend_alloca with a
8643 variable-length array. Do not treat res == 0 as an error.
8645 2015-03-23 Florian Weimer <fweimer@redhat.com>
8648 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
8649 and integer overflow.
8650 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
8651 (main): Add integer overflow tests.
8652 * manual/pattern.texi (Calling Wordexp): Document additional use
8655 2015-03-23 Alan Modra <amodra@gmail.com>
8657 * config.h.in: Remove HAVE_ASM_PPC_REL16.
8658 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
8659 and false branch of conditional.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8663 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
8665 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
8667 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
8668 unused declaration of _hurd_intr_rpc_msg_in_trap.
8669 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8670 defined instead of whether it is non-zero.
8671 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
8672 input constraint instead of both input and output constraint. Use ecx
8673 clobber instead of %ecx.
8674 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
8675 mutex_unlock): Use a statement expression instead of an expression list.
8676 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
8677 type to vm_size_t instead of vm_address_t.
8678 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
8679 defined instead of whether it is non-zero.
8680 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
8681 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
8682 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
8683 comparisons with mapaddr.
8684 * nscd/nscd-client.h: Include <time.h>.
8685 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
8686 9th parameter to __vm_region instead of int.
8687 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
8688 * scripts/check-local-headers.sh (exclude): Add device/,
8689 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
8692 2015-03-19 Roland McGrath <roland@hack.frob.com>
8694 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
8695 to account for alignment padding.
8696 * sysdeps/arm/memmove.S: Likewise.
8698 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
8700 * sysdeps/unix/sysv/linux/generic/README: New file.
8702 2015-03-18 Joseph Myers <joseph@codesourcery.com>
8705 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
8706 (futex_abstimed_wait)
8707 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
8708 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
8709 of lll_futex_timed_wait.
8711 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
8714 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
8716 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
8723 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
8724 entries with Static TLS too. Skip entries past the end of the
8725 allocated DTV, from Alan Modra.
8726 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
8727 Static TLS DTV entry set up from...
8728 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
8729 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
8730 * nptl/allocatestack.c (init_one_static_tls): ... and here...
8731 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
8733 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
8734 that the slot we find is associated with the given map before
8735 using its generation count.
8736 * nptl_db/db_info.c: Include ldsodefs.h.
8737 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
8738 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
8739 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
8740 (link_map::l_tls_offset): New struct field.
8741 (dtv_t::counter): Likewise.
8742 (rtld_global): New struct.
8743 (_rtld_global): New rtld variable.
8744 (dl_tls_dtv_slotinfo_list): New rtld global field.
8745 (dtv_slotinfo_list): New struct.
8746 (dtv_slotinfo): Likewise.
8747 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
8748 (td_lookup): Rename to...
8749 (td_mod_lookup): ... this. Use new mod parameter instead of
8751 * nptl_db/td_thr_tlsbase.c: Include link.h.
8752 (dtv_slotinfo_list, dtv_slotinfo): New functions.
8753 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
8754 addresses even if the DTV is out of date or missing them.
8755 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
8756 index zero-length arrays.
8757 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
8758 (td_lookup): Make it a macro implemented in terms of...
8759 (td_mod_lookup): ... this declaration.
8760 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
8761 (DB_MAIN_VARIABLE): Likewise.
8763 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
8766 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8768 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
8770 * stdlib/setenv.c (__add_to_environ): Revert previous change.
8772 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
8775 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
8776 (atomic_add, atomic_increment_and_test)
8777 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8779 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
8781 * stdlib/setenv.c (__add_to_environ):
8782 Dump core quickly if setenv (..., NULL, ...) is called.
8784 2015-03-13 Roland McGrath <roland@hack.frob.com>
8786 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
8787 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
8788 all the necessary asm magic in one place.
8789 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
8792 2015-03-13 Carlos O'Donell <carlos@redhat.com>
8795 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
8796 traced file mtime. Use consistent log message.
8797 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
8798 (register_traced_file): Call install_watches. Always set mtime.
8799 (invalidate_cache): Iterate over all trace files. Call install_watches.
8800 (inotify_check_files): Don't inline. Handle watching parent
8801 directories and configuration file movement in and out.
8802 (handle_inotify_events): New function.
8803 (main_loop_poll): Call handle_inotify_events.
8804 (main_loop_epoll): Likewise.
8805 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
8806 (struct traced_file): Use array of inotify fds. Add parent directory,
8808 (struct database_dyn): Remove unused file_mtime.
8809 (init_traced_file): New inline function.
8810 (define_traced_file): New macro.
8811 * nss/nss_db/db-init.c: Use define_traced_file.
8812 (_nss_db_init): Use init_traced_file.
8813 * nss/nss_files/files-init.c: Use define_traced_file.
8814 (_nss_files_init): Use init_traced_file.
8816 2015-03-12 Joseph Myers <joseph@codesourcery.com>
8818 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
8819 [_LIBC]: Do not include <stdlib.h>.
8820 [!_LIBC] (abort): Remove declaration.
8821 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
8822 _FP_STATIC_ASSERT instead of conditionally calling abort.
8823 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
8824 (_FP_EXTEND_CNAN): Likewise.
8825 (FP_TRUNC): Likewise.
8826 (__FP_CLZ): Likewise.
8827 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
8829 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
8831 * manual/string.texi (XPG basename): Fix prototype.
8833 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
8837 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
8839 (__setcontext): Likewise.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
8841 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
8842 Call rt_sigprocmask syscall one time to set new signal mask
8843 and retrieve the current signal mask instead of two calls.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
8845 (__swapcontext): Likewise.
8846 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
8847 * stdlib/tst-setcontext2.c: New file.
8849 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8853 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
8856 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
8859 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8862 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
8864 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8866 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
8867 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
8869 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
8870 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
8871 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
8872 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
8873 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
8874 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
8876 * nptl_db/td_symbol_list.c (td_lookup): Remove
8877 HAVE_ASM_GLOBAL_DOT_NAME code.
8878 * sysdeps/powerpc/powerpc64/configure.ac: Remove
8879 HAVE_ASM_GLOBAL_DOT_NAME check.
8880 * sysdeps/powerpc/powerpc64/configure: Regenerate.
8881 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
8882 (DOT_LABEL): Remove define.
8883 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
8884 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
8885 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
8886 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
8887 (__TLS_GET_ADDR): Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
8889 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
8891 2015-03-11 Carlos O'Donell <carlos@redhat.com>
8894 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
8895 (_FPU_SETCW): Initialize cw from fpsr before storing.
8896 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
8897 (fesetexceptflag): Rewrite using fpu_control.h.
8898 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
8900 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
8903 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
8905 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8907 2015-03-11 Joseph Myers <joseph@codesourcery.com>
8909 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
8910 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
8912 (_FP_FMA): Likewise.
8913 (_FP_DIV): Likewise.
8915 2015-03-10 Roland McGrath <roland@hack.frob.com>
8917 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
8918 with 0 in that case.
8919 * Makefile (summarize-tests): New canned sequence, factored out of
8920 commands for targets tests and xtests. Display summary lines that
8921 don't start with PASS: or XFAIL: rather than ones that do start with
8922 ERROR: or FAIL:. Make the commands fail if any summary lines fail
8923 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
8924 do start with ERROR: or FAIL:.
8925 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
8926 (except for [$(build-shared) = yes]).
8927 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
8928 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
8929 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
8930 * nptl/Makefile: Revert 2015-03-04 changes.
8931 [$(CXX) empty] (tests-unsupported): New variable.
8932 * debug/Makefile: Likewise.
8934 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
8935 gnulib file. Replace __attribute with __attribute__ throughout.
8937 2015-03-10 Carlos O'Donell <carlos@redhat.com>
8939 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8941 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8944 * math/auto-libm-test-in: Add another test of pow.
8945 * math/auto-libm-test-out: Regenerated.
8947 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8949 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
8950 $(config-cflags-nofma).
8952 2015-03-10 Joseph Myers <joseph@codesourcery.com>
8954 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
8955 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8956 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8957 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8958 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8959 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8960 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8961 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8962 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8963 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8964 Add comment on closing #endif.
8966 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8968 * posix/wordexp.c (CHAR_IN_SET): New macro.
8969 (parse_param): Use it.
8971 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8973 * sysdeps/powerpc/fpu/libm-test-ulps: update.
8975 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8978 * posix/wordexp.c (parse_param): Fix buffer overflow.
8979 * posix/wordexp-test.c (test_case): Add test case.
8981 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8984 * posix/wordexp.c (parse_backtick): Fix off-by-one.
8985 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8987 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8990 * posix/wordexp-test.c (test_case): Add test for BZ #18043
8991 (do_bz18043): Delete.
8993 (testit): Refactor to have words at the edge of unreadable page.
8995 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8998 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8999 Cleanup read-only streams as well.
9000 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9002 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9004 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9007 2015-03-07 Joseph Myers <joseph@codesourcery.com>
9009 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
9011 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9012 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9013 * soft-fp/op-common.h (_FP_DECL): Likewise.
9015 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
9017 * elf/ifuncdep2.c (global): Replace
9018 __attribute__((visibility("protected"))) with
9019 asm (".protected global").
9020 * elf/ifuncmod1.c (global): Likewise.
9021 * elf/ifuncmod5.c (global): Likewise.
9023 2015-03-06 Joseph Myers <joseph@codesourcery.com>
9025 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9026 <asm/sfp-machine.h> instead of <sfp-machine.h>.
9028 2015-03-06 Roland McGrath <roland@hack.frob.com>
9030 * manual/install.texi (Configuring and compiling):
9031 Document test-wrapper-env-only.
9032 * INSTALL: Regenerated.
9034 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9037 * posix/wordexp.c (parse_param): Fix buffer overflow.
9038 * posix/wordexp-test.c (do_bz18043): Add test case.
9040 2015-03-06 Vincent Bernat <vincent@bernat.im>
9042 * time/tst-strptime2.c (do_test): Ensure failing tests are
9044 * time/tst-strptime3.c (do_test): Likewise.
9046 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
9048 Fix aio_error thread-safety.
9049 * sysdeps/pthread/aio_error.c: New file
9050 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9053 2015-03-06 Florian Weimer <fweimer@redhat.com>
9055 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9056 (group_number, vfprintf): Use it.
9057 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9058 (JUMP, REF): Use it.
9059 (WORK_BUFFER_SIZE): New enum constant.
9060 (process_arg, vfprintf): Use it.
9062 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
9064 * manual/errno.texi (Error Messages): Complete example function
9065 by adding missing #define.
9066 (program_invocation_name): Add statement indicating GNU
9067 extension and reference which header file declares the variable.
9068 (program_invocation_short_name): Likewise.
9070 2015-03-06 Mike Frysinger <vapier@gentoo.org>
9072 * manual/errno.texi (Error Messages): Delete strerror ISO C89
9075 2015-03-05 Roland McGrath <roland@hack.frob.com>
9077 * Makeconfig (test-wrapper-env-only): New variable.
9078 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9079 then use that with $(test-wrapper-env-only) rather than using
9080 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9082 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9085 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9086 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9087 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9088 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9089 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9090 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9091 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9092 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9094 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9103 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9108 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9109 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9111 2015-03-04 Roland McGrath <roland@hack.frob.com>
9113 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9114 (ETH_ALEN): New macro.
9115 (struct ether_addr): Use it for length of ether_addr_octet.
9117 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9118 (setdb): Don't call __nss_configure_lookup for "rpc".
9119 (do_test): Don't call test_rpc.
9120 (output_rpcent, test_rpc): Functions moved ...
9121 * sunrpc/test-rpcent.c: ... to this new file.
9122 * sunrpc/Makefile (tests): Add it.
9124 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9126 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9127 * nptl/tst-signal6.c: Likewise.
9128 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9129 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9131 * configure.ac (libc_cv_cxx_link_ok): New check.
9132 Reset CXX to empty if it fails to link.
9133 * configure: Regenerated.
9134 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9135 bug-atexit3-lib only if $(CXX) is nonempty.
9136 * nptl/Makefile (tests): Likewise for tst-cancel24.
9137 (tests, tests-static): Likewise for tst-cancel24-static.
9138 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9139 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9140 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9141 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9143 2015-03-04 Andreas Schwab <schwab@suse.de>
9146 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9147 for non-GCC compilers.
9148 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9151 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9154 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9155 integer before bitwise and assembly operations.
9156 (feclearexcept): Likewise.
9157 * math/test-fenvinline.c: New file.
9158 * math/Makefile: Add test-fenvinline test.
9160 2015-03-03 Alan Modra <amodra@gmail.com>
9163 * scripts/localplt.awk: Strip off symbol version.
9164 * NEWS: Mention bug fix.
9166 2015-03-02 Roland McGrath <roland@hack.frob.com>
9168 * sysdeps/pthread/timer_routines.c
9169 (timer_free_list, thread_free_list, thread_active_list): Make static.
9171 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9174 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9175 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9178 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9180 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9181 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9184 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9187 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9188 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9190 2015-03-02 Andreas Schwab <schwab@suse.de>
9192 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9195 2015-03-02 Florian Weimer <fweimer@redhat.com>
9197 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9198 Return error status.
9200 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9203 * locale/findlocale.c (_nl_find_locale): Introduce const
9204 version of loc_name and drop unsafe type casts.
9206 2015-02-27 Roland McGrath <roland@hack.frob.com>
9208 * dlfcn/tststatic2.c (main): Converted to ...
9209 (do_test): ... this.
9210 (TEST_FUNCTION): New macro.
9211 Include test-skeleton.c.
9213 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9216 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9217 (tests-pie): Add vismain.
9218 (CFLAGS-vismain.c): New.
9219 * elf/vismain.c: Add comments for PIE requirement.
9221 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9226 0x1p-56L as threshold for just returning the argument.
9227 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9228 0x1p-32L as threshold for just returning the argument.
9229 * math/auto-libm-test-in: Add more tests of atanh.
9230 * math/auto-libm-test-out: Regenerated.
9231 * sysdeps/i386/fpu/libm-test-ulps: Update.
9232 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9234 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9236 * string/bcopy.c (bcopy): Call memmove for performance.
9238 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9240 * string/bzero.c (__bzero): Call memset for performance.
9242 2015-02-27 John David Anglin <dave.anglin@bell.net>
9245 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9248 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9250 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9252 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9254 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9255 (__kernel_standard): Use CSTR macro when setting exc.name.
9256 * sysdeps/ieee754/Makefile [$(subdir) = math]
9257 (CFLAGS-k_standard.c): Remove variable.
9259 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9260 setting p and q from "else if" to "else".
9262 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9264 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9266 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9268 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9270 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9275 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9276 return pi/2 for arguments below 0x1p-113L.
9277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9278 return pi/2 for arguments below 0x1p-106L.
9279 * math/auto-libm-test-in: Add more tests of acos.
9280 * math/auto-libm-test-out: Regenerated.
9283 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9285 (__ieee754_asin): Force underflow exception for results with small
9287 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9289 (__ieee754_asinf): Force underflow exception for results with
9290 small absolute value.
9291 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9292 (__ieee754_asin): Force underflow exception for results with small
9294 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9295 (__ieee754_asinf): Force underflow exception for results with
9296 small absolute value.
9297 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9298 (__ieee754_asinl): Force underflow exception for results with
9299 small absolute value.
9300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9301 (__ieee754_asinl): Force underflow exception for results with
9302 small absolute value.
9303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9304 (__ieee754_asinl): Force underflow exception for results with
9305 small absolute value.
9306 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9308 * math/auto-libm-test-in: Do not mark underflow exceptions as
9309 possibly missing for bug 16351.
9310 * math/auto-libm-test-out: Regenerated.
9313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9314 of power of 2 down when low part has opposite sign.
9315 * math/libm-test.inc (logb_test_data): Add more tests.
9317 2015-02-26 Andreas Schwab <schwab@suse.de>
9320 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9321 over collating symbol inside a bracket expression. Minor cleanup.
9322 * posix/tst-fnmatch3.c (do_test): Add test case.
9324 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9327 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9328 Adjust exponent of power of 2 down when low part has opposite
9330 * math/libm-test.inc (ilogb_test_data): Add more tests.
9332 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9335 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9336 the previous change.
9339 * locale/findlocale.c (_nl_find_locale): Retry archive search
9340 after alias expansion.
9342 2015-02-25 Roland McGrath <roland@hack.frob.com>
9344 * iconv/tst-iconv3.c (main): Converted to ...
9345 (do_test): ... this.
9346 (TEST_FUNCTION): New macro.
9347 Include test-skeleton.c.
9349 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9350 (convert): Make function static.
9351 (test_unalign): Likewise. Add const to argument pointee types.
9352 (main): Replace with static function do_test.
9353 Print "Succeeded." only if RET is zero.
9354 (TEST_FUNCTION): New macro.
9355 Include test-skeleton.c.
9357 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9358 returns a null pointer.
9360 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9363 to __memcpy_ppc only for static builds.
9365 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9369 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9370 * math/auto-libm-test-in: Add more tests of asinh.
9371 * math/auto-libm-test-out: Regenerated.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9378 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9379 and ip6_mtuinfo definitions here.
9380 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9381 in this define too. Update comment.
9383 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9385 * elf/sprof.c (load_shobj): Tweak error message to match others.
9387 2015-02-24 Kevin Easton <kevin@guarana.org>
9389 [BZ #16145] (partial fix)
9390 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9391 to reduce lock contention.
9393 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9395 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9396 (struct timex): Update time comment.
9397 (ADJ_SETOFFSET): Define.
9399 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9402 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9403 2**56 not 2**28 as threshold for log (2x) formula.
9404 * math/auto-libm-test-in: Add more tests of acosh.
9405 * math/auto-libm-test-out: Regenerated.
9406 * sysdeps/i386/fpu/libm-test-ulps: Update.
9407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9409 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9411 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9412 parenthesis around the buf assignment.
9413 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9415 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9418 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9419 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9420 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9421 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9422 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9423 * math/libm-test.inc (scalb_test_data): Add more tests.
9425 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9428 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9429 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9431 2015-02-24 Eric Rannaud <e@nanocritical.com>
9434 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9435 * io/bits/fcntl2.h (open): Use it.
9437 * io/open.c (__libc_open): Likewise.
9438 * io/open64.c (__libc_open64): Likewise.
9439 * io/open64_2.c (__open64_2): Likewise.
9440 * io/open_2.c (__open_2): Likewise.
9441 * io/openat.c (__openat): Likewise.
9442 * io/openat64.c (__openat64): Likewise.
9443 * io/openat64_2.c (__openat64_2): Likewise.
9444 * io/openat_2.c (__openat_2): Likewise.
9445 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9446 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9447 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9448 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9449 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9450 (__open_nocancel): Likewise.
9451 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9452 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9453 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9455 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9458 * resolv/gethnamaddr.c (getanswer): Skip logging if
9459 RES_USE_DNSSEC is set.
9460 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9462 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9464 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9466 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
9468 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9469 201304L, for Unicode 7.
9471 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
9474 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9475 shared library. Add gmon-start.os otherwise.
9476 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9477 $(objpfx)gmon-start.os if builing shared library.
9478 ($(objpfx)g$(static-start-installed-name)): Likewise.
9480 2015-02-23 Andreas Schwab <schwab@suse.de>
9482 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9484 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9487 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9488 (enlarge_userbuf): Likewise.
9490 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
9492 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9493 * math/atest-exp.c (TIMEOUT): Adjust to 200.
9494 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9495 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9497 2015-02-20 Joseph Myers <joseph@codesourcery.com>
9499 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9500 expression inside statement expression.
9502 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9505 <sysdeps/nptl/lowlevellock.h> and remove macros and
9506 functions that are now defined there.
9507 (SYS_futex): Remove.
9508 (lll_compare_and_swap): Remove.
9509 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9511 2015-02-19 Joseph Myers <joseph@codesourcery.com>
9514 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9515 instead of scandirat.
9516 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9517 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9518 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9520 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9521 (__scandirat): Declare. Use libc_hidden_proto.
9522 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9524 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9526 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9531 (__ieee754_atan2): For results with small absolute value, force
9532 underflow exception and remove excess range and precision from
9534 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9536 (__ieee754_atan2f): For results with small absolute value, force
9537 underflow exception and remove excess range and precision from
9539 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9541 (__atan): For results with small absolute value, force underflow
9542 exception and remove excess range and precision from return value.
9543 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9545 (__atanf): For results with small absolute value, force underflow
9546 exception and remove excess range and precision from return value.
9547 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9549 (__ieee754_atan2): Force underflow exception for results with
9550 small absolute value.
9551 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9553 (atan): Force underflow exception for results with small absolute
9555 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9556 (__atanf): Force underflow exception for results with small
9558 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9560 (__atanl): Force underflow exception for results with small
9562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9563 (__atanl): Force underflow exception for results with small
9565 * sysdeps/x86/fpu/bits/mathinline.h
9566 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9567 (__ieee754_atan2): Only define inline for long double.
9568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9569 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9570 * math/auto-libm-test-in: Do not mark underflow exceptions as
9571 possibly missing for bug 15319. Add more tests of atan2.
9572 * math/auto-libm-test-out: Regenerated.
9573 * math/libm-test.inc (casin_test_data): Do not mark underflow
9574 exceptions as possibly missing for bug 15319.
9575 (casinh_test_data): Likewise.
9576 * sysdeps/i386/fpu/libm-test-ulps: Update.
9578 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
9580 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9581 * sysdeps/mips/bits/endian.h: Fix comments.
9583 2015-02-18 Joseph Myers <joseph@codesourcery.com>
9586 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9587 (hdestroy_r): Likewise.
9588 (hsearch_r): Likewise.
9589 (__hcreate_r): Declare and use libc_hidden_proto.
9590 (__hdestroy_r): Likewise.
9591 (__hsearch_r): Likewise.
9592 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9593 (hcreate): Call __hcreate_r instead of hcreate_r.
9594 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9595 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9596 as weak alias of __hcreate_r.
9597 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9599 (hsearch_r): Rename to __hsearch_r and define as weak alias of
9601 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
9603 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9604 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9605 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9606 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9608 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9610 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
9611 arena_lock into a single arena_get.
9613 2015-02-17 Carlos O'Donell <carlos@redhat.com>
9615 * dl-reloc.c: Inlucde libc-internal.h.
9616 (_dl_try_allocate_static_tls): Call ALIGN_UP.
9617 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
9618 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
9619 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
9620 (grow_heap): Likewise.
9621 * malloc/malloc.c: Include libc-internal.h.
9622 (do_check_malloc): Call powerof2.
9623 (sysmalloc): Use pagesize. Call ALIGN_UP.
9624 (systrim): Use pagesize.
9625 (mremap_chunk): Use pagesize. Call ALIGN_UP.
9626 (__libc_valloc): Use pagesize.
9627 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
9629 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9632 * include/sys/resource.h (__getrlimit64): Declare. Use
9634 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
9635 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
9636 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
9638 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
9640 [!getrlimit64] (getrlimit64): Define as weak alias of
9641 __getrlimit64. Use libc_hidden_weak.
9642 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
9643 using __getrlimit64 not __new_getrlimit64.
9644 (__GI_getrlimit64): Likewise.
9645 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
9647 (__GI_getrlimit64): Likewise.
9648 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
9650 (getrlimit): Add __getrlimit64 alias.
9651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
9653 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
9655 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9656 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9658 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9660 * libio/fileops.c: Add missing sys/mman.h
9661 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
9663 2015-02-17 Joseph Myers <joseph@codesourcery.com>
9665 * manual/math.texi (Errors in Math Functions): Clarify goals
9666 regarding inexact and underflow exceptions.
9668 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9670 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
9671 * sysdeps/mips/memset.S: Ditto.
9673 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
9675 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
9677 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9679 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
9680 (__v1longjmp): Remove versioned symbol.
9681 (__v1siglongjmp): Remove alias and versioned symbol.
9682 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
9683 (__v2siglongjmp): Likewise.
9685 2015-02-16 Torvald Riegel <triegel@redhat.com>
9687 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
9689 2015-02-16 Mike Frysinger <vapier@gentoo.org>
9691 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
9693 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
9697 zero result does not depend on the sign resulting from
9699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9701 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9702 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9704 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9705 * math/libm-test.inc (remquo_test_data): Add more tests.
9707 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
9709 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
9710 Problem reported by J William Piggott.
9712 2015-02-16 Joseph Myers <joseph@codesourcery.com>
9715 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
9716 products 4 * y and 2 * y where those would overflow.
9717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9719 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9722 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
9723 * math/libm-test.inc (remquo_test_data): Add more tests.
9725 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
9727 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
9728 [defined _COMPILING_NEWLIB].
9729 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
9730 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9732 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
9733 [!defined __mips_isa_rev || __mips_isa_rev < 6].
9735 2015-02-16 Torvald Riegel <triegel@redhat.com>
9737 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
9740 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
9743 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
9744 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
9745 HOST_STACK_END_ADDR): Likewise.
9747 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
9749 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
9750 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
9751 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
9753 2015-02-13 Roland McGrath <roland@hack.frob.com>
9755 * sysdeps/generic/c++-types.data: New file.
9756 * sysdeps/generic/ld.abilist: New file.
9757 * sysdeps/generic/libBrokenLocale.abilist: New file.
9758 * sysdeps/generic/libanl.abilist: New file.
9759 * sysdeps/generic/libc.abilist: New file.
9760 * sysdeps/generic/libcrypt.abilist: New file.
9761 * sysdeps/generic/libdl.abilist: New file.
9762 * sysdeps/generic/libm.abilist: New file.
9763 * sysdeps/generic/libpthread.abilist: New file.
9764 * sysdeps/generic/libresolv.abilist: New file.
9765 * sysdeps/generic/librt.abilist: New file.
9767 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
9771 Compute absolute value of x as modified by fmod, not original
9773 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
9774 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
9775 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
9776 RUN_TEST_ffI_f1_mod8.
9777 (remquo_test_data): Add more tests.
9779 2015-02-13 Roland McGrath <roland@hack.frob.com>
9781 * sysdeps/init_array/pt-crti.S: New file.
9783 2015-02-13 Joseph Myers <joseph@codesourcery.com>
9786 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
9787 __builtin_fmaf instead of relying on contraction of a * b + c.
9789 2015-02-12 J William Piggott <elseifthen@gmx.com>
9792 * manual/time.texi: correct the zoneinfo path in the TZ Variable
9795 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9798 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
9799 __builtin_fma instead of relying on contraction of a * b + c.
9801 2015-02-12 Roland McGrath <roland@hack.frob.com>
9803 * Makeconfig (ASFLAGS): Add -Werror=undef.
9804 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
9805 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
9806 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
9808 * Makeconfig (after-link): New variable.
9809 (+link-pie, +link-pie-tests): Use it.
9810 (+link-static, +link-static-tests): Likewise.
9811 (+link, +link-tests): Likewise.
9812 * Makerules (build-module, build-module-asneeded): Likewise.
9813 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
9815 * elf/Makefile ($(objpfx)ld.so): Likewise.
9817 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
9820 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
9821 both struct timeval and struct timespec.
9823 2015-02-12 Joseph Myers <joseph@codesourcery.com>
9826 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9828 (__ieee754_exp2l): Do not multiply small fractional parts by
9830 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
9832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9833 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9834 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
9835 * math/auto-libm-test-in: Add more tests of exp2.
9836 * math/auto-libm-test-out: Regenerated.
9838 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9840 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
9843 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9845 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
9848 2015-02-12 Andreas Schwab <schwab@suse.de>
9851 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9852 Filter out elision flags from value returned in kind.
9853 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
9854 * nptl/tst-pthread-mutexattr.c: New file.
9856 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
9858 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
9859 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
9860 into gnu-gnu, and update comment to refer to abi-tags.
9862 2015-02-11 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
9866 (__sincos): Set errno to EDOM for infinite argument.
9867 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
9868 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
9869 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9870 (__sincosl): Set errno to EDOM for infinite argument.
9871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
9872 (__sincosl): Set errno to EDOM for infinite argument.
9873 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
9874 (__sincosl): Set errno to EDOM for infinite argument.
9875 * math/libm-test.inc (sincos_test_data): Test errno setting.
9877 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
9879 * string/strxfrm_l.c: Remove #define STRCMP.
9880 * string/strcoll_l.c: Remove #define STRLEN.
9881 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
9882 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
9884 2015-02-10 Joseph Myers <joseph@codesourcery.com>
9886 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
9887 * sysdeps/mips/mips32/sfp-machine.h: ... here.
9888 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
9889 * sysdeps/mips/mips64/Makefile: ... here.
9890 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
9891 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
9892 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
9893 * sysdeps/mips/mips64/sfp-machine.h: ... here.
9894 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
9895 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
9896 * sysdeps/mips/mips64/n64/Implies: Likewise.
9898 2015-02-10 Roland McGrath <roland@hack.frob.com>
9900 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
9901 <sys/time.h>, <string.h>, and <errno.h>.
9902 (dest_offset, dest_address, value, zero): Remove unused variables.
9903 (ldouble): Remove typedef.
9904 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
9905 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
9907 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
9908 (check): Function removed.
9910 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
9911 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
9912 Don't call set_sigaction_FP and remove_sigaction_FP here.
9913 (ldouble_test): Just use 'long double' as macro argument, no need for
9914 the 'ldouble' typedef.
9915 (do_test): Set up SIGFPE handler at start, using plain signal rather
9916 than sigaction. Fix code style.
9918 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
9921 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
9924 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9926 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
9927 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9929 * sysdeps/powerpc/configure.ac: Remove file.
9930 * sysdeps/powerpc/configure: Likewise.
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9933 [sysdep_routines]: Remove wordcopy-power6 object.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9935 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
9937 (__memmove_ppc32): Likewise.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
9941 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
9942 Remove preprocessor.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
9945 [sysdep_routines]: Remove wide chars objects.
9946 [wcsmbs]: New rule for wide char objects.
9948 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9949 Remove wordcopy-power6 obejct.
9950 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
9951 Use local call for wordcopy and memcpy symbols.
9952 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
9953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
9954 implementation for loader.
9955 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9957 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9958 Remove wordcopy-power7 object.
9959 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9960 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9961 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9962 (_wordcopy_fwd_dest_aligned): Likewise.
9963 (_wordcopy_bwd_aligned): Likewise.
9964 (_wordcopy_bwd_dest_aligned): Likewise.
9966 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9967 Rewrite to call __memmove_ppc instead of include default
9970 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9971 Remove wide chars objects.
9972 [wcsmbs]: New rule for wide char objects.
9974 2015-02-09 Andreas Schwab <schwab@suse.de>
9977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9978 in terms of __O_DIRECTORY.
9980 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9982 * time/getdate.c: Include <stdbool.h>.
9983 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9985 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9988 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
9990 Add ersatz _Static_assert on older C hosts
9991 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9992 pre-C11 C platform that is not known to support _Static_assert.
9994 2015-02-07 Richard Braun <rbraun@sceen.net>
9996 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9998 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10000 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10002 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10003 priority against unexistent AIO_PRIO_DELTA_MAX.
10004 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10006 * misc/fchflags.c (fchflags): Likewise.
10007 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10008 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10009 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10010 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10011 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10013 [__USE_MISC] (chflags, fchflags): Declare functions.
10014 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10015 EINVAL when nfds is greater than FD_SETSIZE.
10016 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10017 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10019 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10020 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10021 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10022 MACH_RCV_TIMED_OUT.
10023 * hurd/hurd/signal.h (_hurd_self_sigstate,
10024 _hurd_critical_section_lock, _hurd_critical_section_unlock):
10025 Explicit casts from void *.
10026 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10027 * abi-tags: Rename gnu-gnu os into gnu.
10030 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10031 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10032 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10033 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10034 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10035 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10038 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10039 duplicates ADDR->sun_path with sockaddr LEN limitation.
10040 * sysdeps/mach/hurd/connect.c: Include <string.h>
10041 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10042 * sysdeps/mach/hurd/sendmsg.c: Likewise.
10043 * sysdeps/mach/hurd/sendto.c: Likewise.
10044 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10045 implementing it by hand.
10047 2015-02-06 Roland McGrath <roland@hack.frob.com>
10049 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10050 Use sfi_breg on ldr.
10051 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10054 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10056 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10057 Test SIGSETXID only if it's defined.
10059 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10061 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10062 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
10064 * nptl/tst-align2.c: Moved ...
10065 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10066 * nptl/Makefile (tests): Remove tst-align2.
10067 * sysdeps/unix/sysv/linux/Makefile
10068 [$(subdir) = nptl] (tests): Add tst-align-clone.
10069 * nptl/tst-getpid1.c: Moved ...
10070 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10071 * nptl/tst-getpid2.c: Moved ...
10072 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10073 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10074 * sysdeps/unix/sysv/linux/Makefile
10075 [$(subdir) = nptl] (tests): ... here.
10076 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10077 * sysdeps/unix/sysv/linux/Makefile
10078 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10080 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10081 Drop trailing \n from perror argument. Use return rather than exit.
10083 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10085 * nptl/tst-cancel21.c (do_test): Likewise.
10086 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10087 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10088 [!SA_SIGINFO]: Make it a stub test.
10090 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10091 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10093 * posix/tst-getlogin.c: Move to ...
10094 * login/tst-getlogin.c: ... here.
10095 * posix/Makefile (tests): Move tst-getlogin to ...
10096 * login/Makefile (tests): ... here.
10098 * libio/tst-atime.c (do_test): Move local variables SV and E
10099 inside [ST_NOATIME] conditional.
10101 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10103 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10105 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10106 (wait_code): New function replaces macro.
10107 Call nanosleep rather than syscall.
10109 * nptl/pt-system.c: Rewritten. Put everything under
10110 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10111 Use IFUNC to redirect when possible.
10113 * nptl/pt-longjmp.c: Rewritten. Put everything under
10114 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10115 Use IFUNC to redirect when possible.
10117 * nptl/pt-fork.c: Rewritten. Put everything under
10118 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10119 Use IFUNC to redirect when possible.
10120 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10123 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10124 unconditionally nowadays. This included the only reference to
10125 __vdso_clock_gettime that appears outside libc proper.
10126 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10127 Remove version set (containing only __vdso_clock_gettime).
10128 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10129 Add attribute_hidden.
10130 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10131 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10132 libc_hidden_data_def.
10133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10136 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10137 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10138 setrpcent, and getrpcport to ...
10139 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10140 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10141 getrpcbynumber_r, and getrpcent_r to ...
10142 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10143 * inet/getrpcbyname.c: Moved ...
10144 * sunrpc/getrpcbyname.c: ... here.
10145 * inet/getrpcbyname_r.c: Moved ...
10146 * sunrpc/getrpcbyname_r.c: ... here.
10147 * inet/getrpcbynumber.c: Moved ...
10148 * sunrpc/getrpcbynumber.c: ... here.
10149 * inet/getrpcbynumber_r.c: Moved ...
10150 * sunrpc/getrpcbynumber_r.c: ... here.
10151 * inet/getrpcent.c: Moved ...
10152 * sunrpc/getrpcent.c: ... here.
10153 * inet/getrpcent_r.c: Moved ...
10154 * sunrpc/getrpcent_r.c: ... here.
10155 * inet/Makefile (routines): Move those to ...
10156 * sunrpc/Makefile (routines): ... here.
10157 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10158 the $(subdirs) list.
10159 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10160 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10161 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10162 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10164 * elf/Makefile (routines): Include $(all-dl-routines), not just
10166 (rtld-routines): Likewise. Use = rather than :=.
10167 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10168 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10169 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10170 * sysdeps/arm/Makefile: Likewise.
10171 * sysdeps/i386/Makefile: Likewise.
10172 * sysdeps/x86_64/Makefile: Likewise.
10173 * sysdeps/hppa/Makefile [$(subdir) = elf]
10174 (sysdep_routines, sysdep-rtld-routines): Don't add
10175 $(sysdep-dl-routines) to these.
10176 * sysdeps/ia64/Makefile: Likewise.
10177 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10178 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10179 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10180 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10181 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10182 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10184 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10185 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10186 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10187 these; sysdep-dl-routines alone is enough.
10189 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10192 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10193 where multiplication results in zero and third argument is finite
10195 * math/auto-libm-test-in: Add more tests of fma.
10196 * math/auto-libm-test-out: Regenerated.
10198 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10199 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10200 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10201 (_FP_CMP_EQ): Likewise.
10202 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10204 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10205 extra argument CHECK_NAN. Redefine as wrapper around
10208 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10210 * version.h (RELEASE): Set to "stable".
10211 (VERSION): Set to "2.21"
10212 * include/features.h (__GLIBC_MINOR__): Set to 21.
10214 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10216 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10217 Paul Eggert <eggert@cs.ucla.edu>
10220 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10221 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10222 size in bytes. Store needed elements in wpmax. Use needed size
10223 in bytes for extend_alloca.
10225 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10227 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10228 binutls 2.25, and texinfo 5.2.
10229 * INSTALL: Regenerate.
10230 * sysdeps/nios2/configure: Regenerate.
10231 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10232 * manual/contrib.texi: Update.
10233 * po/be.po: Update.
10234 * po/bg.po: Update.
10235 * po/ca.po: Update.
10236 * po/cs.po: Update.
10237 * po/da.po: Update.
10238 * po/de.po: Update.
10239 * po/el.po: Update.
10240 * po/eo.po: Update.
10241 * po/es.po: Update.
10242 * po/fi.po: Update.
10243 * po/fr.po: Update.
10244 * po/gl.po: Update.
10245 * po/hr.po: Update.
10246 * po/hu.po: Update.
10247 * po/ia.po: Update.
10248 * po/id.po: Update.
10249 * po/it.po: Update.
10250 * po/ja.po: Update.
10251 * po/ko.po: Update.
10252 * po/lt.po: Update.
10253 * po/nb.po: Update.
10254 * po/nl.po: Update.
10255 * po/pl.po: Update.
10256 * po/pt_BR.po: Update.
10257 * po/ru.po: Update.
10258 * po/rw.po: Update.
10259 * po/sk.po: Update.
10260 * po/sl.po: Update.
10261 * po/sv.po: Update.
10262 * po/tr.po: Update.
10263 * po/uk.po: Update.
10264 * po/vi.po: Update.
10265 * po/zh_CN.po: Update.
10266 * po/zh_TW.po: Update.
10268 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10269 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10270 * sysdeps/hppa/dl-irel.h: Remove #warning.
10271 * sysdeps/hppa/entry.h: Provide prototype for
10272 __canonicalize_funcptr_for_compare and cast argument.
10273 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10274 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10275 * sysdeps/hppa/sotruss-lib.c: New file.
10276 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10277 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10278 (atomic_compare_and_exchange_bool_acq): Likewise.
10279 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10280 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10282 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10283 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10284 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10286 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10288 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10289 called function in non-PIC case.
10291 2015-01-31 David S. Miller <davem@davemloft.net>
10293 * sysdeps/sparc/sparc32/bits/atomic.h
10294 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10295 unlock not after it.
10296 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10297 volatile register usage warnings from the compiler.
10299 * sysdeps/sparc/nptl/sem_init.c: Delete.
10300 * sysdeps/sparc/nptl/sem_post.c: Delete.
10301 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10302 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10303 * sysdeps/sparc/sparc32/sem_init.c: New file.
10304 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10305 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10306 padding explicitly initialized.
10307 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10308 padding for in-semaphore spinlock.
10309 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10310 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10311 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10312 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10313 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10314 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10315 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10316 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10318 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10319 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10321 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10325 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10326 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10328 (index_AVX_Fast_Unaligned_Load): Likewise.
10329 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10330 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10331 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10332 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10333 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10334 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10335 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10336 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10337 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10339 2015-01-29 Andreas Schwab <schwab@suse.de>
10341 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10343 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10346 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10348 2015-01-28 Martin Sebor <msebor@redhat.com>
10350 * math/README.libm-test: Clarify. Add "How to read the test output."
10352 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10354 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10357 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10359 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10360 (__HAVE_64B_ATOMICS): Define to 0.
10362 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10365 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10366 value to set as new flag.
10369 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10370 and use _ARCH_PPCSQ instead.
10371 (__ieee754_sqrt): Likewise.
10372 (__ieee754_sqrtf): Likewise.
10373 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10374 _ARCH_PPCSQ is defined.
10375 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10377 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10378 _ARCH_PPCSQ is defined.
10379 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10380 fsqrts instruction.
10381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10383 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10385 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10386 bug (GCC BZ #64739).
10388 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10390 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10391 Mark _retval as used.
10392 (lll_futex_wake_unlock): Likewise.
10393 (lll_futex_timed_wait_requeue_pi): Likewise.
10395 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10396 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10397 register variables.
10399 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10402 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10403 (__bswap_64): Mark as __always_inline.
10405 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10408 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10409 when none of the search directories exist.
10411 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10414 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10415 power8 in .machine directive.
10418 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10419 set dependency from opd value.
10421 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10424 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10427 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10430 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10432 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10434 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10435 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10436 Replace 1UL with (uint64_t) 1.
10437 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10440 2015-01-23 Roland McGrath <roland@hack.frob.com>
10442 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10443 (if_freenameindex): Likewise.
10445 * resource/getrlimit64.c: Add missing libc_hidden_def.
10447 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10449 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10451 (_FP_FMA): Likewise.
10452 (_FP_TO_INT_ROUND): Likewise.
10453 (_FP_FROM_INT): Likewise.
10455 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10459 Make code racy and cancel safe.
10461 2015-01-21 Carlos O'Donell <carlos@redhat.com>
10463 * sysdeps/arm/unwind-resume.h: Fix copyright year.
10464 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10467 * pwd/tst-getpw.c: Rewrite.
10470 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10471 (modules-names): Add moddummy1 and moddummy2.
10472 ($(objpfx)tst-rec-dlopen): Define.
10473 * dlfcn/moddummy1.c: New file.
10474 * dlfcn/moddummy2.c: New file.
10475 * dlfcn/tst-rec-dlopen.c: New file.
10476 * elf/dl-cache.c (_dl_load_cache_lookup):
10477 Return char*. Copy result with alloca/strcpy/strdup.
10478 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10479 returns char*. Free cached. If not saving realname
10481 * elf/dl-open.c (dl_open_worker): Do not assert that
10482 _r_debug->r_state is RT_CONSISTENT.
10483 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10486 2015-01-21 Torvald Riegel <triegel@redhat.com>
10487 Carlos O'Donell <carlos@redhat.com>
10490 * nptl/sem_waitcommon.c: New file.
10491 * nptl/sem_wait.c: Include sem_waitcommon.c.
10492 (__sem_wait_cleanup, do_futex_wait): Remove.
10493 (__new_sem_wait): Adapt.
10494 (__new_sem_trywait): New function.
10495 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10496 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10497 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10498 (sem_timedwait): Adapt.
10499 * nptl/sem_post.c (__new_sem_post): Adapt.
10500 (futex_wake): New function.
10501 (__old_sem_post): Add release MO fence.
10502 * nptl/sem_open.c (sem_open): Adapt.
10503 * nptl/sem_init.c (__new_sem_init): Adapt.
10504 (futex_private_if_supported): New function.
10505 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10506 (__old_sem_getvalue): Add using previous code.
10507 * sysdeps/nptl/internaltypes.h: Adapt.
10508 * nptl/tst-sem13.c (do_test): Adapt.
10509 * nptl/tst-sem11.c (main): Adapt.
10510 * nptl/sem_trywait.c: Remove.
10511 * nptl/DESIGN-sem.txt: Remove.
10512 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10513 (gen-as-const-headers): Remove structsem.sym.
10514 * nptl/structsem.sym: Remove.
10515 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10516 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10517 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10518 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10519 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10520 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10521 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10522 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10523 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10524 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10525 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10526 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10527 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10528 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10529 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10530 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10531 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10532 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10533 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10535 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10536 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10538 2015-01-20 Carlos O'Donell <carlos@redhat.com>
10540 * INSTALL: Regenerated.
10542 * po/libc.pot: Regenerated.
10544 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
10545 Sandra Loosemore <sandra@codesourcery.com>
10546 Andrew Jenner <andrew@codesourcery.com>
10547 Joseph Myers <joseph@codesourcery.com>
10548 Nathan Sidwell <nathan@codesourcery.com>
10550 * NEWS: Mention new Nios II port.
10551 * sysdeps/nios2/Implies: New file.
10552 * sysdeps/nios2/Makefile: New file.
10553 * sysdeps/nios2/Subdirs: New file.
10554 * sysdeps/nios2/Versions: New file.
10555 * sysdeps/nios2/__longjmp.S: New file.
10556 * sysdeps/nios2/abort-instr.h: New file.
10557 * sysdeps/nios2/backtrace.c: New file.
10558 * sysdeps/nios2/bits/endian.h: New file.
10559 * sysdeps/nios2/bits/fenv.h: New file.
10560 * sysdeps/nios2/bits/link.h: New file.
10561 * sysdeps/nios2/bits/setjmp.h: New file.
10562 * sysdeps/nios2/bsd-_setjmp.S: New file.
10563 * sysdeps/nios2/bsd-setjmp.S: New file.
10564 * sysdeps/nios2/configure: New generated file.
10565 * sysdeps/nios2/configure.ac: New file.
10566 * sysdeps/nios2/crti.S: New file.
10567 * sysdeps/nios2/crtn.S: New file.
10568 * sysdeps/nios2/dl-init.c: New file.
10569 * sysdeps/nios2/dl-machine.h: New file.
10570 * sysdeps/nios2/dl-sysdep.h: New file.
10571 * sysdeps/nios2/dl-tls.h: New file.
10572 * sysdeps/nios2/dl-trampoline.S: New file.
10573 * sysdeps/nios2/gccframe.h: New file.
10574 * sysdeps/nios2/gmp-mparam.h: New file.
10575 * sysdeps/nios2/jmpbuf-offsets.h: New file.
10576 * sysdeps/nios2/jmpbuf-unwind.h: New file.
10577 * sysdeps/nios2/ldsodefs.h: New file.
10578 * sysdeps/nios2/libc-tls.c: New file.
10579 * sysdeps/nios2/libm-test-ulps: New file.
10580 * sysdeps/nios2/machine-gmon.h: New file.
10581 * sysdeps/nios2/math-tests.h: New file.
10582 * sysdeps/nios2/math_private.h: New file.
10583 * sysdeps/nios2/memusage.h: New file.
10584 * sysdeps/nios2/nptl/Makefile: New file.
10585 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10586 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10587 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10588 * sysdeps/nios2/nptl/pthreaddef.h: New file.
10589 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10590 * sysdeps/nios2/nptl/tls.h: New file.
10591 * sysdeps/nios2/preconfigure: New file.
10592 * sysdeps/nios2/s_fma.c: New file.
10593 * sysdeps/nios2/s_fmaf.c: New file.
10594 * sysdeps/nios2/setjmp.S: New file.
10595 * sysdeps/nios2/sfp-machine.h: New file.
10596 * sysdeps/nios2/sotruss-lib.c: New file.
10597 * sysdeps/nios2/stackguard-macros.h: New file.
10598 * sysdeps/nios2/stackinfo.h: New file.
10599 * sysdeps/nios2/start.S: New file.
10600 * sysdeps/nios2/sysdep.h: New file.
10601 * sysdeps/nios2/tls-macros.h: New file.
10602 * sysdeps/nios2/tst-audit.h: New file.
10603 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
10604 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
10605 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
10606 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
10607 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
10608 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
10609 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
10610 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
10611 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
10612 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
10613 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
10614 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
10615 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
10616 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
10617 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
10618 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
10619 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
10620 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
10621 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
10622 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
10623 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
10624 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
10625 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
10626 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
10627 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
10628 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
10629 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
10630 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
10631 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
10632 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
10633 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
10634 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
10635 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
10636 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
10637 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
10638 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
10639 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
10640 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
10641 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
10642 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
10643 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
10644 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
10645 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
10646 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
10648 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10651 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
10652 (getutent): Use weak_alias in non SHARED case
10653 and default_symbol_version in SHARED case.
10654 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
10655 (getutent_r, pututline): Likewise.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
10657 (getutid): Likewise.
10658 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
10659 (getutid_r): Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
10661 (getutline): Likewise.
10662 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
10663 (getutline_r): Likewise.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
10665 (updwtmp): Likewise.
10667 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10670 * sysdeps/s390/s390-32/memcmp.S
10671 (memcmp_g5): Rename to __memcmp_g5.
10672 * sysdeps/s390/s390-32/memcpy.S
10673 (memcpy_g5): Rename to __memcpy_g5.
10674 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10675 (memcpy_mvcle) Rename to __memcpy_mvcle.
10676 * sysdeps/s390/s390-32/memset.S
10677 (memset_g5): Rename to __memset_g5.
10678 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10679 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10680 and use prefixed functions.
10681 * sysdeps/s390/s390-32/multiarch/memcmp.S
10682 (memcmp_z196): Rename to __memcmp_z196.
10683 (memcmp_z10): Rename to __memcmp_z10.
10684 (memcmp): Set alias to __memcmp_g5.
10685 (bcmp): Set alias to __memcmp_g5.
10686 * sysdeps/s390/s390-32/multiarch/memcpy.S
10687 (memcpy_z196): Rename to __memcpy_z196.
10688 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10689 (memcpy_z10): Rename to __memcpy_z10.
10690 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10691 (memcpy): Set alias to __memcpy_g5.
10692 * sysdeps/s390/s390-32/multiarch/memset.S
10693 (memset_z196): Rename to __memset_z196.
10694 Jump to __memset_mvcle instead of memset_mvcle.
10695 (memset_z10): Rename to __memset_z10.
10696 Jump to __memset_mvcle instead of memset_mvcle.
10697 (memset_mvcle) Rename to __memset_mvcle.
10698 (memset): Set alias to __memset_g5.
10699 * sysdeps/s390/s390-64/memcmp.S
10700 (memcmp_z900): Rename to __memcmp_z900.
10701 * sysdeps/s390/s390-64/memcpy.S
10702 (memcpy_z900): Rename to __memcpy_z900.
10703 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10704 (memcpy_mvcle) Rename to __memcpy_mvcle.
10705 * sysdeps/s390/s390-64/memset.S
10706 (memset_z900): Rename to __memset_z900.
10707 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
10708 (IFUNC_RESOLVE): Prefix ifunc-resolve function
10709 and use prefixed functions.
10710 * sysdeps/s390/s390-64/multiarch/memcmp.S
10711 (memcmp_z196): Rename to __memcmp_z196.
10712 (memcmp_z10): Rename to __memcmp_z10.
10713 (memcmp): Set alias to __memcmp_z900.
10714 (bcmp): Set alias to __memcmp_z900.
10715 * sysdeps/s390/s390-64/multiarch/memcpy.S
10716 (memcpy_z196): Rename to __memcpy_z196.
10717 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10718 (memcpy_z10): Rename to __memcpy_z10.
10719 Jump to __memcpy_mvcle instead of memcpy_mvcle.
10720 (memcpy): Set alias to __memcpy_z900.
10721 * sysdeps/s390/s390-64/multiarch/memset.S
10722 (memset_z196): Rename to __memset_z196.
10723 Jump to __memset_mvcle instead of memset_mvcle.
10724 (memset_z10): Rename to __memset_z10.
10725 Jump to __memset_mvcle instead of memset_mvcle.
10726 (memset_mvcle) Rename to __memset_mvcle.
10727 (memset): Set alias to __memset_z900.
10729 2015-01-14 Joseph Myers <joseph@codesourcery.com>
10732 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
10733 __fesetenv instead of fesetenv.
10735 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10737 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
10740 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10742 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
10745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
10746 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
10747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10748 strncmp-power8 object.
10749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10750 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
10751 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
10754 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10755 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10757 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
10758 trailing byte check.
10760 2015-01-13 David S. Miller <davem@davemloft.net>
10762 * include/signal.h (__sigreturn): Guard with __USE_MISC.
10764 2015-01-13 Roland McGrath <roland@hack.frob.com>
10766 * login/logout.c (logout): Use memset rather than bzero.
10767 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
10768 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
10769 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
10770 (_gethtbyaddr): Likewise.
10771 * locale/programs/simple-hash.c (bcopy): Macro removed.
10773 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10775 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10776 Add strcmp-power8 object.
10777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10778 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
10779 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
10780 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
10781 __strcmp_power8 implementation.
10782 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
10785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10786 Add strncpy-power8 and stpncpy-power8 objects.
10787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10788 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
10790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
10791 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
10792 __stpncpy_power8 implementation.
10793 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
10794 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
10795 __strncpy_power8 implementation.
10796 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
10797 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
10800 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
10801 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
10802 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
10804 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10805 strncat-power8 object.
10806 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
10807 __strcat_power8 implementation.
10808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10809 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
10810 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
10811 optimized strcat for power8.
10813 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
10814 strcpy-power8 and stpcpy-power8 objects.
10815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10816 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
10818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
10819 multiarch stpcpy implementation for POWER8.
10820 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
10821 multiarch strcpy implementation for POWER8.
10822 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
10823 __strcpy_power8 function.
10824 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
10826 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
10830 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
10833 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
10834 weights and rules. Use do_xfrm_cached if data fits in cache,
10835 do_xfrm otherwise. Moved former main loop to...
10836 * (do_xfrm_cached): New function.
10837 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
10838 find_idx, find_position and stack_push.
10839 * (find_idx): New function.
10840 * (find_position): Likewise.
10841 * localedata/sort-test.sh: Added test run for do_xfrm.
10842 * localedata/xfrm-test.c (main): Added command line option
10843 -nocache to run the test with strings that are too large for
10846 2015-01-13 Torvald Riegel <triegel@redhat.com>
10848 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
10849 variable to lll_futex_wake call, not the value itself.
10851 2015-01-12 Joseph Myers <joseph@codesourcery.com>
10854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
10855 twom64. Adjust value to 0x1p-64L.
10856 (__scalblnl): Only return standard underflowing result for K <=
10857 -64 not K <= -63; adjust exponent for underflowing result by 64
10859 * math/libm-test.inc (scalbn_test_data): Add more tests.
10860 (scalbln_test_data): Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
10865 (__scalblnl): Get new exponent of adjusted subnormal value from ES
10867 * math/libm-test.inc (scalbn_test_data): Add more tests.
10868 (scalbln_test_data): Likewise.
10870 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871 Stefani Seibold <stefani@seibold.net>
10873 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
10874 (sysdep_routines): Add dl-vdso here, ...
10875 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
10876 (sysdep_routines): ... not here.
10877 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
10878 fallback when vDSO is not presented.
10879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10880 Define with libc_hidden_proto/libc_hidden_data_def definitions.
10881 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
10882 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
10883 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
10884 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
10885 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
10886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
10887 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
10888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
10889 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
10890 fallback configurable symbol when vDSO is not available.
10891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
10892 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
10893 be able to redefine fallback symbol when vDSO is not available.
10894 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
10895 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
10897 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10899 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
10900 (TLS_INIT_TP): Add tm_capable initialization.
10901 (TLS_DEFINE_INIT_TP): Likewise.
10902 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
10904 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
10905 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
10907 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
10908 transactoion is lock elision is built and TCB tm_capable is set.
10909 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10911 (INTERNAL_SYSCALL_NCS): Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10913 (INTERNAL_SYSCALL_NCS): Likewise.
10914 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
10916 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
10918 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10919 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
10920 and remove it for 32 bits case.
10921 [pthread_rwlock_t] (__rwelision): New field for lock elision.
10922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
10924 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
10925 Disable lock elision with rdlocks if elision is not available.
10927 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
10928 (sysdep_routines): Add lock elision objects.
10929 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10930 [pthread_mutex_t] (__spins): Rework to add lock elision field.
10931 [pthread_mutex_t] (__elision): Add field.
10932 [__PTHREAD_SPINS]: Adjust to init lock elision field.
10933 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
10934 elision definitions for powerpc.
10935 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
10936 implementation of lock elision for powerpc.
10937 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
10938 implementation of timed lock elision for powerpc.
10939 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
10940 implementation of trylock with lock elision for powerpc.
10941 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
10942 implementaion of unlock for lock elision for powerpc.
10943 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
10944 automatic enable lock elision for mutexes.
10945 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
10946 transaction execution definitions for powerpc.
10947 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
10949 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
10950 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
10955 2015-01-09 Roland McGrath <roland@hack.frob.com>
10957 * sysdeps/posix/shm-directory.c: Use <> rather than ""
10958 for #include of <shm-directory.h>.
10960 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
10962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10963 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10965 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
10968 * NEWS: Mention bug fix.
10969 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10970 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10971 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10973 2015-01-09 Torvald Riegel <triegel@redhat.com>
10975 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10977 2015-01-09 Torvald Riegel <triegel@redhat.com>
10979 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10981 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10983 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10984 pointer and cast to uintptr_t.
10986 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10988 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10990 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10992 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
10994 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10997 2015-01-08 Roland McGrath <roland@hack.frob.com>
10999 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11000 <nptl/pthreadP.h> instead.
11001 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11003 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11005 [__SIGRTMIN] (init): Function removed.
11006 [__SIGRTMIN] (initialized): Variable removed.
11007 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11008 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11009 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11010 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11011 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11012 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11013 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11014 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11015 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11016 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11017 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11018 * sysdeps/nptl/allocrtsig.c: New file.
11019 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11020 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11021 * sysdeps/generic/testrtsig.h: File removed.
11023 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11024 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11026 * nptl/nptl-init.c (pthread_functions): Conditionalize
11027 .ptr__nptl_setxid initialization on [SIGSETXID].
11029 * sysdeps/nptl/sys/procfs.h: New file.
11030 * nptl_db/Makefile (headers): Add it.
11031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11033 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11034 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11035 * nptl/pthread_attr_setaffinity.c: Include it.
11036 * nptl/pthread_setattr_default_np.c: Likewise.
11037 * nptl/check-cpuset.h: New file.
11039 2015-01-08 Richard Henderson <rth@redhat.com>
11041 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11042 (CFLAGS-tst-execstack-prog.c): Likewise.
11043 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11045 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
11046 Sandra Loosemore <sandra@codesourcery.com>
11047 Andrew Jenner <andrew@codesourcery.com>
11048 Joseph Myers <joseph@codesourcery.com>
11049 Nathan Sidwell <nathan@codesourcery.com>
11051 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11052 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11053 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11054 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11055 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11056 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11057 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11058 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11059 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11060 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11061 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11062 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11063 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11064 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11065 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11066 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11067 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11069 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11072 timespec struct member in syscall macro.
11073 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11074 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11075 first timeval struct member in syscall macro.
11076 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11078 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11081 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11082 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11083 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11084 __feupdateenv and define as weak alias of __feupdateenv. Use
11086 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11088 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11089 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11090 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11091 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11093 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11094 __feupdateenv and define as weak alias of __feupdateenv. Use
11096 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11098 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11099 __feupdateenv and define as weak alias of __feupdateenv. Use
11101 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11103 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11104 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11105 (__feupdateenv): Likewise.
11106 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11107 __feupdateenv and define as weak alias of __feupdateenv. Use
11109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11110 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11112 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11114 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11116 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11117 __feupdateenv instead of feupdateenv.
11118 (default_libc_feupdateenv_test): Likewise.
11119 (libc_feresetround_ctx): Likewise.
11121 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11123 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11126 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11128 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11129 COLL_SYM in a couple of places to avoid uninitialized variable
11130 wanings on tilegx gcc 4.8.2.
11132 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11134 * sysdeps/aarch64/strcpy.S: New file.
11135 * sysdeps/aarch64/stpcpy.S: New file.
11138 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11140 * sysdeps/aarch64/strrchr.S: New file.
11143 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11146 * stdlib/setenv.c: Fix memory leak when setting large,
11149 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11152 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11153 and tabs from buffer before parsing fstab entry.
11154 * misc/tst-mntent.c (main): Add test for mount entry with
11155 trailing spaces and tabs.
11157 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11160 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11161 * math/fesetround.c (fesetround): Rename to __fesetround and
11162 define as weak alias of __fesetround. Use libm_hidden_weak.
11163 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11164 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11165 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11166 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11167 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11168 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11169 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11170 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11171 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11172 __fesetround_inline.
11173 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11174 __fesetround_inline instead of __fesetround.
11175 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11176 __fesetround and define as weak alias of __fesetround. Use
11177 libm_hidden_weak. Call __fesetround_inline instead of
11179 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11180 __fesetround and define as weak alias of __fesetround. Use
11182 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11184 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11186 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11187 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11188 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11189 __fesetround and define as weak alias of __fesetround. Use
11191 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11192 __fesetround instead of fesetround.
11193 (default_libc_feholdexcept_setround): Likewise.
11194 (libc_feholdsetround_ctx): Likewise.
11195 (libc_feholdsetround_noex_ctx): Likewise.
11198 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11199 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11200 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11201 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11202 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11203 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11204 define as weak alias of __fesetenv. Use libm_hidden_weak.
11205 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11206 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11207 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11208 define as weak alias of __fesetenv. Use libm_hidden_weak.
11209 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11210 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11211 define as weak alias of __fesetenv. Use libm_hidden_weak.
11212 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11214 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11215 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11217 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11218 define as weak alias of __fesetenv. Use libm_hidden_weak.
11219 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11220 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11221 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11222 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11223 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11224 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11225 __fesetenv instead of fesetenv.
11226 (libc_feresetround_noex_ctx): Likewise.
11227 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11228 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11230 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11231 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11232 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11233 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11234 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11235 (__feupdateenv): Likewise.
11236 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11237 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11238 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11239 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11241 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11244 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11245 addresses have been freed.
11247 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11249 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11252 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11254 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11255 Clean up check_pf allocation pattern. addresses
11257 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11260 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11261 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11262 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11263 * nptl/pthread_join.c (pthread_join): Likewise.
11264 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11265 * sysdeps/posix/waitid.c (__waitid): Likewise.
11266 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11267 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11268 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11269 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11273 (__libc_pread64): Likewise.
11274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11275 (__libc_pwrite): Likewise.
11276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11277 (__libc_pwrite64): Likewsie.
11278 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11279 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11280 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11281 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11282 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11283 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11288 (__libc_pread64): Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11292 (__libc_pwrite64): Likewise.
11293 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11294 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11295 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11296 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11297 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11298 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11299 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11300 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11301 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11302 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11303 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11304 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11305 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11306 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11307 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11311 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11313 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11314 (CFLAGS-test-double.c): Likewise.
11315 (CFLAGS-test-ldouble.c): Likewise.
11316 (CPPFLAGS-test-ifloat.c): Likewise.
11317 (CPPFLAGS-test-idouble.c): Likewise.
11318 (CPPFLAGS-test-ildoubl.c): Likewise.
11319 (CFLAGS-test-test-fenv.c): Remove variable.
11320 (CFLAGS-test-misc.c): Likewise.
11322 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11325 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11326 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11327 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11328 CLOCKS_PER_SEC == 1000000.
11329 * time/clocktest.c (main): Replace %ld with %jd and cast to
11332 2015-01-05 Roland McGrath <roland@hack.frob.com>
11334 * sysdeps/generic/unwind-resume.h: New file.
11335 * sysdeps/gnu/unwind-resume.c: Include it.
11336 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11337 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11339 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11340 global rather than static.
11341 (_Unwind_Resume): Update user.
11342 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11343 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11344 rather than static. Add __attribute__ ((cold)).
11345 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11346 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11347 * sysdeps/arm/arm-unwind-resume.S: New file.
11348 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11349 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11350 * sysdeps/arm/Makefile [$(subdir) = csu]
11351 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11352 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11353 Add rt-arm-unwind-resume.
11355 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11356 Add pt-arm-unwind-resume.
11357 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11358 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11360 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11363 * include/fenv.h (__feholdexcept): Declare. Use
11365 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11366 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11367 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11368 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11369 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11370 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11372 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11373 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11374 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11375 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11376 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11377 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11378 (feholdexcept): Likewise.
11379 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11380 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11381 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11382 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11383 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11384 __feholdexcept instead of feholdexcept.
11385 (default_libc_feholdexcept_setround): Likewise.
11387 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11389 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11390 to avoid using stl/str to align destination.
11392 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11394 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11396 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11399 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11400 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11401 Define as weak alias not strong alias.
11403 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11405 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11406 bltzal with addiupc.
11407 (RTLD_START): Ditto.
11409 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11411 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11412 for __vdso_* functions in declarations.
11413 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11415 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11416 INTERNAL_VSYSCALL): Use struct return types to check for error.
11418 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11419 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11420 function with cast from llround().
11421 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11422 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11425 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11428 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11429 Define as weak alias not strong alias.
11432 * ctype/ctype-c99.c: New file. isblank implementation moved from
11434 * ctype/ctype-extn.c: ... here.
11435 (__isblank_l): Move to ...
11436 * ctype/ctype-c99_l.c: ... here. New file.
11437 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11438 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11440 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11441 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11442 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11443 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11444 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11447 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11448 (posix_fadvise64): Define as weak alias not strong alias.
11449 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11450 (posix_fallocate64): Likewise.
11451 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11453 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11454 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11455 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11456 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11457 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11459 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
11462 * NEWS: Mention bug fix.
11463 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11464 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11465 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11466 (HOST_STACK_END_ADDR): Likewise.
11468 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11471 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
11472 * math/fegetround.c (fegetround): Rename to __fegetround and
11473 define as weak alias of __fegetround. Use libm_hidden_weak.
11474 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11475 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11476 * sysdeps/arm/fegetround.c (fegetround): Likewise.
11477 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11478 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11479 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11480 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11481 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11482 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11483 Undefine after rather than before function definition; use
11484 parentheses around function name in definition.
11485 (__fegetround): Also undefine macro after function definition.
11486 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11487 __fegetround and define as weak alias of __fegetround. Use
11488 libm_hidden_weak. Do not undefine as macro.
11489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11491 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11492 __fegetround and define as weak alias of __fegetround. Use
11494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11495 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11496 * sysdeps/tile/math_private.h (__fegetround): New inline function.
11497 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11498 __fegetround and define as weak alias of __fegetround. Use
11500 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11501 __fegetround instead of fegetround.
11504 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11505 Condition macro definition on [__USE_MISC].
11508 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11509 (struct sigaction): Change type of sa_flags field to int.
11512 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11513 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11516 * nptl/version.c (banner): Use single year in copyright notice.
11518 * NEWS: Update copyright dates.
11519 * catgets/gencat.c (print_version): Likewise.
11520 * csu/version.c (banner): Likewise.
11521 * debug/catchsegv.sh: Likewise.
11522 * debug/pcprofiledump.c (print_version): Likewise.
11523 * debug/xtrace.sh (do_version): Likewise.
11524 * elf/ldconfig.c (print_version): Likewise.
11525 * elf/ldd.bash.in: Likewise.
11526 * elf/pldd.c (print_version): Likewise.
11527 * elf/sotruss.sh: Likewise.
11528 * elf/sprof.c (print_version): Likewise.
11529 * iconv/iconv_prog.c (print_version): Likewise.
11530 * iconv/iconvconfig.c (print_version): Likewise.
11531 * locale/programs/locale.c (print_version): Likewise.
11532 * locale/programs/localedef.c (print_version): Likewise.
11533 * login/programs/pt_chown.c (print_version): Likewise.
11534 * malloc/memusage.sh (do_version): Likewise.
11535 * malloc/memusagestat.c (print_version): Likewise.
11536 * malloc/mtrace.pl: Likewise.
11537 * manual/libc.texinfo: Likewise.
11538 * nptl/version.c (banner): Likewise.
11539 * nscd/nscd.c (print_version): Likewise.
11540 * nss/getent.c (print_version): Likewise.
11541 * nss/makedb.c (print_version): Likewise.
11542 * posix/getconf.c (main): Likewise.
11543 * scripts/test-installation.pl: Likewise.
11544 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11546 2015-01-02 Will Newton <will.newton@linaro.org>
11548 * sysdeps/arm/armv7/configure: Removed.
11549 * sysdeps/arm/armv7/configure.ac: Likewise.
11551 2015-01-02 Joseph Myers <joseph@codesourcery.com>
11553 * All files with FSF copyright notices: Update copyright dates
11554 using scripts/update-copyrights.
11555 * intl/plural.c: Regenerated.
11556 * locale/programs/charmap-kw.h: Likewise.
11557 * locale/programs/locfile-kw.h: Likewise.
11559 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11561 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11563 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11566 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11567 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11568 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11569 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11570 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11571 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11572 define as weak alias of __fegetenv. Use libm_hidden_weak.
11573 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11574 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11575 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11576 define as weak alias of __fegetenv. Use libm_hidden_weak.
11577 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11578 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11579 define as weak alias of __fegetenv. Use libm_hidden_weak.
11580 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11582 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11583 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11586 define as weak alias of __fegetenv. Use libm_hidden_weak.
11587 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11588 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11589 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11590 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11591 and define as weak alias of __fegetenv. Use libm_hidden_weak.
11592 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11593 __fegetenv instead of fegetenv.
11594 (libc_feholdsetround_noex_ctx): Likewise.
11596 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
11598 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11599 (Elf_MIPS_ABIFlags_v0): New structure.
11600 (EF_MIPS_FP64): Define.
11601 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
11602 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
11603 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
11604 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
11605 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
11606 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
11607 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
11608 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
11609 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
11610 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
11611 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
11612 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
11613 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
11614 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
11615 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
11616 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
11617 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
11618 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
11619 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
11620 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
11621 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
11622 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
11624 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
11626 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
11627 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
11628 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
11629 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
11630 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
11631 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
11632 * sysdeps/mips/tst-abi-interlink.c: Likewise.
11633 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
11634 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
11635 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
11636 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
11637 record the current FP ABI extension.
11638 (mips-mode-switch): Define to show if kernel headers support mode
11640 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11641 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
11642 supported SYSV ABI version to 3.
11643 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
11646 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11647 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11649 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
11651 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
11653 2014-12-31 Joseph Myers <joseph@codesourcery.com>
11655 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
11656 __fegetround and redefine to call __fegetround. Remove condition
11657 on [!__NO_MATH_INLINES].
11658 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
11660 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
11661 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
11664 instead of <fenv_libc.h>.
11665 (__llrintl): Call fegetround instead of __fegetround.
11666 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
11667 instead of <fenv_libc.h>.
11668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11669 (__lrintl): Call fegetround instead of __fegetround.
11670 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
11671 instead of <fenv_libc.h>.
11672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11673 (__rintl): Call fegetround instead of __fegetround.
11675 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
11680 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11683 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
11684 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11685 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
11687 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11689 * sysdeps/i386/tls-macros.h: Include <features.h>.
11690 (TLS_LE): Use non-PIC version for GCC >= 5.0.
11691 (TLS_IE): Likewise.
11692 (TLS_LD): Likewise.
11693 (TLS_GD): Likewise.
11694 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
11695 define for GCC >= 5.0.
11697 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
11699 * math/test-fenv.c (test_single_exception, set_single_exc,
11700 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
11701 feexcp_mask_test, feenable_test, fe_single_test): Add
11702 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
11703 case where they are not used.
11704 * math/libm-test.inc: Likewise.
11705 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
11706 unused in the absence of FP rounding/exception support.
11707 * stdio-common/tst-printf-round.c: Likewise.
11708 * stdlib/tst-strtod-round.c: Likewise.
11709 * stdlib/tst-strtod-underflow.c: Likewise.
11711 2014-12-30 Joseph Myers <joseph@codesourcery.com>
11714 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
11715 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
11716 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11717 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11719 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
11720 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11721 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
11723 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11724 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11726 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
11728 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
11729 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11730 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11732 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11734 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11735 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
11736 (__feraiseexcept): Likewise.
11737 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
11738 __feraiseexcept and define as weak alias of __feraiseexcept. Use
11740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11741 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
11743 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
11744 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
11745 Use libm_hidden_def.
11746 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
11748 (feraiseexcept): Define as weak not strong alias. Use
11750 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
11751 New inline function. Factored out of ...
11752 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
11753 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
11754 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
11756 * math/w_acos.c (__acos): Likewise.
11757 * math/w_asin.c (__asin): Likewise.
11758 * math/w_ilogb.c (__ilogb): Likewise.
11759 * math/w_j0.c (y0): Likewise.
11760 * math/w_j1.c (y1): Likewise.
11761 * math/w_jn.c (yn): Likewise.
11762 * math/w_log.c (__log): Likewise.
11763 * math/w_log10.c (__log10): Likewise.
11764 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
11765 * sysdeps/aarch64/fpu/math_private.h
11766 (libc_feupdateenv_test_aarch64): Likewise.
11767 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11768 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
11769 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
11770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11771 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11772 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11773 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
11774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11775 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11776 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11778 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
11781 * io/test-utime.c (main): Replace %ld with %jd and cast to
11783 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
11784 * nptl/tst-mutex5.c: Include <stdint.h>.
11785 (do_test): Replace %ld with %jd and cast to intmax_t.
11786 * posix/tst-regex.c (run_test): Likewise.
11787 (run_test_backwards): Likewise.
11788 * rt/tst-clock.c: Include <stdint.h>.
11789 (clock_test): Replace %ld with %jd and cast to intmax_t.
11790 * rt/tst-cpuclock1.c: Include <stdint.h>.
11791 (do_test): Replace %lu with %ju and cast to uintmax_t.
11792 * rt/tst-cpuclock2.c: Include <stdint.h>.
11793 (do_test): Replace %lu with %ju and cast to uintmax_t.
11794 * rt/tst-mqueue1.c: Include <stdint.h>.
11795 (check_attrs): Replace %ld with %jd and cast to intmax_t.
11796 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
11798 * rt/tst-mqueue4.c (do_test): Likewise.
11799 * rt/tst-timer4.c: Include <stdint.h>.
11800 (check_ts): Replace %ld with %jd and cast to intmax_t.
11801 (do_test): Likewise.
11802 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
11803 and cast to intmax_t.
11804 * sysdeps/pthread/tst-timer.c (main): Likewise.
11805 * time/clocktest.c (main): Likewise.
11806 * time/tst-posixtz.c (do_test): Likewise.
11807 * timezone/tst-timezone.c (main): Likewise.
11809 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
11810 H.J. Lu <hongjiu.lu@intel.com>
11812 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
11813 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
11814 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
11817 version if bit_Fast_Unaligned_Load is set.
11818 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11819 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11820 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11821 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11822 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11825 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
11826 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
11827 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
11829 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
11830 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
11831 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
11832 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
11834 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
11836 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
11837 instead of #if to avoid a Wundef warning.
11838 * stdlib/tst-limits.c (do_test): Likewise.
11840 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
11841 parallel other exception macros.
11842 (fegetenv): Convert from macro to extern inline so that it applies
11843 retroactively to inline functions already seen by the compiler.
11844 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
11846 * posix/Makefile (before-compile): Use $(objpfx) for
11847 posix-conf-vars-def.h.
11849 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11851 * posix/getconf.c (main): Use size_t for type of I.
11852 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
11855 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
11856 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
11857 * posix/posix-envs.def: Likewise.
11858 * sysdeps/posix/sysconf.c: Likewise.
11859 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
11860 (specs): Remove array.
11861 * scripts/gen-posix-conf-vars.awk: Support generation of specs
11864 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
11865 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
11866 (__sysconf): Use CONF_IS_* macros.
11868 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
11869 ($(objpfx)posix-conf-vars-def.h): New target.
11870 * posix/posix-conf-vars.list: New file.
11871 * posix/posix-conf-vars.h: New file.
11872 * posix/confstr.c: Include posix-conf-vars.h.
11873 (confstr): Use CONF_IS_* macros.
11874 * posix/posix-envs.def: Include posix-conf-vars.h. Use
11876 * scripts/gen-posix-conf-vars.awk: New file.
11878 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
11880 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
11881 fegetround): Add no-op macros to avoid linknamespace issues.
11883 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
11884 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
11886 * sysdeps/unix/sysv/linux/tile/sysdep.h
11887 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
11888 assembly-specific section to avoid a redefinition warning.
11890 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
11891 long before casting to pointer to avoid a cast warning.
11893 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
11895 * sysdeps/tile/tilegx/Implies: New file.
11897 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
11899 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
11901 2014-12-23 Florian Weimer <fweimer@redhat.com>
11903 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
11905 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
11909 * sysdeps/unix/sysv/linux/utimes.c: Do not include
11910 <kernel-features.h>.
11911 (__utimes) [__NR_utimes]: Make code unconditional.
11912 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11914 (__ASSUME_UTIMES): Do not undefine.
11915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11916 (__ASSUME_UTIMES): Likewise.
11917 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11918 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
11919 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
11920 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
11922 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11924 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
11926 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
11929 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
11930 alias to weak alias for j0l, y0l.
11931 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
11932 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
11935 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
11938 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
11940 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
11941 to zero if not already defined.
11943 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11946 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
11947 (__kernel_standard_f): Remove. Moved to k_standardf.c.
11948 (__kernel_standard_l): Remove. Moved to k_standardl.c with
11949 (char *) casts added.
11950 * sysdeps/ieee754/k_standardf.c: New file.
11951 * sysdeps/ieee754/k_standardl.c: Likewise.
11952 * math/Makefile (libm-support): Remove k_standard.
11953 (libm-calls): Add k_standard.
11955 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11957 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11958 Optimize to avoid an unnecessary FPCR read.
11960 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11963 Optimize to reduce FPCR/FPSR accesses.
11965 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11967 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11968 Call libc_fetestexcept_aarch64.
11970 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
11972 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11973 Call libc_fesetround_aarch64.
11975 2014-12-22 Joseph Myers <joseph@codesourcery.com>
11978 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11979 (__bind): Do not define as weak alias.
11980 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11982 (__getsockname): Do not define as weak alias.
11984 2014-12-22 Will Newton <will.newton@linaro.org>
11986 * manual/install.texi: Document that we require bison 2.7
11988 * INSTALL: Regenerate.
11989 * configure.ac: Use AC_CHECK_PROG_VER instead of
11990 AC_PATH_PROG when checking for bison and check for
11991 version 2.7 or above.
11992 * configure: Regenerate.
11994 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
11997 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11998 * sysdeps/tile/ffsll.c (ffsll): To here.
12000 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12002 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12004 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12006 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12008 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12009 hidden ___tls_get_addr.
12010 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12011 hidden __tls_get_addr.
12012 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12013 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12016 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
12018 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12021 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12024 from "call _dl_init@PLT".
12025 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12027 2014-12-21 Anders Kaseorg <andersk@mit.edu>
12029 * manual/search.texi: (Array Sort Function): Clarify stable sorting
12032 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
12034 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12036 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12039 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12042 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12044 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12045 of multu on MIPSr6.
12046 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12047 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12048 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12049 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12050 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12052 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12054 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12055 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12056 (PTR_SUBU): Use subu for mips32r6/mips64r6.
12057 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12058 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12060 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12062 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
12064 * string/strncat.c (STRNCAT): Simplify implementation.
12066 2014-12-19 David S. Miller <davem@davemloft.net>
12068 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12069 access the quad as both a long double and as a series of 4 words.
12071 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12072 link_map->l_info array access.
12074 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12076 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12078 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12079 * math/atest-exp2.c (TIMEOUT): Likewise.
12080 * math/atest-sincos.c (TIMEOUT): Likewise.
12082 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12084 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12085 -Wno-error with -fno-builtin-lround.
12087 2014-12-19 Torvald Riegel <triegel@redhat.com>
12089 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12090 Contains futex constants and functions moved over from ...
12091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12092 <lowlevellock-futex.h>.
12093 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12094 (lll_timedwait_tid): Add comments and parentheses around macro
12097 2014-12-19 Torvald Riegel <triegel@redhat.com>
12099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12100 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12101 (__lll_private_flag): Remove.
12102 (lll_futex_wait): Likewise.
12103 (lll_futex_timed_wait): Likewise.
12104 (lll_futex_wake): Likewise.
12105 (lll_futex_requeue): Likewise.
12106 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12107 (__lll_timedwait_tid): Spell out argument names.
12108 (lll_timedwait_tid): Add comments and parentheses around macro
12110 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12111 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12113 2014-12-19 Torvald Riegel <triegel@redhat.com>
12115 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12116 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12117 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12118 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12119 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12120 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12121 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12122 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12123 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12124 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12129 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12130 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12131 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12132 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12135 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12137 * sysdeps/x86_64/x32/Makefile: New file.
12139 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12141 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12142 1L with (mp_limb_t) 1.
12144 2014-12-17 Roland McGrath <roland@hack.frob.com>
12146 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12147 * nptl/libc_pthread_init.c: ... here.
12148 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12149 * nptl/register-atfork.c: ... here.
12151 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12152 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12153 Use assert_perror to check its return value.
12154 (__gai_create_helper_thread): Likewise.
12156 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12158 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12160 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12163 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12165 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12167 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12169 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12171 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12172 (profil_counter): Likewise.
12173 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12174 (profil_counter): Likewise.
12175 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12177 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12179 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12180 (profil_counter): Likewise.
12181 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12183 [!__profil_counter] (profil_counter): Define as weak alias of
12185 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12186 (profil_counter): Rename to __profil_counter.
12187 [!__profil_counter] (profil_counter): Define as weak alias of
12189 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12190 (profil_counter): Rename to __profil_counter.
12191 [!__profil_counter] (profil_counter): Define as weak alias of
12193 * sysdeps/posix/profil.c: Update comment referring to
12195 (__profil): Use __profil_counter instead of profil_counter.
12196 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12197 __profil_counter. Use __profil_counter_ushort and
12198 __profil_counter_uint in definitions.
12199 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12200 instead of profil_counter_uint and profil_counter_ushort.
12203 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12204 define as weak alias of __inet_makeaddr.
12205 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12206 as weak alias of __inet_addr.
12207 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12208 as weak alias of __inet_pton. Use libc_hidden_weak.
12209 * include/arpa/inet.h (__inet_pton): Declare. Use
12211 (inet_makeaddr): Don't use libc_hidden_proto.
12212 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12213 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12214 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12215 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12217 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12218 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12220 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12222 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12224 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12226 * stdio-common/bug-vfprintf-nargs.c (do_test):
12227 Cast value to intptr_t to avoid format warning
12228 for usage with PRIdPTR printing macro.
12230 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12232 * libio/tst-widetext.c (do_test):
12233 Use format type %td instead of %Zd for ptrdiff_t
12234 in order to avoid format warning.
12236 2014-12-17 Andreas Schwab <schwab@suse.de>
12238 * nscd/mem.c (gc): Add size_t cast to match printf format.
12240 2014-12-16 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12243 (init): Apply PTR_MANGLE to pointers before storing them.
12244 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12247 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12250 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12251 define as weak alias of __memrchr.
12252 (__memrchr): Do not define as strong alias of memrchr.
12253 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12255 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12256 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12257 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12260 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12261 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12262 (if_indextoname): Rename to __if_indextoname and define as weak
12263 alias of __if_indextoname. Use libc_hidden_weak.
12264 (if_freenameindex): Rename to __if_freenameindex and define as
12265 weak alias of __if_freenameindex.
12266 (if_nameindex): Rename to __if_nameindex and define as weak alias
12268 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12269 __if_nametoindex and define as weak alias of __if_nametoindex.
12270 Use libc_hidden_weak.
12271 (if_freenameindex): Rename to __if_freenameindex and define as
12272 weak alias of __if_freenameindex.
12273 (if_nameindex): Rename to __if_nameindex and define as weak alias
12275 (if_indextoname): Rename to __if_indextoname and define as weak
12276 alias of __if_indextoname. Use libc_hidden_weak.
12277 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12278 __if_nametoindex and define as weak alias of __if_nametoindex.
12279 Use libc_hidden_weak.
12280 (if_freenameindex): Rename to __if_freenameindex and define as
12281 weak alias of __if_freenameindex. Use libc_hidden_weak.
12282 (if_nameindex_netlink): Use __if_freenameindex instead of
12284 (if_nameindex): Rename to __if_nameindex and define as weak alias
12285 of __if_nameindex. Use libc_hidden_weak.
12286 (if_indextoname): Rename to __if_indextoname and define as weak
12287 alias of __if_indextoname. Use libc_hidden_weak.
12288 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12290 [!_ISOMAC] (__if_freenameindex): Likewise.
12291 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12293 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12295 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12296 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12297 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12298 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12299 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12300 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12301 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12303 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12305 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12306 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12308 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12310 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12311 subscript above bounds'
12313 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12316 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12318 * libio/tst-fopenloc.c: Use test-skeleton.c.
12320 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12321 (entry): Rename to ITEM.
12322 (do_test, comp): Adjust.
12324 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12326 2014-12-16 Torvald Riegel <triegel@redhat.com>
12328 * string/tester.c: Include <libc-internal.h>.
12329 (test_memset): Ignore -Wmemset-transposed-args.
12331 2014-12-16 Torvald Riegel <triegel@redhat.com>
12333 * misc/tst-mntent2.c (do_test): Fix warning.
12335 2014-12-16 Torvald Riegel <triegel@redhat.com>
12337 * elf/tst-unique4lib.cc(a): Mark as used.
12339 2014-12-16 Florian Weimer <fweimer@redhat.com>
12342 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12345 2014-12-16 Allan McRae <allan@archlinux.org>
12347 * stdio-common/Makefile (tests): Re-add bug26.
12349 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12352 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12355 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12357 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12358 (__lll_lock_wait): Likewise.
12359 (__lll_timedlock_wait): Likewise.
12360 (__lll_timedwait_tid): Likewise.
12361 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12362 (__lll_robust_timedlock_wait): Likewise.
12363 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12364 (lll_cond_trylock): Likewise.
12365 (__lll_lock): Likewise.
12366 (__lll_robust_lock): Likewise.
12367 (__lll_cond_lock): Likewise.
12368 (lll_robust_cond_lock): Likewise.
12369 (__lll_timedlock): Likewise.
12370 (__lll_robust_timedlock): Likewise.
12371 (__lll_unlock): Likewise.
12372 (__lll_robust_unlock): Likewise.
12373 (lll_wait_tid): Likewise.
12374 (lll_timedwait_tid): Likewise.
12376 2014-12-15 Torvald Riegel <triegel@redhat.com>
12378 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12380 2014-12-15 Torvald Riegel <triegel@redhat.com>
12382 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12384 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12386 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12387 * stdio-common/tst-sprintf.c: Likewise.
12389 2014-12-15 Torvald Riegel <triegel@redhat.com>
12391 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12393 2014-12-15 Jeff Law <law@redhat.com>
12396 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12397 on the heap. (CVE-2012-3406)
12398 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12399 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12400 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12402 2014-12-15 Will Newton <will.newton@linaro.org>
12404 * manual/install.texi: Bump required version of texinfo
12406 * INSTALL: Regenerated.
12407 * configure.ac: Check for makeinfo version 4.7 and above.
12408 * configure: Regenerated.
12410 2014-12-12 Roland McGrath <roland@hack.frob.com>
12412 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12413 PREFIX, string constant to insert between directory and name.
12414 * sysdeps/posix/shm_open.c: Update caller.
12415 * sysdeps/posix/shm_unlink.c: Likewise.
12416 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12417 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12418 (SEM_SHM_PREFIX): New macro.
12419 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12420 [$(have-thread-library) = no].
12421 * nptl/Makefile (libpthread-routines): Add shm-directory.
12422 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12423 * sysdeps/nptl/shm-directory.h: New file.
12424 * sysdeps/posix/shm-directory.c
12425 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12426 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12427 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12429 (__where_is_shmfs): Function removed.
12430 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12432 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12434 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12436 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12437 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12438 unconditional for use inside libpthread.
12439 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12441 2014-12-12 Roland McGrath <roland@hack.frob.com>
12443 * nptl/pthread_getaffinity.c: New file.
12444 * nptl/pthread_setaffinity.c: New file.
12445 * nptl/pthread_getname.c: New file.
12446 * nptl/pthread_setname.c: New file.
12448 * nptl/pthread_create.c (START_THREAD_DEFN)
12449 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12451 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12454 * resolv/res_send.c (send_vc): Disable warning resplen may
12455 be used uninitialized.
12457 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12459 * nptl/tst-mutex6.c
12460 (ATTR_NULL): New define checks ATTR against NULL.
12461 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12462 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12464 2014-12-11 James Lemke <jwlemke@codesourcery.com>
12468 (mem2mem_check): Revert my previous change.
12469 (malloc_check_get_size): Revert my previous change.
12470 (mem2chunk_check): Revert my previous change.
12472 2014-12-11 Roland McGrath <roland@hack.frob.com>
12474 * sysdeps/posix/shm-directory.c: New file.
12475 * sysdeps/posix/shm-directory.h: New file.
12476 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12477 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12478 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
12479 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12480 Transmute EPERM to EACCES.
12481 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12483 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
12484 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12486 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12488 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12489 pointer and cast to uintptr_t.
12490 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12491 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12492 Add cast to avoid warning.
12493 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12495 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12497 * nptl/semaphore.h: Move to ...
12498 * sysdeps/pthread/semaphore.h: ... here.
12499 * Makefile (installed-headers): Change nptl/semaphore.h to
12500 sysdeps/pthread/semaphore.h.
12502 2014-12-11 Roland McGrath <roland@hack.frob.com>
12504 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12505 generated error format strings.
12507 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12508 -Wformat-extra-args warnings for scanf formats.
12509 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12510 test of zero-length format (duh).
12511 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12512 corner-case scanf format test.
12513 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12514 generated fprintf format string.
12515 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12516 corner-case sprintf format tests.
12517 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12518 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12519 -Wformat-extra-args warnings throughout.
12520 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12521 (CFLAGS-scanf4.c): Likewise.
12522 (CFLAGS-scanf7.c): Likewise.
12523 (CFLAGS-tst-sprintf.c): Likewise.
12524 (CFLAGS-tst-printf.c): Likewise.
12525 (CFLAGS-tst-printfsz.c): Likewise.
12527 2014-12-11 Joseph Myers <joseph@codesourcery.com>
12529 * include/cpio.h: New file.
12530 * include/fmtmsg.h: Likewise.
12532 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
12533 corresponding format argument to size_t.
12534 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
12536 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
12537 corresponding format argument to size_t.
12538 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
12540 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
12541 corresponding format argument to size_t.
12542 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12543 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12544 (CFLAGS-tst-mbswcs2.c): Likewise.
12545 (CFLAGS-tst-mbswcs3.c): Likewise.
12546 (CFLAGS-tst-mbswcs4.c): Likewise.
12547 (CFLAGS-tst-mbswcs5.c): Likewise.
12548 (CFLAGS-tst-trans.c): Likewise
12550 2014-12-11 Roland McGrath <roland@hack.frob.com>
12552 * posix/regexbug1.c (main): Use "%s" format with regerror results,
12553 rather than assuming they won't contain any '%'s.
12555 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
12557 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12558 inhibit_loop_to_libcall to avoid recursive calls.
12559 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12560 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12562 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12564 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12567 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12569 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12570 integer value instead of boolean.
12572 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
12574 * malloc/malloc.c: Fix powerof2 check.
12576 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12578 * locale/programs/locfile.h (maybe_swap_uint32):
12579 Remove inline and add unused attribute.
12581 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12583 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12584 Truncating assembler expression to a .long expression.
12586 2014-12-11 Andreas Schwab <schwab@suse.de>
12588 * elf/rtld.c (struct map_args): Constify str member.
12589 (do_preload): Constify fname argument.
12591 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12594 constants definition.
12596 2014-12-11 Andreas Schwab <schwab@suse.de>
12599 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
12600 FORCE_ELISION instead of DO_ELISION.
12601 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
12603 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
12606 * iconvdata/gconv-modules: Remove duplicate entry.
12608 2014-12-11 Will Newton <will.newton@linaro.org>
12610 Merge gettext 0.19.3 into intl/.
12612 This involves a number of cosmetic changes to comments
12613 and ANSI function definitions and prototypes throughout
12614 all the files. The gettext copyright header is used but
12615 with the date ranges taken from the glibc copy.
12617 * NEWS: Add gettext merge to 2.21.
12618 * intl/bindtextdom.c: Switch to gettext copyright.
12619 Use ANSI definitions and prototypes.
12620 Use gl_* locking primitives rather than __libc_* ones.
12621 Use __builtin_expect rather than __glibc_likely/unlikely.
12622 * intl/dcgettext.c: Switch to gettext copyright.
12623 Use ANSI definitions and prototypes.
12624 * intl/dcigettext.c: Switch to gettext copyright.
12625 Use ANSI definitions and prototypes.
12626 (INTDIV0_RAISES_SIGFPE): New define.
12627 Use gl_* locking primitives rather than __libc_* ones.
12628 Include eval-plural.h instead of plural-eval.c.
12629 Use __builtin_expect rather than __glibc_likely/unlikely.
12630 * intl/dcngettext.c: Switch to gettext copyright.
12631 Use ANSI definitions and prototypes.
12632 * intl/dgettext.c: Likewise.
12633 * intl/dngettext.c: Likewise.
12634 * intl/plural-eval.c: Renamed to...
12635 * intl/eval-plural.h: ...this.
12636 * intl/explodename.c: Switch to gettext copyright.
12637 Use ANSI definitions and prototypes.
12638 (_nl_explode_name): Use strchr instead of __rawmemchr.
12639 * intl/finddomain.c: Switch to gettext copyright.
12640 Use ANSI definitions and prototypes.
12641 Use gl_* locking primitives rather than __libc_* ones.
12642 (_nl_find_domain): Use malloc rather than alloca for
12643 allocation of temporary locale name.
12644 * intl/gettext.c: Switch to gettext copyright.
12645 Use ANSI definitions and prototypes.
12646 * intl/gettextP.h: Switch to gettext copyright.
12647 Use ANSI definitions and prototypes.
12648 Use gl_* locking primitives rather than __libc_* ones.
12649 * intl/gmo.h: Switch to gettext copyright.
12650 (struct sysdep_string): Move struct segment_pair outside of
12652 * intl/hash-string.c: Use ANSI definitions and prototypes.
12653 * intl/hash-string.h: Switch to gettext copyright.
12654 Use ANSI definitions and prototypes.
12655 * intl/l10nflist.c: Switch to gettext copyright.
12656 Use ANSI definitions and prototypes.
12657 (_nl_normalize_codeset): Avoid integer overflow.
12658 * intl/loadinfo.h: Switch to gettext copyright.
12659 Use ANSI definitions and prototypes.
12660 (LIBINTL_DLL_EXPORTED): New define.
12661 (PATH_SEPARATOR): New define.
12662 * intl/loadmsgcat.c: Switch to gettext copyright.
12663 * intl/localealias.c: Switch to gettext copyright.
12664 Use ANSI definitions and prototypes.
12665 (_nl_expand_alias): Use PATH_SEPARATOR.
12666 * intl/ngettext.c: Switch to gettext copyright.
12667 Use ANSI definitions and prototypes.
12668 * intl/plural-exp.c: Likewise.
12669 * intl/plural-exp.h: Switch to gettext copyright.
12670 Use ANSI definitions and prototypes.
12671 (struct expression): Move definition of enum operator outside
12672 of struct definition.
12673 * intl/plural.c: Regenerate.
12674 * intl/plural.y: Switch to gettext copyright.
12675 Use ANSI definitions and prototypes.
12677 * intl/textdomain.c: Switch to gettext copyright.
12678 Use ANSI definitions and prototypes.
12679 Use gl_* locking primitives rather than __libc_* ones.
12681 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
12683 * debug/warning-nop.c: Add used atrribute.
12685 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12687 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
12689 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
12690 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
12691 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12693 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12694 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12697 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
12698 Undefine after defining function. Define as weak alias of
12699 __wcschr. Use libc_hidden_weak.
12700 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
12701 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
12702 (libc_hidden_def): Also define __GI___wcschr alias.
12703 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
12704 __wcschr and define as weak alias of __wcschr.
12705 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
12707 [!WCSCHR] (DEFAULT_WCSCHR): Define.
12708 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
12709 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
12710 libc_hidden_weak. Do not use libc_hidden_def.
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
12712 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
12713 __GI___wcschr alias.
12714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
12715 [IS_IN (libc)] (wcschr): Define as macro expanding to
12717 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
12718 [IS_IN (libc)] (__wcschr_power6): Likewise.
12719 [IS_IN (libc)] (__wcschr_power7): Likewise.
12720 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
12722 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
12724 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
12725 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
12726 __wcschr and define as weak alias of __wcschr. Use
12727 libc_hidden_builtin_def.
12728 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
12729 as weak alias of __wcschr. Use libc_hidden_weak.
12730 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
12732 * time/era.c (_nl_init_era_entries): Likewise.
12733 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
12735 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12736 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12738 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12740 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
12741 format for long int variable.
12743 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
12746 * manual/search.texi: (Array Sort Function): Remove claim how to make
12749 2014-12-10 Andreas Schwab <schwab@suse.de>
12752 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
12753 user-controlled locks.
12755 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
12757 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
12760 2014-12-10 Joseph Myers <joseph@codesourcery.com>
12762 * configure.ac (--disable-werror): New configure option.
12763 (enable_werror): New AC_SUBST.
12764 * configure: Regenerated.
12765 * config.make.in (enable-werror): New variable.
12766 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
12768 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
12769 * manual/install.texi (Configuring and compiling): Document
12771 * INSTALL: Regenerated.
12772 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
12773 (CFLAGS-tst-chk2.c): Likewise.
12774 (CFLAGS-tst-chk3.c): Likewise.
12775 (CFLAGS-tst-chk4.cc): Likewise.
12776 (CFLAGS-tst-chk5.cc): Likewise.
12777 (CFLAGS-tst-chk6.cc): Likewise.
12778 (CFLAGS-tst-lfschk1.c): Likewise.
12779 (CFLAGS-tst-lfschk2.c): Likewise.
12780 (CFLAGS-tst-lfschk3.c): Likewise.
12781 (CFLAGS-tst-lfschk4.cc): Likewise.
12782 (CFLAGS-tst-lfschk5.cc): Likewise.
12783 (CFLAGS-tst-lfschk6.cc): Likewise.
12785 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
12786 (main): Disable -Wdeprecated-declarations around calls to
12787 register_printf_function.
12789 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
12790 (do_test): Disable -Wdiv-by-zero around some calls to
12791 fwrite_unlocked and fread_unlocked.
12793 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
12794 (DIAG_POP_NEEDS_COMMENT): Likewise.
12795 (_DIAG_STR1): Likewise.
12796 (_DIAG_STR): Likewise.
12797 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
12798 * stdio-common/bug21.c: Include <libc-internal.h>.
12799 (do_test): Disable -Wformat around call to sscanf.
12800 * stdio-common/scanf14.c: Include <libc-internal.h>.
12801 (main): Disable -Wformat around some calls to scanf functions.
12803 2014-12-09 Torvald Riegel <triegel@redhat.com>
12805 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
12807 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12809 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
12810 stack variable alignment.
12812 2014-12-06 Joseph Myers <joseph@codesourcery.com>
12815 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
12816 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
12817 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12818 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
12819 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
12820 __getrlimit instead of getrlimit.
12821 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
12822 __gettimeofday instead of gettimeofday.
12823 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12825 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12827 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
12828 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
12830 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12831 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12833 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12835 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
12836 for wide-character tests.
12838 2014-12-04 Roland McGrath <roland@hack.frob.com>
12840 * io/openat64.c: #include <libc-internal.h>
12841 (__openat64): Prototypify. Use ignore_value on MODE.
12842 * io/openat.c: Likewise.
12843 * misc/reboot.c: #include <libc-internal.h>
12844 (reboot): Prototypify. Use ignore_value on HOWTO.
12845 * misc/ptrace.c: #include <libc-internal.h>
12846 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
12848 2014-12-04 Joseph Myers <joseph@codesourcery.com>
12850 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
12851 XPG4, UNIX98 and XOPEN2K.
12852 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
12854 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12856 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12858 * libio/fileops.c: Use ISO C style for function definitions.
12859 * libio/iofopen.c: Likewise.
12860 * libio/wfileops.c: Likewise.
12863 * libio/fileops.c (_IO_new_file_underflow): Unset cached
12865 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12866 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
12867 (fgets_func): Function pointer to fgets and fgetws.
12868 (do_ftell_test): Add test to verify ftell value after read
12870 (do_test): Set fgets_func.
12872 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
12873 O_TRUNC flag for w and w+ modes.
12874 (do_rewind_test): Likewise.
12875 (do_ftell_test): Likewise.
12876 (do_write_test): Likewise.
12879 * libio/fileops.c (do_ftell): Seek only when there are
12881 * libio/wfileops.c (do_ftell_wide): Likewise.
12882 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
12884 (do_one_test): Call it.
12886 2014-12-03 Joseph Myers <joseph@codesourcery.com>
12888 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
12889 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
12890 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
12892 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12893 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12894 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12896 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12898 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
12900 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12903 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
12904 as weak alias of __getifaddrs. Use libc_hidden_weak.
12905 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12906 __freeifaddrs. Use libc_hidden_weak.
12907 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
12908 define as weak alias of __getifaddrs. Use libc_hidden_weak.
12909 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12910 __freeifaddrs. Use libc_hidden_weak.
12911 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
12912 __getifaddrs and define as weak alias of __getifaddrs. Use
12914 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
12915 __freeifaddrs. Use libc_hidden_weak.
12916 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
12918 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12919 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12921 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
12924 * sysdeps/mips/start.S (__start): Use indirect jump to call
12927 2014-12-02 Joseph Myers <joseph@codesourcery.com>
12929 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
12931 * nptl/tst-mutex1.c: Include <stdbool.h>.
12932 [!ATTR] (ATTR_NULL): New macro.
12933 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
12934 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
12935 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
12937 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
12941 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
12942 Change conditional to [__USE_MISC].
12945 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
12947 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
12949 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
12951 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
12953 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12954 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12955 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12956 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12957 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12958 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12959 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12960 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12961 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12963 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12965 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12967 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12968 Remove strpbrk objects.
12969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12970 (__libc_ifunc_impl_list): Remove strpbrk implementation.
12971 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12972 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12973 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12974 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12976 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12977 Remove strcspn objects.
12978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12979 (__libc_ifunc_impl_list): Remove strcspn implementation.
12980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12981 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12982 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12983 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12985 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12986 Remove strspn objetcs.
12987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12988 (__libc_ifunc_impl_list): Remove strspn implementation.
12989 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12990 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12991 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12992 * sysdeps/powerpc/powerpc64/strspn.S: New file.
12994 2014-12-01 James Lemke <jwlemke@codesourcery.com>
12998 (mem2mem_check): Add a terminator to the chain of checking blocks.
12999 (malloc_check_get_size): Use it here.
13000 (mem2chunk_check): Ditto.
13002 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13004 * sysdeps/powerpc/powerpc64/strtok.S: New file.
13005 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13007 2014-11-29 Carlos O'Donell <carlos@redhat.com>
13009 * bits/ioctl-types.h: Indent preprocessor directives correctly.
13011 * nptl/nptl-init.c: Include libc-internal.h.
13012 (__pthread_initialize_minimal_internal): Use ROUND_UP.
13014 * elf/ldconfig.c (search_dir): Expand comment.
13016 2014-11-29 Joseph Myers <joseph@codesourcery.com>
13018 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13020 (linknamespace-symlist-stdlibs-tests): Likewise.
13021 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13022 instead of $(objpfx)symlist-stdlibs.
13023 (linknamespace-libs-isoc): New variable.
13024 (linknamespace-libs): Use $(linknamespace-libs-isoc).
13025 (linknamespace-libs-ISO): New variable.
13026 (linknamespace-libs-ISO99): Likewise.
13027 (linknamespace-libs-ISO11): Likewise.
13028 (linknamespace-libs-XPG3): Likewise.
13029 (linknamespace-libs-XPG4): Likewise.
13030 (linknamespace-libs-POSIX): Likewise.
13031 (linknamespace-libs-UNIX98): Likewise.
13032 (linknamespace-libs-XOPEN2K): Likewise.
13033 (linknamespace-libs-POSIX2008): Likewise.
13034 (linknamespace-libs-XOPEN2K8): Likewise.
13035 ($(objpfx)symlist-stdlibs): Replace by
13036 $(linknamespace-symlist-stdlibs-tests). Use
13037 $(linknamespace-libs-$*) as set of libraries.
13038 ($(linknamespace-header-tests)): Update dependencies. Use
13039 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13040 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13041 * conform/linknamespace.pl: Remove comment about considering
13042 definitions of symbols from irrelevant libraries.
13044 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
13047 * elf/dl-tls.c: Include <atomic.h>.
13048 (oom): Remove #ifdef SHARED/#endif.
13049 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13050 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
13051 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13053 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13054 * nptl/Makefile (tests): Add tst-stack4.
13055 (modules-names): Add tst-stack4mod.
13056 ($(objpfx)tst-stack4): New.
13057 (tst-stack4mod.sos): Likewise.
13058 ($(objpfx)tst-stack4.out): Likewise.
13059 ($(tst-stack4mod.sos)): Likewise.
13061 * nptl/tst-stack4.c: New file.
13062 * nptl/tst-stack4mod.c: Likewise.
13064 2014-11-27 J. Brown <jb999@gmx.de>
13066 * sysdeps/x86/bits/string.h: Add recent CPUs.
13068 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13070 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13073 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13076 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13079 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13081 * nscd/connections.c: Include libc-internal.h because of macro
13082 usage ignore_value.
13084 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13086 * string/bits/string3.h (__warn_memset_zero_len): Don't
13087 declare for gcc newer than 5.0.
13088 (memset): Don't test for zero-length __LEN for gcc newer than
13091 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13093 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13094 size_t for %zu format.
13096 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13097 difference, not %ju.
13099 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13101 * include/libc-internal.h (ignore_value): New macro.
13102 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13105 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13108 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13109 pthread_cleanup_push to void *.
13111 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13117 instead of 1L << 52.
13119 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13120 * libio/bug-rewind2.c (do_test): Likewise.
13122 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13123 * debug/test-strcpy_chk-ifunc.c: Likewise.
13124 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13125 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13126 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13127 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13128 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13129 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13130 * Rules [$(multi-arch) = no] (tests): Do not filter out
13132 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13133 * debug/Makefile (tests-ifunc): Remove variable.
13134 (tests): Do not add $(tests-ifunc).
13135 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13136 (tests): Do not add $(tests-ifunc).
13137 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13138 [TEST_IFUNC]: Remove conditionals.
13139 * string/test-string.h (TEST_IFUNC): Remove macro.
13140 [TEST_IFUNC]: Remove conditionals.
13142 * string/test-strchr.c [!WIDE] (L): New macro.
13143 [WIDE] (L): Likewise.
13144 (check1): Use CHAR instead of char. Use L on string and character
13147 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13149 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13151 * sysdeps/powerpc/bits/atomic.h
13152 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13153 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13154 (atomic_exchange_and_add_acq): Likewise.
13155 (atomic_exchange_and_add_rel): Likewise.
13156 * sysdeps/powerpc/powerpc32/bits/atomic.h
13157 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13158 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13159 * sysdeps/powerpc/powerpc64/bits/atomic.h
13160 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13161 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13163 2014-11-26 Torvald Riegel <triegel@redhat.com>
13165 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13166 Change synchronization of __sched_fifo_min_prio and
13167 __sched_fifo_max_prio.
13168 * nptl/pthread_mutexattr_getprioceiling.c
13169 (pthread_mutexattr_getprioceiling): Likewise.
13170 * nptl/pthread_mutexattr_setprioceiling.c
13171 (pthread_mutexattr_setprioceiling): Likewise.
13172 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13173 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13176 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13178 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13181 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13183 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13184 third argument const.
13186 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13188 fnmatch: work around GCC compiler warning bug with uninit var
13189 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13190 This works around a bug with x86-64 GCC 4.9.2 and earlier
13191 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13192 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13193 used uninitialized in this function [-Wmaybe-uninitialized]".
13195 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13197 * posix/bug-regex31.c (main): Return RES not 0.
13199 2014-11-25 Anton Blanchard <anton@samba.org>
13201 * sysdeps/powerpc/bits/atomic.h
13202 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13204 2014-11-24 Sterling Augustine <saugustine@google.com>
13206 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13208 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13211 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13213 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13216 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13217 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13219 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13220 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13222 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13224 * string/strncpy.c (strncpy): Improve performance by using memset.
13226 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13228 * string/strcpy.c (strcpy):
13229 Improve performance by using strlen and memcpy.
13231 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13233 * string/strcoll_l.c (get_next_seq): __always_inline.
13234 * string/strcoll_l.c (do_compare): __always_inline.
13236 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13238 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13240 * include/mqueue.h: Likewise.
13241 * include/stdlib.h: Likewise.
13243 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13244 (get_null_defines): Adjust.
13245 * sunrpc/Makefile: Adjust comment.
13246 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13247 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13248 (CFLAGS-interp.c): Likewise.
13249 (CFLAGS-ldconfig.c): Likewise.
13250 (CPPFLAGS-.os): Likewise.
13251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13252 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13253 * extra-modules.mk (extra-modules.mk): Likewise.
13254 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13255 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13256 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13257 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13258 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13259 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13260 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13261 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13262 * iconvdata/Makefile (CPPFLAGS): Likewise.
13263 (cpp-srcs-left): Add libof for all iconvdata routines.
13264 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13265 * include/assert.h: Likewise.
13266 * include/ctype.h: Likewise.
13267 * include/errno.h: Likewise.
13268 * include/libc-symbols.h: Likewise.
13269 * include/math.h: Likewise.
13270 * include/netdb.h: Likewise.
13271 * include/resolv.h: Likewise.
13272 * include/stdio.h: Likewise.
13273 * include/stdlib.h: Likewise.
13274 * include/string.h: Likewise.
13275 * include/sys/stat.h: Likewise.
13276 * include/wctype.h: Likewise.
13277 * intl/l10nflist.c: Likewise.
13278 * libidn/idn-stub.c: Likewise.
13279 * libio/libioP.h: Likewise.
13280 * nptl/libc_multiple_threads.c: Likewise.
13281 * nptl/pthreadP.h: Likewise.
13282 * posix/regex_internal.h: Likewise.
13283 * resolv/res_hconf.c: Likewise.
13284 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13285 * sysdeps/arm/memmove.S: Likewise.
13286 * sysdeps/arm/sysdep.h: Likewise.
13287 * sysdeps/generic/_itoa.h: Likewise.
13288 * sysdeps/generic/symbol-hacks.h: Likewise.
13289 * sysdeps/gnu/errlist.awk: Likewise.
13290 * sysdeps/gnu/errlist.c: Likewise.
13291 * sysdeps/i386/i586/memcpy.S: Likewise.
13292 * sysdeps/i386/i586/memset.S: Likewise.
13293 * sysdeps/i386/i686/memcpy.S: Likewise.
13294 * sysdeps/i386/i686/memmove.S: Likewise.
13295 * sysdeps/i386/i686/mempcpy.S: Likewise.
13296 * sysdeps/i386/i686/memset.S: Likewise.
13297 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13298 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13300 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13301 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13303 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13311 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13314 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13327 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13344 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13349 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13352 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13355 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13359 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13360 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13361 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13362 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13363 * sysdeps/posix/closedir.c: Likewise.
13364 * sysdeps/posix/opendir.c: Likewise.
13365 * sysdeps/posix/readdir.c: Likewise.
13366 * sysdeps/posix/rewinddir.c: Likewise.
13367 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13368 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13369 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13370 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13371 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13379 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13387 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13403 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13404 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13405 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13406 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13407 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13408 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13409 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13411 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13412 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13413 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13415 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13416 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13417 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13418 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13419 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13421 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13424 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13425 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13426 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13427 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13428 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13429 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13431 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13432 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13433 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13434 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13435 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13436 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13437 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13438 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13439 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13441 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13442 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13444 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13445 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13446 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13447 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13448 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13449 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13453 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13456 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13457 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13458 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13459 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13460 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13463 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13466 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13468 * sysdeps/unix/alpha/sysdep.S: Likewise.
13469 * sysdeps/unix/alpha/sysdep.h: Likewise.
13470 * sysdeps/unix/make-syscalls.sh: Likewise.
13471 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13473 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13474 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13475 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13476 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13477 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13478 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13479 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13480 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13482 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13485 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13486 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13487 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13488 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13489 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13490 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13491 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13492 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13493 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13494 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13495 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13496 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13501 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13502 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13509 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13510 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13511 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13514 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13521 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13522 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13523 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13524 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13529 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13530 * sysdeps/x86_64/memcpy.S: Likewise.
13531 * sysdeps/x86_64/memmove.c: Likewise.
13532 * sysdeps/x86_64/memset.S: Likewise.
13533 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13536 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13537 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13540 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13541 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13542 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13543 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13544 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13545 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13546 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13547 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13548 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13549 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13550 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13552 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13553 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13554 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13557 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13558 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13559 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13560 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13561 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13562 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13563 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13564 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13565 * sysdeps/x86_64/strcmp.S: Likewise.
13567 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13569 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13570 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13571 * elf/rtld-Rules: Likewise.
13572 * elf/setup-vdso.h: Likewise.
13573 * include/assert.h: Likewise.
13574 * include/bits/stdlib-float.h: Likewise.
13575 * include/errno.h: Likewise.
13576 * include/sys/stat.h: Likewise.
13577 * include/unistd.h: Likewise.
13578 * sysdeps/aarch64/setjmp.S: Likewise.
13579 * sysdeps/alpha/setjmp.S: Likewise.
13580 * sysdeps/arm/__longjmp.S: Likewise.
13581 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13582 * sysdeps/arm/setjmp.S: Likewise.
13583 * sysdeps/arm/sysdep.h: Likewise.
13584 * sysdeps/generic/_itoa.h: Likewise.
13585 * sysdeps/generic/dl-sysdep.h: Likewise.
13586 * sysdeps/generic/ldsodefs.h: Likewise.
13587 * sysdeps/i386/dl-tls.h: Likewise.
13588 * sysdeps/i386/setjmp.S: Likewise.
13589 * sysdeps/m68k/setjmp.c: Likewise.
13590 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13591 * sysdeps/mach/hurd/opendir.c: Likewise.
13592 * sysdeps/posix/getcwd.c: Likewise.
13593 * sysdeps/posix/opendir.c: Likewise.
13594 * sysdeps/posix/profil.c: Likewise.
13595 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13599 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
13601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13602 * sysdeps/s390/dl-tls.h: Likewise.
13603 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13604 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13605 * sysdeps/sh/sh3/setjmp.S: Likewise.
13606 * sysdeps/sh/sh4/setjmp.S: Likewise.
13607 * sysdeps/unix/alpha/sysdep.h: Likewise.
13608 * sysdeps/unix/arm/sysdep.S: Likewise.
13609 * sysdeps/unix/i386/sysdep.S: Likewise.
13610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13611 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13616 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13617 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13618 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13619 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13620 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13621 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13622 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13625 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13628 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13633 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13634 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13638 * sysdeps/x86_64/setjmp.S: Likewise.
13640 * include/math.h: Use IS_IN instead of IS_IN_libm.
13641 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
13653 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
13661 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
13662 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
13663 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
13664 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
13665 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
13666 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13667 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
13668 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13669 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13670 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
13671 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
13672 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13673 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
13676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
13680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
13682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
13684 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
13686 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13687 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13688 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
13691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
13695 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
13696 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13698 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13700 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13701 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13702 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13703 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
13705 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
13706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
13707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
13708 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
13709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13710 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
13712 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
13713 * nptl/pthreadP.h: Likewise.
13714 * nptl_db/structs.def: Likewise.
13715 * sysdeps/arm/sysdep.h: Likewise.
13716 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13717 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13718 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
13719 * sysdeps/unix/alpha/sysdep.h: Likewise.
13720 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13722 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13723 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13724 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13725 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13726 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13727 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13728 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13729 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13730 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13731 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13732 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13733 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13738 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13741 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13742 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13743 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13744 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13745 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13747 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
13748 * nptl/pthreadP.h: Likewise.
13749 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13750 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13751 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13752 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13753 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13756 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13757 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13758 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13759 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13760 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13770 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13771 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13774 * dlfcn/dladdr.c: Use IS_IN.
13775 * dlfcn/dladdr1.c: Likewise.
13776 * dlfcn/dlclose.c: Likewise.
13777 * dlfcn/dlerror.c: Likewise.
13778 * dlfcn/dlinfo.c: Likewise.
13779 * dlfcn/dlmopen.c: Likewise.
13780 * dlfcn/dlopen.c: Likewise.
13781 * dlfcn/dlsym.c: Likewise.
13782 * dlfcn/dlvsym.c: Likewise.
13784 * include/ifaddrs.h: Use IS_IN.
13785 * inet/check_pf.c: Likewise.
13786 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13787 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
13789 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
13791 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
13792 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
13794 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
13795 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
13798 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
13800 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
13801 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13802 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13803 * include/libc-symbols.h (IS_IN_LIB): New macro.
13804 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
13805 * include/netdb.h: Likewise.
13806 * include/stap-probe.h: Remove all uses of IN_LIB.
13808 * Makeconfig (module-cppflags-real): Define MODULE_NAME
13809 instead of IN_MODULE.
13810 * include/libc-symbols.h (IN_MODULE): Define using
13812 (PASTE_NAME, PASTE_NAME1): New macros.
13813 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
13815 (STAP_PROBE_ASM): Likewise.
13817 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13819 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
13820 __mach_init in dlopened libc.
13822 2014-11-22 Mike Frysinger <vapier@gentoo.org>
13824 * sysdeps/arm/preconfigure.ac: Delete EABI check.
13825 * sysdeps/arm/preconfigure: Regenerate.
13827 2014-11-21 Roland McGrath <roland@hack.frob.com>
13829 * nptl/pthread_create.c (__pthread_create_2_1): Set
13830 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
13831 when copying values from IATTR into PD.
13833 2014-11-21 Will Newton <will.newton@linaro.org>
13834 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13836 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
13837 Refactor inline-asm. Also add comment.
13839 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
13840 ElfW macro instead of hardcoded Elf64 types.
13841 (la_aarch64_gnu_pltenter): Likewise.
13842 * sysdeps/aarch64/dl-machine.h
13843 (elf_machine_runtime_setup): Use ElfW(Addr).
13845 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
13846 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
13847 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
13848 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
13849 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
13850 (R_AARCH64_TLS_DTPMOD64): Rename to ..
13851 (R_AARCH64_TLS_DTPMOD): This.
13852 (R_AARCH64_TLS_DTPREL64): Rename to ...
13853 (R_AARCH64_TLS_DTPREL): This.
13854 (R_AARCH64_TLS_TPREL64): Rename to ...
13855 (R_AARCH64_TLS_TPREL): This.
13856 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
13857 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
13858 R_AARCH64_TLS_TPREL64.
13859 (elf_machine_rela): Likewise.
13861 2014-11-21 Torvald Riegel <triegel@redhat.com>
13863 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
13864 by setting it to 0. 64b atomics are not supported currently.
13866 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13869 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
13870 search domain names.
13872 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13876 * resolv/res_query.c (__libc_res_nquerydomain): Retain
13878 * posix/tst-getaddrinfo5.c: New.
13879 * posix/Makefile (tests): Add it.
13881 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13885 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
13886 after parsing line but before break_if_match.
13887 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
13888 if there is a protocol mismatch.
13890 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
13892 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13893 because the potential race is on the user-supplied stream.
13895 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13897 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
13898 string literal if not passed a buffer.
13899 * manual/job.texi (ctermid): Update reasoning, note deviation
13900 from posix, suggest mtasurace when not passed a buffer, for
13901 future non-preliminary safety notes.
13903 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13905 * manual/users.texi (cuserid): Fix MT-Safety note for the case
13906 of not passing it a buffer.
13907 Reported by Peng Haitao.
13909 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
13911 * manual/Makefile ($(objpfx)stamp-summary): Require
13912 check-safety.sh to pass.
13913 * manual/check-safety.sh: Wish for verification that every
13914 @deftypefn and @deftypefun is followed by a @safety remark.
13916 2014-11-20 Roland McGrath <roland@hack.frob.com>
13918 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
13920 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
13921 PTHREAD_CANCEL_ASYNCHRONOUS.
13922 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
13925 * nptl/default-sched.h: New file.
13926 * sysdeps/unix/sysv/linux/default-sched.h: New file.
13927 * nptl/pthread_create.c: Include it.
13928 (__pthread_create_2_1): Use collect_default_sched instead of making
13929 Linux syscalls here directly.
13931 2014-11-20 Torvald Riegel <triegel@redhat.com>
13933 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
13934 __pthread_once): Use C11 atomics.
13936 2014-11-20 Torvald Riegel <triegel@redhat.com>
13938 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
13940 2014-11-20 Torvald Riegel <triegel@redhat.com>
13942 * include/atomic.h (__atomic_link_error, __atomic_check_size,
13943 atomic_thread_fence_acquire, atomic_thread_fence_release,
13944 atomic_thread_fence_seq_cst, atomic_load_relaxed,
13945 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
13946 atomic_compare_exchange_weak_relaxed,
13947 atomic_compare_exchange_weak_acquire,
13948 atomic_compare_exchange_weak_release,
13949 atomic_exchange_acquire, atomic_exchange_release,
13950 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
13951 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13952 atomic_fetch_and_acquire,
13953 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
13955 2014-11-20 Torvald Riegel <triegel@redhat.com>
13957 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13958 USE_ATOMIC_COMPILER_BUILTINS): Define.
13959 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13961 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13962 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13963 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13964 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13965 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13966 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13967 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13968 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13969 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13970 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13971 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13972 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13973 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13974 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13975 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13976 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13977 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13978 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13979 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13980 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13981 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13982 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13983 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13984 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13985 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13986 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13987 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13988 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13989 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13990 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13991 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13992 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13993 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13994 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13995 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13997 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14000 2014-11-19 Roland McGrath <roland@hack.frob.com>
14002 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14003 the sched_priority value here. It was already checked when the user
14004 called pthread_attr_setschedparam.
14006 * nptl/tst-bad-schedattr.c: New file.
14007 * nptl/Makefile (tests): Add it.
14009 2014-11-19 Carlos O'Donell <carlos@redhat.com>
14010 Florian Weimer <fweimer@redhat.com>
14011 Joseph Myers <joseph@codesourcery.com>
14012 Adam Conrad <adconrad@0c3.net>
14013 Andreas Schwab <schwab@suse.de>
14014 Brooks <bmoses@google.com>
14017 * wordexp-test.c (__dso_handle): Add prototype.
14018 (__register_atfork): Likewise.
14019 (__app_register_atfork): New function.
14020 (registered_forks): New global.
14021 (register_fork): New function.
14022 (test_case): Add 3 new tests for WRDE_CMDSUB.
14023 (main): Call __app_register_atfork.
14024 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14025 fork count is non-zero fail the test.
14026 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14028 (parse_dollars): Remove check for WRDE_NOCMD.
14029 (parse_dquote): Likewise.
14031 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14033 * Makeconfig (built-modules): List non-library modules to be
14035 (module-cppflags): Include libc-modules.h for
14036 everything except shlib-versions.v.i.
14037 (CPPFLAGS): Use it.
14038 (before-compile): Add libc-modules.h.
14039 ($(common-objpfx)libc-modules.h,
14040 $(common-objpfx)libc-modules.stmp): New targets.
14041 (common-generated): Add libc-modules.h and libc-modules.stmp.
14042 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14043 * include/libc-symbols.h: Don't include libc-modules.h.
14044 * include/libc-modules.h: Remove file.
14045 * scripts/gen-libc-modules.awk: New script to generate
14047 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14048 Depend on libc-modules.stmp.
14050 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14052 * Makeconfig (in-module): Get value of libof set for the
14054 (CPPFLAGS): Use $(in-module).
14055 * Makerules: Don't suffix routine names for nonlib.
14056 * include/libc-modules.h: New file.
14057 * include/libc-symbols.h: Include libc-modules.h
14058 (IS_IN): New macro to replace IS_IN_* macros.
14059 * elf/Makefile: Set libof-* for each routine.
14060 * elf/rtld-Rules: Likewise.
14061 * extra-modules.mk: Likewise.
14062 * iconv/Makefile: Likewise.
14063 * iconvdata/Makefile: Likewise.
14064 * locale/Makefile: Likewise.
14065 * malloc/Makefile: Likewise.
14066 * nss/Makefile: Likewise.
14067 * sysdeps/gnu/Makefile: Likewise.
14068 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14069 * sysdeps/unix/sysv/linux/Makefile: Likewise.
14070 * sysdeps/s390/s390-64/Makefile: Likewise.
14071 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
14072 CPPFLAGS for nscd instead of nonlib.
14074 2014-11-18 Roland McGrath <roland@hack.frob.com>
14076 * nptl/createthread.c: New file.
14078 * nptl/createthread.c: Moved ...
14079 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14081 * nptl/createthread.c: Add proper top-line comment.
14082 (do_clone): Folded into ...
14083 (create_thread): ... here. Take new arguments STOPPED_START and
14084 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14085 increment __nptl_threads, do event-reporting logic, do
14086 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14087 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14088 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14089 just send SIGCANCEL.
14090 * nptl/pthread_create.c: Forward-declare create_thread before
14091 including createthread.c.
14092 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14093 declaration, and new macro START_THREAD_SELF to replace argument.
14094 Remove return statement.
14095 (report_thread_creation): New function.
14096 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14097 synchronization logic, and __nptl_nthreads increment here, around
14098 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14099 PD->parent_cancelhandling here, before create_thread. When
14100 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14101 __deallocate_stack, and ENOMEM translation here.
14103 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14106 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14107 (mptwo): Rename to __mptwo.
14108 (__inv): Use __mptwo instead of mptwo.
14109 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14110 (mptwo): Rename to __mptwo.
14111 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14112 of mpone and __mptwo instead of mptwo.
14113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14116 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14117 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14118 of mpone and __mptwo instead of mptwo.
14119 (__mpranred): Use __mpone instead of mpone.
14120 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14122 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14123 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14124 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14125 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14126 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14127 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14128 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14129 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14130 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14131 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14132 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14133 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14134 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14135 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14136 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14137 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14138 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14139 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14140 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14142 2014-11-18 Tom de Vries <tom@codesoucery.com>
14144 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14145 replace BSD Handler xref with BSD Signal Handling.
14147 2014-11-17 Richard Henderson <rth@redhat.com>
14149 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14150 (_FP_PACK_RAW_2): Remove.
14151 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14152 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14153 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14154 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14155 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14156 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14157 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14158 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14159 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14160 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14161 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14162 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14163 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14164 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14165 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14166 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14168 2014-11-14 Roland McGrath <roland@hack.frob.com>
14170 * signal/signal.h [__USE_MISC]
14171 (struct sigvec): Remove type.
14172 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14173 (sigvec): Remove declaration.
14174 * sysdeps/posix/sigvec.c: Moved ...
14175 * signal/sigvec.c: ... here, replacing old file.
14176 (struct sigvec): New type, copied from old signal.h definition.
14177 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14178 (__sigvec): Convert definition to prototype.
14179 (sigvec): Replace weak_alias with compat_symbol.
14180 * signal/Versions (libc: GLIBC_2.21): New version set.
14181 * include/signal.h: Remove __sigvec declaration.
14182 * sysdeps/unix/bsd/sigvec.c: Remove file.
14183 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14184 * manual/signal.texi (BSD Handler): Remove subsection.
14185 Move siginterrupt up to ...
14186 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14187 (Blocking in BSD): Fold subsection into its parent.
14188 * NEWS: Mention sigvec removal.
14190 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14192 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14193 (DLA_FMS): Make definition conditional only on [__FMA4__].
14194 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14197 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14198 Make definition conditional only on [PROF].
14199 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14201 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14202 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14204 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14206 * include/signal.h (__sigpause): Move declaration above call to
14208 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14210 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14211 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14213 2014-11-14 David S. Miller <davem@davemloft.net>
14215 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14216 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14218 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14220 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14221 * configure: Regenerated.
14222 * manual/install.texi (Tools for Compilation): Document a
14223 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14224 compiler verified to work.
14225 * INSTALL: Regenerated.
14227 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14228 redeclare with asm name.
14229 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14230 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14231 including <string.h>.
14232 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14234 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14236 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14237 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14238 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14240 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14242 * stdlib/strtol.c (__strtol): Use prototype definition.
14245 * stdlib/strtol.c (SYM__): New macro.
14246 (SYM__1): Likewise.
14247 (__strtol): Likewise.
14248 (strtol): Rename to __strtol and define as weak alias of
14249 __strtol. Use libc_hidden_weak.
14251 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14253 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14254 Use numbered labels in inline assembly.
14256 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14258 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14259 Add setjmp LIBC_PROBE.
14260 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14262 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14263 Add longjmp, longjmp_target LIBC_PROBE.
14264 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14267 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14269 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14270 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14271 to get rid of unused variable warning.
14273 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14275 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14276 Check for unwind_backtrace == NULL only in SHARED case.
14277 (__backchain_backtrace): Compile only in SHARED case.
14278 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14280 (__backchain_backtrace): Declare as static.
14282 2014-11-12 Roland McGrath <roland@hack.frob.com>
14284 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14285 (__libc_multiple_threads_ptr): Variable moved ...
14286 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14288 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14290 * conform/GlibcConform.pm: New file.
14291 * conform/conformtest.pl: Use GlibcConform module.
14292 * conform/linknamespace.pl: New file.
14293 * conform/list-header-symbols.pl: Likewise.
14294 * conform/Makefile (linknamespace-symlists-base): New variable.
14295 (linknamespace-symlists-tests): Likewise.
14296 (linknamespace-header-base): Likewise.
14297 (linknamespace-header-tests): Likewise.
14298 (tests-special): Add new tests.
14299 ($(linknamespace-symlists-tests)): New rule.
14300 (linknamespace-libs): New variable.
14301 ($(objpfx)symlist-stdlibs): New rule.
14302 ($(linknamespace-header-tests)): Likewise.
14303 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14304 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14305 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14306 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14307 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14308 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14309 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14310 (test-xfail-ISO/math.h/linknamespace): Likewise.
14311 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14312 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14313 (test-xfail-ISO/time.h/linknamespace): Likewise.
14314 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14315 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14316 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14317 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14318 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14319 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14320 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14321 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14322 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14323 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14324 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14325 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14326 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14327 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14328 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14329 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14330 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14331 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14332 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14333 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14334 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14335 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14336 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14337 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14338 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14339 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14340 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14341 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14342 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14343 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14344 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14345 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14346 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14347 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14348 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14349 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14350 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14351 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14352 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14353 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14354 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14355 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14356 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14357 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14358 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14359 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14360 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14361 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14362 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14363 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14364 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14365 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14366 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14367 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14368 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14369 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14370 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14371 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14372 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14373 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14374 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14375 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14376 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14377 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14378 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14379 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14380 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14381 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14382 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14383 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14384 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14385 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14386 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14387 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14388 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14389 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14390 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14391 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14392 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14393 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14394 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14395 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14396 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14397 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14398 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14399 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14400 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14401 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14402 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14403 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14404 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14405 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14406 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14407 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14408 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14409 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14410 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14411 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14412 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14413 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14414 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14415 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14416 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14417 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14418 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14419 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14420 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14421 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14422 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14423 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14424 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14425 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14426 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14427 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14428 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14429 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14430 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14431 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14432 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14433 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14434 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14435 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14436 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14437 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14438 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14439 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14440 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14441 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14442 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14443 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14444 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14445 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14446 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14447 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14448 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14449 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14450 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14451 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14452 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14453 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14454 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14455 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14457 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14458 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14459 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14460 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14461 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14462 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14463 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14466 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14470 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14471 (memmem): Rename to __memmem and define as weak alias of
14472 __memmem. Use libc_hidden_weak.
14473 (__memmem): Use libc_hidden_def.
14474 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
14475 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14479 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14480 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
14481 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14482 and define as weak alias of __fgets_unlocked. Use
14484 (__fgets_unlocked): Use libc_hidden_def.
14485 * include/stdio.h (__fgets_unlocked): Declare. Use
14487 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14488 __fgets_unlocked instead of fgets_unlocked.
14489 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14490 (GET_NPROCS_CONF_PARSER): Likewise.
14491 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14492 (GET_NPROCS_CONF_PARSER): Likewise.
14495 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14496 weak alias of __wmemset. Use libc_hidden_weak.
14497 (__wmemset): Use libc_hidden_def.
14498 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
14499 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14503 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14504 with asm name __mempcpy.
14505 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14508 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14509 and define as weak alias of __rawmemchr.
14510 (__rawmemchr): Do not define as strong alias of rawmemchr.
14513 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14514 alias of __qsort_r.
14515 (qsort): Call __qsort_r instead of qsort_r.
14516 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14517 (__qsort_r): Declare. Call libc_hidden_proto.
14518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14519 instead of qsort_r.
14520 * nscd/gai.c (__qsort_r): Define to qsort_r.
14521 * posix/tst-rfc3484.c (__qsort_r): Likewise.
14522 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14523 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14526 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14527 define as weak alias of __malloc_info.
14530 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14531 as weak alias of __rewinddir. Don't use libc_hidden_def.
14532 (__rewinddir): Use libc_hidden_def.
14533 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14534 as weak alias of __rewinddir. Don't use libc_hidden_def.
14535 (__rewinddir): Use libc_hidden_def.
14536 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14537 weak alias of __rewinddir. Don't use libc_hidden_def.
14538 (__rewinddir): Use libc_hidden_def.
14539 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14540 (__rewinddir): Use libc_hidden_proto.
14541 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14543 (__getcwd): Use __rewinddir instead of rewinddir.
14546 * libio/fileno.c (fileno): Rename to __fileno and define as weak
14547 alias of __fileno. Use libc_hidden_weak.
14548 (__fileno): Use libc_hidden_def.
14549 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14550 * libio/ftello.c (ftello): Rename to __ftello and define as weak
14552 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14554 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14555 (__fread_unlocked): Define as strong alias of _IO_fread. Use
14557 (fread_unlocked): Don't use libc_hidden_ver.
14558 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14559 and define as weak alias of __fread_unlocked. Don't use
14561 (__fread_unlocked): Use libc_hidden_def.
14562 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
14563 (ftello): Don't use libc_hidden_proto.
14564 (__ftello): Declare. Use libc_hidden_proto.
14565 (fread_unlocked): Don't use libc_hidden_proto.
14566 (__fread_unlocked): Declare. Use libc_hidden_proto.
14567 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14568 and __ftello instead of fileno, fread_unlocked and ftello.
14570 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14572 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14576 (_dl_start_user): Likewise.
14577 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14579 2014-11-12 Carlos O'Donell <carlos@redhat.com>
14580 Siddhesh Poyarekar <siddhesh@redhat.com>
14582 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14583 Move argv and envp down instead of moving argc up.
14584 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14586 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
14589 * test-skeleton.c (main): Return successful if one of
14590 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14591 * string/tst-strcoll-overflow.c: Define expected status.
14593 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
14596 * locale/iso-639.def: Define Bhili and Tulu language codes.
14598 2014-11-11 Alan Hayward <alan.hayward@arm.com>
14600 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
14602 2014-11-10 Renlin Li <Renlin.Li@arm.com>
14605 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
14607 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
14609 * configure.ac: Updated check of minimal required version to
14611 * manual/install.texi (Tools for Compilation): Updated version
14613 * configure: Regenerated.
14614 * INSTALL: Likewise.
14616 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
14618 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
14621 2014-11-07 Joseph Myers <joseph@codesourcery.com>
14623 * include/sys/wait.h (__libc_waitpid): Remove declaration.
14624 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
14625 (__waitpid): Don't define as alias. Use libc_hidden_def not
14627 (waitpid): Define as alias of __waitpid.
14628 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14630 (__waitpid): Don't define as alias. Use libc_hidden_def not
14632 (waitpid): Define as alias of __waitpid.
14633 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
14634 __libc_waitpid alias.
14635 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
14636 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
14638 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
14640 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
14642 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
14644 (__waitpid): Don't define as alias. Use libc_hidden_def not
14646 (waitpid): Define as alias of __waitpid.
14648 2014-11-06 Carlos O'Donell <carlos@redhat.com>
14650 * manual/llio.texi: Add comment that write safety has been
14653 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
14654 (localplt-build-dso): Add elf/ld.so.
14655 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
14656 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
14657 and free for ld.so.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
14659 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14664 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
14665 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
14666 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
14667 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
14668 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14669 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
14670 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
14671 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
14672 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
14674 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14676 2014-11-05 Joseph Myers <joseph@codesourcery.com>
14679 * include/libc-symbols.h (INTUSE): Remove macro.
14680 (INTDEF): Likewise.
14681 (INTVARDEF): Likewise.
14682 (_INTVARDEF): Likewise.
14683 (INTDEF2): Likewise.
14684 (INTVARDEF2): Likewise.
14685 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
14686 rtld_hidden_def instead of INTVARDEF.
14687 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
14688 (_dl_starting_up_internal): Remove declaration.
14689 (_dl_starting_up): Use rtld_hidden_proto.
14690 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
14692 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
14693 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
14695 * elf/dl-writev.h (_dl_writev): Likewise.
14696 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
14697 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
14698 _dl_starting_up_internal.
14700 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14702 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14705 2014-11-05 Will Newton <will.newton@linaro.org>
14707 * benchtests/Makefile: (bench-malloc): Add malloc thread
14708 scalability benchmark.
14709 * benchtests/bench-malloc-threads.c: New file.
14711 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
14713 * sysdeps/aarch64/strchrnul.S: New file.
14715 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14717 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
14719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14723 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14725 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14727 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14730 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
14732 * catgets/test-gencat.c: Use test-skeleton.c.
14733 * catgets/tst-catgets.c: Likewise.
14734 * csu/tst-empty.c: Likewise.
14735 * elf/tst-audit2.c: Likewise.
14736 * elf/tst-global1.c: Likewise.
14737 * elf/tst-pathopt.c: Likewise.
14738 * elf/tst-piemod1.c: Likewise.
14739 * elf/tst-tls10.c: Likewise.
14740 * elf/tst-tls11.c: Likewise.
14741 * elf/tst-tls12.c: Likewise.
14742 * gnulib/tst-gcc.c: Likewise.
14743 * iconvdata/tst-e2big.c: Likewise.
14744 * iconvdata/tst-loading.c: Likewise.
14745 * iconv/tst-iconv1.c: Likewise.
14746 * iconv/tst-iconv2.c: Likewise.
14747 * inet/test-inet6_opt.c: Likewise.
14748 * inet/tst-gethnm.c: Likewise.
14749 * inet/tst-network.c: Likewise.
14750 * inet/tst-ntoa.c: Likewise.
14751 * intl/tst-codeset.c: Likewise.
14752 * intl/tst-gettext2.c: Likewise.
14753 * intl/tst-gettext3.c: Likewise.
14754 * intl/tst-ngettext.c: Likewise.
14755 * intl/tst-translit.c: Likewise.
14756 * io/test-stat.c: Likewise.
14757 * libio/test-fmemopen.c: Likewise.
14758 * libio/tst-freopen.c: Likewise.
14759 * libio/tst-sscanf.c: Likewise.
14760 * libio/tst-ungetwc1.c: Likewise.
14761 * libio/tst-ungetwc2.c: Likewise.
14762 * libio/tst-widetext.c: Likewise.
14763 * localedata/tst-ctype.c: Likewise.
14764 * localedata/tst-digits.c: Likewise.
14765 * localedata/tst-leaks.c: Likewise.
14766 * localedata/tst-mbswcs1.c: Likewise.
14767 * localedata/tst-mbswcs2.c: Likewise.
14768 * localedata/tst-mbswcs3.c: Likewise.
14769 * localedata/tst-mbswcs4.c: Likewise.
14770 * localedata/tst-mbswcs5.c: Likewise.
14771 * localedata/tst-setlocale.c: Likewise.
14772 * localedata/tst-trans.c: Likewise.
14773 * localedata/tst-wctype.c: Likewise.
14774 * localedata/tst-xlocale1.c: Likewise.
14775 * login/tst-grantpt.c: Likewise.
14776 * malloc/tst-calloc.c: Likewise.
14777 * malloc/tst-malloc.c: Likewise.
14778 * malloc/tst-mallocstate.c: Likewise.
14779 * malloc/tst-mcheck.c: Likewise.
14780 * malloc/tst-mtrace.c: Likewise.
14781 * malloc/tst-obstack.c: Likewise.
14782 * math/atest-exp2.c: Likewise.
14783 * math/atest-exp.c: Likewise.
14784 * math/atest-sincos.c: Likewise.
14785 * math/test-matherr.c: Likewise.
14786 * math/test-misc.c: Likewise.
14787 * math/test-powl.c: Likewise.
14788 * math/tst-definitions.c: Likewise.
14789 * misc/tst-dirname.c: Likewise.
14790 * misc/tst-efgcvt.c: Likewise.
14791 * misc/tst-fdset.c: Likewise.
14792 * misc/tst-hsearch.c: Likewise.
14793 * misc/tst-mntent2.c: Likewise.
14794 * nptl/tst-sem7.c: Likewise.
14795 * nptl/tst-sem8.c: Likewise.
14796 * nptl/tst-sem9.c: Likewise.
14797 * nss/test-netdb.c: Likewise.
14798 * posix/tst-fnmatch.c: Likewise.
14799 * posix/tst-getlogin.c: Likewise.
14800 * posix/tst-gnuglob.c: Likewise.
14801 * posix/tst-mmap.c: Likewise.
14802 * pwd/tst-getpw.c: Likewise.
14803 * resolv/tst-inet_ntop.c: Likewise.
14804 * rt/tst-timer.c: Likewise.
14805 * stdio-common/test-fseek.c: Likewise.
14806 * stdio-common/test-popen.c: Likewise.
14807 * stdio-common/test-vfprintf.c: Likewise.
14808 * stdio-common/tst-cookie.c: Likewise.
14809 * stdio-common/tst-fileno.c: Likewise.
14810 * stdio-common/tst-gets.c: Likewise.
14811 * stdio-common/tst-obprintf.c: Likewise.
14812 * stdio-common/tst-perror.c: Likewise.
14813 * stdio-common/tst-sprintf2.c: Likewise.
14814 * stdio-common/tst-sprintf3.c: Likewise.
14815 * stdio-common/tst-sprintf.c: Likewise.
14816 * stdio-common/tst-swprintf.c: Likewise.
14817 * stdio-common/tst-tmpnam.c: Likewise.
14818 * stdio-common/tst-unbputc.c: Likewise.
14819 * stdio-common/tst-wc-printf.c: Likewise.
14820 * stdlib/tst-environ.c: Likewise.
14821 * stdlib/tst-fmtmsg.c: Likewise.
14822 * stdlib/tst-limits.c: Likewise.
14823 * stdlib/tst-rand48-2.c: Likewise.
14824 * stdlib/tst-rand48.c: Likewise.
14825 * stdlib/tst-random2.c: Likewise.
14826 * stdlib/tst-random.c: Likewise.
14827 * stdlib/tst-strtol.c: Likewise.
14828 * stdlib/tst-strtoll.c: Likewise.
14829 * stdlib/tst-tls-atexit.c: Likewise.
14830 * stdlib/tst-xpg-basename.c: Likewise.
14831 * string/test-ffs.c: Likewise.
14832 * string/tst-bswap.c: Likewise.
14833 * string/tst-inlcall.c: Likewise.
14834 * string/tst-strtok.c: Likewise.
14835 * string/tst-strxfrm.c: Likewise.
14836 * sysdeps/x86_64/tst-audit10.c: Likewise.
14837 * sysdeps/x86_64/tst-audit3.c: Likewise.
14838 * sysdeps/x86_64/tst-audit4.c: Likewise.
14839 * sysdeps/x86_64/tst-audit5.c: Likewise.
14840 * time/tst-ftime_l.c: Likewise.
14841 * time/tst-getdate.c: Likewise.
14842 * time/tst-mktime3.c: Likewise.
14843 * time/tst-mktime.c: Likewise.
14844 * time/tst-posixtz.c: Likewise.
14845 * time/tst-strptime2.c: Likewise.
14846 * time/tst-strptime3.c: Likewise.
14847 * wcsmbs/tst-btowc.c: Likewise.
14848 * wcsmbs/tst-mbrtowc.c: Likewise.
14849 * wcsmbs/tst-mbsrtowcs.c: Likewise.
14850 * wcsmbs/tst-wchar-h.c: Likewise.
14851 * wcsmbs/tst-wcpncpy.c: Likewise.
14852 * wcsmbs/tst-wcrtomb.c: Likewise.
14853 * wcsmbs/tst-wcsnlen.c: Likewise.
14854 * wcsmbs/tst-wcstof.c: Likewise.
14856 2014-11-04 Joseph Myers <joseph@codesourcery.com>
14859 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
14861 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
14863 (_dl_mcount): Use rtld_hidden_proto.
14864 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
14866 * elf/rtld.c (_rtld_global_ro): Likewise.
14869 * elf/dl-init.c (_dl_init): Don't use INTDEF.
14870 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
14871 of _dl_init_internal.
14872 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
14873 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
14874 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
14875 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
14876 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
14877 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
14878 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
14879 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
14880 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
14881 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
14882 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
14883 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
14884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14886 * sysdeps/tile/dl-start.S (_start): Likewise.
14887 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
14888 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
14891 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
14892 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
14893 (rtld_progname): Make macro definition unconditional.
14894 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
14896 (dlmopen_doit): Do not use INTUSE with _dl_argv.
14897 (dl_main): Likewise.
14898 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14899 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
14900 instead of _dl_argv_internal.
14901 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14902 __GI__dl_argv instead of INTUSE(_dl_argv).
14903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
14904 __GI__dl_argv instead of _dl_argv_internal.
14906 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
14907 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
14909 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
14910 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
14912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
14913 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
14915 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
14916 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
14918 2014-11-04 Andreas Schwab <schwab@suse.de>
14920 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
14922 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14924 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
14925 mtvsrd instruction in binary form.
14927 2014-11-03 Andreas Schwab <schwab@suse.de>
14930 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
14931 for less than MB_LEN_MAX use a local buffer of that size.
14932 * libio/tst-fputws.c: New file.
14933 * libio/Makefile (tests): Add tst-fputws.
14935 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
14937 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
14938 the size of the fpu_fr.fpu_dregs[] array.
14940 2014-11-01 Joseph Myers <joseph@codesourcery.com>
14942 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
14943 (__nanosleep): Do not define as alias.
14944 (nanosleep): Define as alias of __nanosleep.
14945 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
14946 __libc_nanosleep name.
14948 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14950 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
14951 install.texi in comment.
14953 2014-10-31 Torvald Riegel <triegel@redhat.com>
14955 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14956 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14957 ... add here and use lwsync or sync ...
14958 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14959 ... and add here using lwsync.
14961 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
14963 * elf/dl-machine-reject-phdr.h: New file.
14964 * elf/dl-load.c: #include that.
14965 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14966 if that returned true.
14968 2014-10-31 Roland McGrath <roland@hack.frob.com>
14971 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14972 gen-as-const-headers chunk. Add a big scare comment after the last
14973 safe place to touch before-compile.
14975 2014-10-31 Joseph Myers <joseph@codesourcery.com>
14977 * manual/install.texi (Tools for Compilation): Update autoconf
14978 version requirements.
14979 * INSTALL: Regenerated.
14981 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14982 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14983 (__libc_pselect): Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14991 2014-10-31 Torvald Riegel <triegel@redhat.com>
14993 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14994 correct barrier instruction.
14995 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14997 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15000 2014-10-30 Roland McGrath <roland@hack.frob.com>
15002 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15003 after defining inlines. Instead, just use parens to defeat macro
15004 expansion of __isctype in its declaration.
15006 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15008 * include/sys/uio.h (__libc_readv): Remove declaration.
15009 (__libc_writev): Likewise.
15010 * misc/readv.c (__libc_readv): Rename to __readv.
15011 (__readv): Do not define as alias.
15012 (readv): Define as alias of __readv.
15013 * misc/writev.c (__libc_writev): Rename to __writev.
15014 (__writev): Do not define as alias.
15015 (writev): Define as alias of __writev.
15016 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15017 (__readv): Do not define as alias.
15018 (readv): Define unconditionally as alias of __readv.
15019 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15020 (__writev): Do not define as alias.
15021 (writev): Define unconditionally as alias of __writev.
15022 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15024 (writev): Do not define __libc_writev name.
15026 2014-10-30 Roland McGrath <roland@hack.frob.com>
15028 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15029 (convert_charseq): New function, broken out of ...
15030 (use_from_charmap): ... here. Call it.
15031 (use_to_charmap): Use convert_charseq and free instead of duplicating
15032 its code with a variable-length stack struct.
15034 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15036 * include/fcntl.h (__libc_creat): Remove declaration.
15037 * io/creat.c (__libc_creat): Rename to creat.
15038 (creat): Do not define as alias.
15039 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15040 of creat instead of __libc_creat.
15041 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15043 (creat): Do not define as alias.
15044 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15046 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15051 2014-10-29 Carlos O'Donell <carlos@redhat.com>
15053 * manual/llio.texi: Add comments discussing why write() may be
15054 considered MT-unsafe on Linux.
15056 2014-10-28 Carlos O'Donell <carlos@redhat.com>
15058 * dl-load.c (local_strdup): Remove.
15059 (expand_dynamic_string_token): Use __strdup.
15060 (decompose_rpath): Likewise.
15061 (_dl_map_object): Likewise.
15063 2014-10-28 Joseph Myers <joseph@codesourcery.com>
15066 * sysdeps/generic/unwind-dw2-fde.c
15067 (__register_frame_info_bases_internal): Do not declare.
15068 (__register_frame_info_table_bases_internal): Likewise.
15069 (__deregister_frame_info_bases_internal): Likewise.
15070 (__register_frame_info_bases): Declare and use hidden_proto before
15071 definition. Use hidden_def instead of INTDEF.
15072 (__register_frame_info_table_bases): Likewise.
15073 (__deregister_frame_info_bases): Likewise.
15074 (__register_frame_info): Do not use INTUSE.
15075 (__register_frame): Likewise.
15076 (__register_frame_info_table): Likewise.
15077 (__register_frame_table): Likewise.
15078 (__deregister_frame_info): Likewise.
15079 (__deregister_frame): Likewise.
15081 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15084 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15086 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15088 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15091 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15094 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15095 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15097 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15098 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15099 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15101 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15103 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15104 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15106 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15108 (setfsuid): Likewise.
15109 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15110 (setfsuid): Likewise.
15111 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15112 (setfsuid): Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15115 (setfsuid): Likewise.
15116 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15117 (setfsuid): Likewise.
15118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15120 (setfsuid): Likewise.
15122 2014-10-27 Andreas Schwab <schwab@suse.de>
15125 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15126 check for Slow_SSE4_2 feature bit.
15127 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15128 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15129 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15130 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15132 2014-10-24 Roland McGrath <roland@hack.frob.com>
15134 * configure.ac: Validate compiler version with a empirical test of
15135 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15137 * configure: Regenerated.
15139 * inet/htons.c (htons): Prototypify.
15140 * inet/htonl.c (htonl): Likewise.
15142 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15144 * string/strncat.c (strncat): Improve performance by using strlen.
15146 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15148 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15150 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15152 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15153 Call libc_fetestexcept_aarch64.
15155 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15157 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15158 Call libc_feholdexcept_aarch64.
15160 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15162 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15163 Call get_rounding_mode.
15165 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15167 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15170 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15172 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15175 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15178 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15179 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15180 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15181 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15182 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15183 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15184 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15188 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15189 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15191 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15192 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15193 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15194 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15195 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15196 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15197 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15198 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15199 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15200 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15203 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15204 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15205 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15206 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15207 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15208 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15209 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15210 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15211 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15212 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15213 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15214 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15215 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15218 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15220 (geteuid): Likewise.
15221 (getgid): Likewise.
15222 (getuid): Likewise.
15223 (getresgid): Likewise.
15224 (getresuid): Likewise.
15225 (getgroups): Likewise.
15226 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15227 (geteuid): Likewise.
15228 (getgid): Likewise.
15229 (getuid): Likewise.
15230 (getresgid): Likewise.
15231 (getresuid): Likewise.
15232 (getgroups): Likewise.
15233 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15234 (geteuid): Likewise.
15235 (getgid): Likewise.
15236 (getuid): Likewise.
15237 (getresgid): Likewise.
15238 (getresuid): Likewise.
15239 (getgroups): Likewise.
15240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15242 (geteuid): Likewise.
15243 (getgid): Likewise.
15244 (getuid): Likewise.
15245 (getresgid): Likewise.
15246 (getresuid): Likewise.
15247 (getgroups): Likewise.
15248 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15249 (geteuid): Likewise.
15250 (getgid): Likewise.
15251 (getuid): Likewise.
15252 (getresgid): Likewise.
15253 (getresuid): Likewise.
15254 (getgroups): Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15257 (geteuid): Likewise.
15258 (getgid): Likewise.
15259 (getuid): Likewise.
15260 (getgroups): Likewise.
15263 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15264 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15265 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15267 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15268 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15269 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15270 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15271 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15272 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15273 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15275 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15277 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15278 (lchown): Likewise.
15279 (fchown): Likewise.
15280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15282 (lchown): Likewise.
15283 (fchown): Likewise.
15284 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15285 (lchown): Likewise.
15286 (fchown): Likewise.
15287 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15289 (lchown): Likewise.
15290 (fchown): Likewise.
15292 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15294 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15297 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15299 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15302 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15304 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15305 Remove unused include.
15307 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15309 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15310 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15311 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15312 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15314 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15315 Helge Deller <deller@gmx.de>
15318 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15319 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15320 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15322 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15325 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15326 Remove macro definition.
15327 (__ashrdi3_v_glibc20): Likewise.
15328 (__lshrdi3_v_glibc20): Likewise.
15329 (__cmpdi2_v_glibc20): Likewise.
15330 (__ucmpdi2_v_glibc20): Likewise.
15331 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15332 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15333 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15334 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15335 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15336 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15338 2014-10-22 Roland McGrath <roland@hack.frob.com>
15340 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15341 old GNU extension [0] syntax.
15342 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15343 alloca rather than an array member with variable length.
15344 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15345 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15346 (parse_opt): ... here. Likewise use alloca there.
15347 Validate the -i argument before checking for rootness.
15348 (send_shutdown): New function, broken out of ...
15349 (parse_opt): ... here.
15351 2014-10-22 Roland McGrath <roland@hack.frob.com>
15353 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15354 macro to get at the _rt_local_ro field.
15355 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15356 ([PIC] case) or _dl_hwcap ([!PIC] case).
15357 * sysdeps/arm/setjmp.S: Likewise.
15359 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15360 * sysdeps/arm/configure.ac: New check to define it.
15361 * sysdeps/arm/configure: Regenerated.
15362 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15363 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15364 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15365 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15366 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15367 Use move/movt pair instead of a load.
15368 (LDST_GLOBAL): Macro removed.
15369 (LDR_GLOBAL): New macro replaces it.
15370 (LDR_HIDDEN): New macro.
15371 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15372 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15374 * setjmp/tst-setjmp-static.c: New file.
15375 * setjmp/Makefile (tests): Add it.
15376 (tests-static): New variable.
15378 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15381 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15383 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15386 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15388 2014-10-21 Roland McGrath <roland@hack.frob.com>
15390 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15392 2014-10-20 Roland McGrath <roland@hack.frob.com>
15394 * io/fts.c (dirent_not_directory): New function.
15395 (fts_build): Call it.
15397 2014-10-20 Roland McGrath <roland@hack.frob.com>
15399 * nptl/version.c (__nptl_main): Use normal __write rather than
15401 (banner): Update copyright years.
15403 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15405 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15406 * nptl/pthread_cond_timedwait.c: Likewise.
15407 * nptl/pthread_mutex_timedlock.c: Likewise.
15408 * nptl/sem_timedwait.c: Likewise.
15410 * sysdeps/nptl/bits/libc-lock.h
15411 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15412 (__libc_lock_init_recursive): Return void, not 0.
15413 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15414 (__libc_rwlock_init): Likewise.
15415 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15417 2014-10-20 Torvald Riegel <triegel@redhat.com>
15420 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15421 (__pthread_once_slow): ... here.
15422 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15423 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15425 2014-10-20 Torvald Riegel <triegel@redhat.com>
15428 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15429 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15430 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15431 * nptl/pthread_once.c (__pthread_once): Likewise.
15434 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15437 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15439 (writev): Use __libc_writev as strong name.
15440 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15441 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15443 2014-10-17 Roland McGrath <roland@hack.frob.com>
15445 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15447 * sysdeps/i386/nptl/tls.h
15448 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15449 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15451 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15452 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15453 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15454 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15455 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15456 Call CHECK_THREAD_SYSINFO instead of doing an assert.
15458 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15459 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15461 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15463 (__pthread_mutex_init): ... here. Call it.
15464 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15465 Conditionalize PI cases on [__NR_futex].
15466 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15467 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15468 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15470 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15471 conditional on [SIGSETXID].
15472 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15473 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15474 is defined. Likewise for SIGSETXID.
15475 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15476 Conditionalize definitions on [SIGSETXID].
15477 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15478 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15479 unblocking on [SIGCANCEL].
15481 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15482 [__NR_set_robust_list].
15484 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15486 * string/strcoll_l.c (get_next_seq): Fix up formatting.
15487 (do_compare): Likewise.
15489 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
15492 * string/strcoll_l.c: Don't include stdio.h.
15493 (coll_seq): Remove members idxarr and rulearr.
15494 (get_next_seq_cached): Remove function.
15495 (get_next_seq): Likewise.
15496 (get_next_seq_nocache): Rename to get_next_seq.
15497 (do_compare): Remove function.
15498 (do_compare_nocache): Rename to do_compare.
15499 (STRCOLL): Remove weight and rules cache.
15501 2014-10-16 Roland McGrath <roland@hack.frob.com>
15503 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15504 * sysdeps/arm/sfp-machine.h: ... to here.
15505 * sysdeps/arm/Implies: Remove arm/soft-fp.
15507 2014-10-14 Joseph Myers <joseph@codesourcery.com>
15509 * conform/data/sys/utsname.h-data (*_t): Allow.
15510 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15511 [POSIX] (WEXITED): Do not expect constant.
15512 [POSIX] (WSTOPPED): Likewise.
15513 [POSIX] (WNOHANG): Likewise.
15514 [POSIX] (WNOWAIT): Likewise.
15515 [POSIX] (siginfo_t): Do not expect type or elements.
15516 [POSIX] (pid_t): Do not expect type.
15517 [POSIX] (signal.h): Do not allow header.
15518 [POSIX] (sys/resource.h): Likewise.
15519 [POSIX] (si_*): Do not allow pattern.
15520 [POSIX] (W*): Likewise.
15521 [POSIX] (P_*): Likewise.
15522 [POSIX] (BUS_*): Likewise.
15523 [POSIX] (CLD_*): Likewise.
15524 [POSIX] (FPE_*): Likewise.
15525 [POSIX] (ILL_*): Likewise.
15526 [POSIX] (POLL_*): Likewise.
15527 [POSIX] (SEGV_*): Likewise.
15528 [POSIX] (SI_*): Likewise.
15529 [POSIX] (TRAP_*): Likewise.
15530 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15533 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15537 infinite loop when __recvmsg returns 0.
15539 2014-10-10 Joseph Myers <joseph@codesourcery.com>
15541 * CANCEL-FCT-WAIVE: Remove file.
15542 * CANCEL-FILE-WAIVE: Likewise.
15545 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15546 instead of INTVARDEF.
15547 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15548 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15549 rtld_hidden_data_def instead of INTVARDEF.
15550 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15551 * elf/dl-deps.c (expand_dst): Likewise.
15552 * elf/dl-load.c (_dl_dst_count): Likewise.
15553 (_dl_dst_substitute): Likewise.
15554 (decompose_rpath): Likewise.
15555 (_dl_init_paths): Likewise.
15556 (open_path): Likewise.
15557 (_dl_map_object): Likewise.
15558 * elf/rtld.c (dl_main): Likewise.
15559 (process_dl_audit): Likewise.
15560 (process_envvars): Likewise.
15561 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15562 Remove declaration.
15563 (__libc_enable_secure): Use rtld_hidden_proto.
15565 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15568 (add_path): New function broken out of _dl_rtld_di_serinfo.
15569 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
15571 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15573 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15574 parentheses around macro arguments.
15575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15578 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15581 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15585 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15586 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15587 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15589 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15590 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15591 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15596 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
15601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
15602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
15603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
15604 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
15605 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
15606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
15607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
15608 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
15609 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
15610 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
15612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
15613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15615 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
15616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
15617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
15618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
15619 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
15620 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
15621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
15622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
15623 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
15624 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
15625 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
15626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
15627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
15628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
15629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
15630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
15631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
15632 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
15633 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
15634 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
15635 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
15636 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
15637 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
15638 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
15639 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
15640 (_FP_FRAC_SRS_1): Likewise.
15641 (_FP_FRAC_CLZ_1): Likewise.
15642 (_FP_MUL_MEAT_1_imm): Likewise.
15643 (_FP_MUL_MEAT_1_wide): Likewise.
15644 (_FP_MUL_MEAT_1_hard): Likewise.
15645 (_FP_SQRT_MEAT_1): Likewise.
15646 (_FP_FRAC_ASSEMBLE_1): Likewise.
15647 (_FP_FRAC_DISASSEMBLE_1): Likewise.
15648 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
15649 (__FP_CLZ_2): Likewise.
15650 (_FP_MUL_MEAT_2_wide): Likewise.
15651 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15652 (_FP_MUL_MEAT_2_gmp): Likewise.
15653 (_FP_MUL_MEAT_2_120_240_double): Likewise.
15654 (_FP_SQRT_MEAT_2): Likewise.
15655 (_FP_FRAC_ASSEMBLE_2): Likewise.
15656 (_FP_FRAC_DISASSEMBLE_2): Likewise.
15657 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
15658 (_FP_FRAC_CLZ_4): Likewise.
15659 (_FP_MUL_MEAT_4_wide): Likewise.
15660 (_FP_MUL_MEAT_4_gmp): Likewise.
15661 (_FP_SQRT_MEAT_4): Likewise.
15662 (_FP_FRAC_ASSEMBLE_4): Likewise.
15663 (_FP_FRAC_DISASSEMBLE_4): Likewise.
15664 * soft-fp/op-common.h (_FP_CMP): Likewise.
15665 (_FP_CMP_EQ): Likewise.
15666 (_FP_CMP_UNORD): Likewise.
15667 (_FP_TO_INT): Likewise.
15668 (_FP_FROM_INT): Likewise.
15669 [!__FP_CLZ] (__FP_CLZ): Likewise.
15670 (_FP_DIV_HELP_imm): Likewise.
15671 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
15673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
15674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
15675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
15676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
15677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
15678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
15681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
15682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
15683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
15684 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
15685 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
15686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
15687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
15688 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
15689 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
15690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
15691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
15692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
15693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
15694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
15695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
15696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
15697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
15698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
15699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
15700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
15701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
15702 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
15703 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
15704 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
15705 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
15706 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
15707 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
15708 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
15709 (FP_UNPACK_RAW_SP): Likewise.
15710 (FP_PACK_RAW_S): Likewise.
15711 (FP_PACK_RAW_SP): Likewise.
15712 (FP_UNPACK_S): Likewise.
15713 (FP_UNPACK_SP): Likewise.
15714 (FP_UNPACK_SEMIRAW_S): Likewise.
15715 (FP_UNPACK_SEMIRAW_SP): Likewise.
15716 (FP_PACK_S): Likewise.
15717 (FP_PACK_SP): Likewise.
15718 (FP_PACK_SEMIRAW_S): Likewise.
15719 (FP_PACK_SEMIRAW_SP): Likewise.
15720 (_FP_SQRT_MEAT_S): Likewise.
15721 (FP_CMP_S): Likewise.
15722 (FP_CMP_EQ_S): Likewise.
15723 (FP_CMP_UNORD_S): Likewise.
15724 (FP_TO_INT_S): Likewise.
15725 (FP_FROM_INT_S): Likewise.
15727 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
15729 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
15730 (FP_EX_INVALID_IMZ): Likewise.
15731 (FP_EX_INVALID_IMZ_FMA): Likewise.
15732 (FP_EX_INVALID_ISI): Likewise.
15733 (FP_EX_INVALID_ZDZ): Likewise.
15734 (FP_EX_INVALID_IDI): Likewise.
15735 (FP_EX_INVALID_SQRT): Likewise.
15736 (FP_EX_INVALID_CVI): Likewise.
15737 (FP_EX_INVALID_VC): Likewise.
15738 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
15739 "invalid" exceptions.
15740 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
15741 (_FP_ADD_INTERNAL): Likewise.
15742 (_FP_MUL): Likewise.
15743 (_FP_FMA): Likewise.
15744 (_FP_DIV): Likewise.
15745 (_FP_CMP_CHECK_NAN): Likewise.
15746 (_FP_SQRT): Likewise.
15747 (_FP_TO_INT): Likewise.
15748 (FP_EXTEND): Likewise.
15750 2014-10-09 Allan McRae <allan@archlinux.org>
15752 * po/fr.po: Update French translation from translation project.
15754 2014-10-09 Joseph Myers <joseph@codesourcery.com>
15757 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
15759 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
15760 (__cxa_atexit): Use libc_hidden_proto.
15761 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
15764 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
15766 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
15767 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15768 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
15769 [!_ISOMAC] (__iswctype_internal): Likewise.
15770 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
15771 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
15773 (fcntl): Remove __fcntl_internal alias.
15774 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
15775 __connect_internal alias.
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
15779 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
15780 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
15782 (_FP_CHECK_FLUSH_ZERO): New macro.
15783 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
15784 (_FP_CMP): Likewise.
15785 (_FP_CMP_EQ): Likewise.
15786 (_FP_TO_INT): Do not set inexact for subnormal arguments if
15788 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15789 (FP_TRUNC): Likewise.
15791 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
15792 treated as invalid conversion, not as normal exponent.
15794 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
15795 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
15796 (_FP_CMP_EQ): Likewise.
15797 (_FP_CMP_UNORD): Likewise.
15798 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
15799 (FP_CMP_EQ_D): Likewise.
15800 (FP_CMP_UNORD_D): Likewise.
15801 * soft-fp/extended.h (FP_CMP_E): Likewise.
15802 (FP_CMP_EQ_E): Likewise.
15803 (FP_CMP_UNORD_E): Likewise.
15804 * soft-fp/quad.h (FP_CMP_Q): Likewise.
15805 (FP_CMP_EQ_Q): Likewise.
15806 (FP_CMP_UNORD_Q): Likewise.
15807 * soft-fp/single.h (FP_CMP_S): Likewise.
15808 (FP_CMP_EQ_S): Likewise.
15809 (FP_CMP_UNORD_S): Likewise.
15810 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
15811 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
15812 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
15813 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
15814 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
15815 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
15816 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
15817 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
15818 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
15819 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
15820 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
15821 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
15822 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
15824 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
15826 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
15827 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
15829 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
15831 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
15832 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
15833 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
15834 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
15836 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
15838 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
15841 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
15843 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
15844 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
15845 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
15846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
15849 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
15850 a subnormal result, set the underflow exception if trapping on
15851 underflow is enabled.
15852 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
15853 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
15854 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
15856 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
15857 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15858 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
15859 * soft-fp/extendxftf2.c (__extendxftf2): Use
15860 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
15862 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
15863 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
15864 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15865 FP_HANDLE_EXCEPTIONS.
15866 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
15867 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15868 FP_HANDLE_EXCEPTIONS.
15869 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
15870 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15871 FP_HANDLE_EXCEPTIONS.
15872 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
15873 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
15874 FP_HANDLE_EXCEPTIONS.
15876 2014-10-08 Joseph Myers <joseph@codesourcery.com>
15879 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
15880 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
15882 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
15883 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
15885 (__adjtimex): Define using libc_hidden_ver.
15886 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
15887 Remove declaration.
15888 (ntp_gettime): Call __adjtimex directly.
15889 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
15890 Remove declaration.
15891 (ntp_gettimex): Call __adjtimex directly.
15892 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
15893 __adjtimex_internal alias.
15895 2014-10-08 Roland McGrath <roland@hack.frob.com>
15898 * nscd/nscd.c (more_help): Rewrite list of tables collection
15899 using xstrdup and asprintf.
15901 * nscd/nscd_conf.c: Remove local xstrdup declaration.
15903 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15904 Roland McGrath <roland@hack.frob.com>
15906 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
15907 (do_lookup_unique): ... local function 'enter' here; update callers.
15909 2014-10-06 Joseph Myers <joseph@codesourcery.com>
15911 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
15912 compat_symbol calls on [SHARED].
15913 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
15914 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
15916 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15917 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
15918 (oldsetrlimit): Remove.
15919 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15921 (lchown): New syscall entry.
15922 (oldsetrlimit): Remove.
15923 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
15925 (oldsetrlimit): Remove.
15926 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
15929 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
15930 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
15931 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
15932 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
15933 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15934 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
15935 (fchown): Likewise.
15936 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
15937 (fchown): Likewise.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
15941 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15943 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
15944 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
15945 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
15946 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
15947 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
15949 (__old_sem_post): Likewise.
15951 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
15953 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
15954 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
15955 HAVE_CLOCK_GETTIME_VSYSCALL macros.
15956 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15957 Use INLINE_VSYSCALL macro.
15958 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15959 __vdso_clock_gettime.
15960 * sysdeps/unix/sysv/linux/tile/init-first.c
15961 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15962 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15963 __vdso_clock_gettime.
15965 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15966 to set up frame more cleanly.
15968 * sysdeps/tile/memcmp.c: New file.
15970 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15972 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15973 * sysdeps/tile/tilegx/strcasestr.c: New file.
15974 * sysdeps/tile/tilegx/strnlen.c: New file.
15975 * sysdeps/tile/tilegx/strstr.c: New file.
15977 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15979 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
15981 * nptl/tst-setuid3.c: Write errors to stdout.
15983 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15986 (preload): New functions broken out of _dl_map_object_deps.
15987 (_dl_map_object_deps): Remove a nested function. Update call sites.
15989 2014-10-01 Joseph Myers <joseph@codesourcery.com>
15992 * sysdeps/unix/sysv/linux/execve.c: Remove file.
15993 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15995 2014-10-01 Steve Ellcey <sellcey@mips.com>
15997 * sysdeps/mips/strcmp.S: New.
15999 2014-09-30 Joseph Myers <joseph@codesourcery.com>
16002 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16003 (linkat): Likewise.
16004 (mkdirat): Likewise.
16005 (readlinkat): Likewise.
16006 (renameat): Likewise.
16007 (symlinkat): Likewise.
16008 (unlinkat): Likewise.
16009 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16010 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16011 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16012 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16013 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16014 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16015 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16017 2014-09-30 Will Newton <will.newton@linaro.org>
16019 * math/math.h: Define long double math functions if
16020 _LIBC_TEST is defined.
16021 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16023 * localedata/Makefile: Move assignment to tests-special
16024 into an ifdef testing run-built-tests.
16025 * timezone/Makefile: Likewise.
16027 2014-09-29 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16030 with $(BASH) not $(SHELL).
16032 2014-09-29 Carlos O'Donell <carlos@redhat.com>
16033 Matthew LeGendre <legendre1@llnl.gov>
16036 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16039 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16041 * stdio-common/printf_fp.c
16042 (hack_digit): New function, broken out of ...
16043 (__printf_fp): ... local function here. Update call sites.
16044 hack_digit now takes an additional parameter that is a pointer
16045 to a struct of the referenced locals. Those locals moved inside
16046 the struct and references updated.
16048 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
16050 * aclocal.m4: Require autoconf 2.69.
16051 * configure: Regenerated.
16052 * sysdeps/aarch64/configure: Likewise.
16053 * sysdeps/alpha/configure: Likewise.
16054 * sysdeps/arm/armv7/configure: Likewise.
16055 * sysdeps/arm/configure: Likewise.
16056 * sysdeps/ia64/configure: Likewise.
16057 * sysdeps/mach/configure: Likewise.
16058 * sysdeps/mips/configure: Likewise.
16059 * sysdeps/s390/configure: Likewise.
16060 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16063 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16065 * sysdeps/ia64/configure.ac: Likewise.
16067 2014-09-26 Joseph Myers <joseph@codesourcery.com>
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16070 specify symbol version for ld.so. Do not include entry for
16072 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16073 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16077 * Makeconfig [$(build-shared) = yes]
16078 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16080 [$(build-shared) = yes && $(soversions.mk-done) = t]
16081 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16082 [$(build-shared) = yes && $(soversions.mk-done) = t]
16083 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16085 [$(build-shared) = yes && $(soversions.mk-done) = t]
16086 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16088 [$(build-shared) = yes && $(soversions.mk-done) = t]
16089 (common-generated): Don't append gnu/lib-names.h and
16090 gnu/lib-names.stmp here.
16091 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16092 (lib-names-h-abi): New variable.
16093 [$(build-shared) = yes && $(soversions.mk-done) = t]
16094 (lib-names-stmp-abi): Likewise.
16095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16096 abi-variants] (before-compile): Append
16097 $(common-objpfx)$(lib-names-h-abi).
16098 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16099 abi-variants] (common-generated): Append gnu/lib-names.h.
16100 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16101 abi-variants] (install-others-nosubdir): Depend on
16102 $(inst_includedir)/$(lib-names-h-abi).
16103 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16104 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16105 [$(build-shared) = yes && $(soversions.mk-done) = t]
16106 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16107 [$(build-shared) = yes && $(soversions.mk-done) = t]
16108 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16109 [$(build-shared) = yes && $(soversions.mk-done) = t]
16110 (common-generated): Append $(lib-names-h-abi) and
16111 $(lib-names-stmp-abi).
16112 * scripts/lib-names.awk: Do not handle multi being set.
16113 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16115 (abi-lp64_be-ld-soname): Likewise.
16116 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16118 (abi-hard-ld-soname): Likewise.
16119 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16120 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16122 (abi-o32_hard-ld-soname): Likewise.
16123 (abi-o32_soft_2008-ld-soname): Likewise.
16124 (abi-o32_hard_2008-ld-soname): Likewise.
16125 (abi-n32_soft-ld-soname): Likewise.
16126 (abi-n32_hard-ld-soname): Likewise.
16127 (abi-n32_soft_2008-ld-soname): Likewise.
16128 (abi-n32_hard_2008-ld-soname): Likewise.
16129 (abi-n64_soft-ld-soname): Likewise.
16130 (abi-n64_hard-ld-soname): Likewise.
16131 (abi-n64_soft_2008-ld-soname): Likewise.
16132 (abi-n64_hard_2008-ld-soname): Likewise.
16133 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16135 (abi-64-v2-ld-soname): Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16138 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16140 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16142 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16144 (abi-64-ld-soname): Likewise.
16145 (abi-x32-ld-soname): Likewise.
16146 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16148 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16150 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16153 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16155 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16158 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16159 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16160 syscall entry for GLIBC_2.2 symbol version.
16161 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16164 (setrlimit): Likewise.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16168 2014-09-23 Will Newton <will.newton@linaro.org>
16170 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16171 _LINUX_ARM_SYSDEP_H include guard too.
16172 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16175 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16177 * sysdeps/unix/sysv/linux/eventfd.c:
16178 Make first argument unsigned.
16179 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16180 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16182 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16184 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16185 * socket/sys/socket.h: Likewise
16186 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16188 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16190 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16192 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16194 * time/tst-ftime.c: New test.
16195 * time/Makefile (tests): Add tst-ftime.
16197 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16199 * soft-fp/extended.h: Fix comment formatting.
16200 * soft-fp/op-1.h: Likewise.
16201 * soft-fp/op-2.h: Likewise.
16202 * soft-fp/op-4.h: Likewise.
16203 * soft-fp/op-8.h: Likewise.
16204 * soft-fp/op-common.h: Likewise.
16205 * soft-fp/soft-fp.h: Likewise.
16207 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16209 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16212 * Makeconfig (soversions-default-setname): Remove variable.
16213 ($(common-objpfx)soversions.i): Don't pass default_setname to
16215 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16216 oldest_abi to abi-versions.awk.
16217 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16218 * config.make.in (oldest-abi): Remove variable.
16219 * configure.ac (--enable-oldest-abi): Remove configure option.
16220 * configure: Regenerated.
16221 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16223 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16224 * scripts/soversions.awk: Do not handle default_setname variable.
16225 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16227 * sysdeps/mach/hurd/configure: Regenerated.
16228 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16230 * sysdeps/unix/sysv/linux/configure: Regenerated.
16232 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16234 * elf/Makefile (CFLAGS-interp.c): Remove.
16235 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16237 * elf/interp.c: Include generated runtime-linker.h
16239 * Makerules (lib%.so): Don't include $(+interp) in
16241 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16242 * dlfcn/eval.c: Remove file.
16244 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16248 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16252 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16254 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16255 Jakub Jelinek <jakub@redhat.com>
16258 * libio/stdio.h: Check definition of __fortify_function
16259 instead of __extern_always_inline to include bits/stdio2.h.
16260 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16261 check if __extern_always_inline is defined.
16262 [__USE_MISC || __USE_XOPEN]: Likewise.
16263 [__USE_ISOC99] Likewise.
16264 * misc/sys/cdefs.h (__fortify_function): Define only if
16265 __extern_always_inline is defined.
16266 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16267 __extern_always_inline and __extern_inline only for g++-4.3
16268 and newer or a compatible gcc.
16270 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16273 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16274 last change to handle zero prefix length.
16276 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16278 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16281 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16282 _POSIX_RAW_SOCKETS.
16284 2014-09-13 Allan McRae <allan@archlinux.org>
16286 * po/ru.po: Update Russian translation from translation project.
16288 2014-09-12 Roland McGrath <roland@hack.frob.com>
16290 * locale/programs/locale.c (show_locale_vars): Inline local function
16291 into its sole call site. Clean up some style nits.
16292 (print_item): New function, broken out of ...
16293 (show_info): ... local function here. Clean up style nits.
16295 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16297 (set_class_defaults): ... local function set_default here.
16298 Define set_default as a macro locally to pass constant parameters.
16299 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16300 rather than a shared local.
16302 * stdlib/rpmatch.c (try): New function, broken out of ...
16303 (rpmatch): ... local function here. Also, prototypify definition.
16305 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16307 * scripts/soversions.awk: Do not handle configuration names.
16308 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16309 vendor and os variables to soversions.awk.
16310 * configure.ac: Do not modify gnu-* host_os.
16311 * configure: Regenerated
16312 * shlib-versions: Remove first column with configuration names.
16313 * nptl/shlib-versions: Likewise.
16314 * nptl_db/shlib-versions: Likewise.
16315 * sysdeps/hppa/shlib-versions: Likewise.
16316 * sysdeps/m68k/shlib-versions: Likewise.
16317 * sysdeps/mach/hurd/shlib-versions: Likewise.
16318 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16319 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16320 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16321 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16322 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16323 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16324 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16329 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16330 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16331 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16332 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16333 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16334 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16338 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16341 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16343 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16345 * shlib-versions: Remove OS-specific entries. Moved to files in
16347 * sysdeps/mach/hurd/shlib-versions: New file.
16348 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16350 * nptl/shlib-versions: Remove architecture-specific entries.
16351 Moved to files in sysdeps.
16352 * shlib-versions: Likewise.
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16355 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16356 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16357 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16360 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16361 (UDP_NO_CHECK6_RX): Likewise.
16363 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/posix/sysconf.c (__sysconf): Spell
16366 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16368 2014-08-12 Florian Weimer <fweimer@redhat.com>
16370 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16372 * iconv/Versions (__gconv_transliterate): Export for use from
16374 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16375 (struct __gconv_trans_data, __gconv_trans_fct,
16376 __gconv_trans_context_fct, __gconv_trans_query_fct,
16377 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16379 (struct __gconv_step_data): Remove __trans member.
16380 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16381 longer hidden. Remove unused trans_data argument.
16382 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16383 (__gconv_translit_find): Remove declaration.
16384 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16386 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16387 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16388 trans_data argument. Add hidden definition.
16389 (__gconv_translit_find): Remove.
16390 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16391 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16392 * iconv/skeleton.c: Remove transliteration initialization.
16393 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16394 __gconv_step_data initialization.
16395 * libio/iofwide.c (__libio_translit_): Remove.
16396 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16397 * wcsmbs/btowc.c (__btowc): Likewise.
16398 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16399 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16400 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16401 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16402 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16403 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16404 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16405 * wcsmbs/wctob.c (wctob): Likewise.
16407 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16410 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16411 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16413 * sysdeps/x86/Makefile: Adjust.
16415 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16416 Roland McGrath <roland@hack.frob.com>
16418 * locale/weight.h: Add include guard.
16419 (findidx): Make static rather than auto; take new parameters
16420 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16421 * locale/weightwc.h: Likewise.
16422 * posix/fnmatch_loop.c
16423 (FCT): Change type of EXTRA from int32_t to wint_t.
16424 Don't include either header inside the function.
16425 Call FINDIDX rather than findidx, and pass new arguments.
16426 #undef FINDIDX at the end of the file.
16427 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16428 FINDIDX before including fnmatch_loop.c for the non-wide version.
16429 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16430 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16431 for the wide version.
16432 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16433 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16434 Pass new arguments to findidx.
16435 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16436 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16437 Don't #include it inside the function. Pass new arguments to findidx.
16438 * posix/regex_internal.h
16439 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16440 (re_string_elem_size_at): Don't #include it inside the function.
16441 Pass new arguments to findidx.
16442 * string/strcoll_l.c: #include WEIGHT_H at top level.
16443 (get_next_seq): Don't #include it inside the function.
16444 Pass new arguments to findidx.
16445 (get_next_seq_nocache): Likewise.
16446 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16447 (STRXFRM): Don't #include it inside the function.
16448 Pass new arguments to findidx.
16450 2014-09-11 Florian Weimer <fweimer@redhat.com>
16453 * malloc/malloc.c (unlink): Turn asserts into a call to
16456 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
16459 * libio/wfileops (do_ftell_wide): Free OUT.
16461 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
16463 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16465 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16469 group if the current group is empty.
16471 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16473 * benchtests/bench-memset.c (test_main): Add more test from size
16474 from 32 to 512 bytes.
16475 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16476 Add POWER8 memset object.
16477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16478 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16479 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16481 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16483 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16484 multiarch POWER8 memset optimization.
16485 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16486 POWER8 memset optimization.
16488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16489 Remove bzero multiarch objects.
16490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16495 [__bzero]: Redefine to specific name.
16496 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16497 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16498 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16500 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16501 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16503 2014-09-10 Florian Weimer <fweimer@redhat.com>
16505 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16506 warnings into errors.
16508 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16509 __cxa_thread_atexit_impl prototype.
16511 2014-09-09 Steve Ellcey <sellcey@mips.com>
16513 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16514 Fix capitalization of error message.
16516 2014-09-09 Steve Ellcey <sellcey@mips.com>
16518 * sysdeps/mips/preconfigure: Modify ABI tests.
16520 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
16522 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16524 2014-09-07 Roland McGrath <roland@hack.frob.com>
16525 Carlos O'Donell <carlos@systemhalted.org>
16527 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16528 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16529 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16530 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16531 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16532 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16533 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16534 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16535 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16536 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16537 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16538 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16539 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16540 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16541 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16542 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16543 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16544 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16545 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16546 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16547 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16548 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16549 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16550 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16551 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16552 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16553 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16554 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16555 Deconditionalize the code that was previously under [RESET_PID].
16556 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16557 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16558 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16559 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16562 2014-09-08 Allan McRae <allan@archlinux.org>
16564 * version.h (RELEASE): Set to "development".
16565 (VERSION): Set to "2.20.90"
16567 2014-09-07 Allan McRae <allan@archlinux.org
16569 * version.h (RELEASE): Set to "stable".
16570 (VERSION): Set to "2.20"
16571 * include/features.h (__GLIBC_MINOR__): Set to 20.
16573 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16576 * po/ko.po: Update Korean translation from translation project.
16578 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
16581 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16582 macro for handling signed relocations.
16584 2014-09-03 Florian Weimer <fweimer@redhat.com>
16587 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16588 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16590 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16591 * iconvdata/ibm935.c (BODY): Likewise.
16592 * iconvdata/ibm937.c (BODY): Likewise.
16593 * iconvdata/ibm939.c (BODY): Likewise.
16594 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16596 * iconvdata/Makefile (iconv-test.out): Pass module list to test
16598 * iconvdata/run-iconv-test.sh: New test loop for checking for
16601 2014-09-02 Khem Raj <raj.khem@gmail.com>
16603 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
16606 2014-09-01 Allan McRae <allan@archlinux.org>
16608 * po/eo.po: Update Esperanto translation from translation project.
16610 * po/ca.po: Update Catalan translation from translation project.
16612 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
16614 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
16615 __proc_dostop call.
16617 2014-08-27 Mark Wielaard <mjw@redhat.com>
16620 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
16621 to call set_thread_area instead of hand written asm.
16622 (__NR_set_thread_area): Removed define.
16623 (TLS_FLAG_WRITABLE): Likewise.
16624 (__ASSUME_SET_THREAD_AREA): Remove check.
16625 (TLS_EBX_ARG): Remove define.
16626 (TLS_LOAD_EBX): Likewise.
16628 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16630 Simplify atomicity of socket creation in bind.
16632 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
16633 looking up the name after linking the file.
16635 2014-08-27 Allan McRae <allan@archlinux.org>
16637 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16639 2014-08-26 Florian Weimer <fweimer@redhat.com>
16642 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
16643 trans_compare, open_translit, __gconv_translit_find):
16644 Remove module loading code.
16646 2014-08-26 Allan McRae <allan@archlinux.org>
16648 * po/vi.po: Update Vietnamese translation from translation project.
16650 * po/uk.po: Update Ukrainian translation from translation project.
16652 * po/fr.po: Update French translation from translation project.
16654 * po/ru.po: Update Russian translation from translation project.
16656 * po/pl.po: Update Polish translation from translation project.
16658 * po/cs.po: Update Czech translation from translation project.
16660 * po/de.po: Update German translation from translation project.
16662 * po/bg.po: Update Bulgarian translation from translation project.
16664 * po/sv.po: Update Sweedish translation from translation project.
16666 * po/nl.po: Update Dutch translation from translation project.
16668 * po/es.po: Update Spanish translation from translation project.
16670 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16672 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
16674 * catgets/Makefile (CPPFLAGS-gencat): Remove.
16675 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
16676 (CPPFLAGS-iconvconfig): Likewise.
16677 * timezone/Makefile (CPPFLAGS-zic): Likewise.
16679 * include/libc-symbols.h: Remove unnecessary check for
16681 * nptl/pthreadP.h: Likewise.
16682 * sysdeps/aarch64/setjmp.S: Likewise.
16683 * sysdeps/alpha/setjmp.S: Likewise.
16684 * sysdeps/arm/sysdep.h: Likewise.
16685 * sysdeps/i386/setjmp.S: Likewise.
16686 * sysdeps/m68k/setjmp.c: Likewise.
16687 * sysdeps/posix/getcwd.c: Likewise.
16688 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16689 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16690 * sysdeps/s390/s390-32/setjmp.S: Likewise.
16691 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16692 * sysdeps/sh/sh3/setjmp.S: Likewise.
16693 * sysdeps/sh/sh4/setjmp.S: Likewise.
16694 * sysdeps/unix/alpha/sysdep.h: Likewise.
16695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16697 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16698 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16703 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16706 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16708 * sysdeps/x86_64/setjmp.S: Likewise.
16710 2014-08-13 Joseph Myers <joseph@codesourcery.com>
16713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
16715 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
16716 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
16718 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16720 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
16723 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
16724 and __x86_64__ when disabling x87 inline functions.
16726 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
16729 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
16730 asm statement with __cpuid_count.
16732 2014-08-12 Mike Frysinger <vapier@gentoo.org>
16734 * configure.ac: Change __ehdr_start code to dereference the struct.
16735 Run readelf on the output to look for relocations.
16736 * configure: Regenerated.
16738 2014-08-12 Joseph Myers <joseph@codesourcery.com>
16741 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
16743 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
16745 2014-08-12 Roland McGrath <roland@hack.frob.com>
16747 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
16749 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
16752 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
16753 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
16755 2014-08-12 Sean Anderson <seanga2@gmail.com>
16757 * malloc/malloc.c: Fix typo in comment.
16759 2014-08-09 Allan McRae <allan@archlinux.org>
16761 * Regenerate libc.po.
16763 2014-08-08 Mike Frysinger <vapier@gentoo.org>
16765 * intl/tst-gettext2.sh: Check every lang file for creation.
16767 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16769 * sysdeps/aarch64/fpu/math_private.h
16770 (libc_feholdsetround_noex_aarch64_ctx): New function.
16772 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
16774 * sysdeps/arm/armv6/strcpy.S (strcpy):
16775 Fix performance issue in misaligned cases.
16777 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16779 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
16780 Move definition from termios.h.
16781 (struct termio): Likewise.
16782 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16783 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16784 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16785 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
16788 Move definition to ioctl-types.h
16789 (struct termio): Likewise.
16790 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16791 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
16792 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
16793 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
16796 2014-08-05 Richard Henderson <rth@redhat.com>
16798 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
16800 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
16802 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
16803 Use __feraiseexcept.
16804 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
16805 Protect libm symbols with IS_IN_libm.
16807 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
16809 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
16811 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
16813 2014-08-04 Will Newton <will.newton@linaro.org>
16815 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
16818 2014-08-04 Mike Frysinger <vapier@gentoo.org>
16820 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
16821 variants for each function.
16823 2014-08-04 Roland McGrath <roland@hack.frob.com>
16825 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
16827 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
16828 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
16830 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
16831 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
16832 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
16833 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
16834 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
16835 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
16836 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
16837 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
16838 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
16839 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
16840 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
16841 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
16842 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
16843 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
16844 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
16845 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
16846 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
16847 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
16848 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
16849 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
16850 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
16852 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
16853 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
16856 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
16857 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
16858 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
16859 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
16860 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
16864 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
16865 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
16866 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
16867 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
16868 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
16869 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
16870 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
16871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
16872 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
16873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
16874 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
16875 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
16876 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
16877 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
16878 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
16879 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
16880 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
16881 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
16882 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
16884 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
16885 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
16887 2014-08-04 Roland McGrath <roland@hack.frob.com>
16889 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
16890 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
16891 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
16892 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
16893 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
16894 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
16896 2014-08-04 Roland McGrath <roland@hack.frob.com>
16898 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
16899 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
16900 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16901 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
16903 2014-08-04 Roland McGrath <roland@hack.frob.com>
16905 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
16906 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
16907 (__libc_vfork): Define function under this name.
16908 (__vfork): Define as an alias.
16909 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
16910 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
16912 2014-08-04 Roland McGrath <roland@hack.frob.com>
16914 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
16915 that was previously under [RESET_PID].
16916 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
16918 2014-08-04 Andreas Schwab <schwab@suse.de>
16920 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
16922 2014-08-03 Mike Frysinger <vapier@gentoo.org>
16924 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
16927 2014-08-01 Roland McGrath <roland@hack.frob.com>
16929 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
16931 2014-08-01 Richard Henderon <rth@redhat.com>
16933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
16934 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
16935 typo in exact zero test.
16936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16940 2014-08-01 Roland McGrath <roland@hack.frob.com>
16942 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
16943 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
16944 * sysdeps/arm/sysdep.h: ... here.
16945 [!__ASSEMBLER__]: Include <stdint.h>.
16947 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16949 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
16950 (HAVE_WCTYPE_H): Likewise.
16951 (HAVE_ISWCTYPE): Likewise.
16952 (ENABLE_NLS): Likewise.
16953 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
16954 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16956 * posix/regex_internal.c: Check if DEBUG is defined and is
16959 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16960 (HAVE_MBSRTOWCS): Likewise.
16961 * posix/fnmatch.c: Include string.h unconditionally.
16963 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16965 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16968 2014-07-31 Roland McGrath <roland@hack.frob.com>
16970 * sysdeps/generic/safe-fatal.h: New file.
16971 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16972 * nptl/forward.c: Include it.
16973 (__pthread_unwind): Use __safe_fatal as default action, rather
16974 than a bogus use of INTERNAL_SYSCALL that could never work.
16976 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16977 * configure.ac (libc_cv_builtin_trap): New test.
16978 * configure: Regenerated.
16979 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16980 (ABORT_INSTRUCTION): Define using __builtin_trap.
16982 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16983 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16984 * sysdeps/nptl/nptl-signals.h: New file.
16985 * nptl/pthreadP.h: Include <nptl-signals.h>.
16987 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16989 * sysdeps/s390/s390-64/utf16-utf32-z9.c
16990 (ONE_DIRECTION): Define.
16991 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16992 (ONE_DIRECTION): Define.
16993 * sysdeps/s390/s390-64/utf8-utf32-z9.c
16994 (ONE_DIRECTION): Define.
16996 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16998 * sysdeps/s390/Makefile: Delete file.
16999 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17000 * sysdeps/s390/__longjmp.c: Delete file.
17001 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17002 Remove fields __flags and __reserved.
17003 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17004 and add versioning.
17005 * sysdeps/s390/rtld-__longjmp.c: Delete file.
17006 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17007 * sysdeps/s390/rtld-setjmp.S: Likewise.
17008 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17009 * sysdeps/s390/s390-32/__longjmp.c: ... here.
17010 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17011 * sysdeps/s390/s390-32/setjmp.S: ... here.
17013 (__sigsetjmp): Remove setting __flags field.
17014 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17015 * sysdeps/s390/s390-64/__longjmp.c: ... here.
17016 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17017 * sysdeps/s390/s390-64/setjmp.S: ... here.
17019 (__sigsetjmp): Remove setting __flags field.
17020 * sysdeps/s390/setjmp.S: Delete file.
17021 * sysdeps/s390/sigjmp.c: Likewise.
17022 * sysdeps/s390/v1-longjmp.c: Likewise.
17023 * sysdeps/s390/v1-setjmp.h: Likewise.
17024 * sysdeps/s390/v1-sigjmp.c: Likewise.
17025 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17026 Remove v1-longjmp_chk.
17027 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17028 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17029 Include debug/longjmp_chk.c and add versioning.
17030 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17031 Include nptl/pt-longjmp.c and add versioning.
17032 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17033 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17034 Include __longjmp.c.
17035 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17038 (__getcontext): Remove setting __flags field.
17040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17041 Don't restore upper high grps.
17042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17044 (__swapcontext): Remove setting uc_flags field.
17045 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17047 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17048 Include __longjmp.c.
17049 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17051 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17052 (__getcontext): Remove setting __flags field.
17054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17055 (__swapcontext): Remove setting uc_flags field.
17056 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17057 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17058 Remove fields uc_high_gprs and __reserved.
17059 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17060 New file with reverted content.
17061 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17067 2014-07-31 Andreas Schwab <schwab@suse.de>
17069 * config.h.in (HAVE_IFUNC): Define to 0.
17070 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17073 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
17075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17076 memmove-avx-unaligned, memcpy-avx-unaligned and
17077 mempcpy-avx-unaligned.
17078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17079 Add tests for AVX memcpy functions.
17080 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17081 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17083 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17084 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17086 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17087 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17089 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17090 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17091 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17093 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17096 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17099 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17102 * manual/llio.texi: Add section about open file description locks.
17103 * manual/examples/ofdlocks.c: Example of open file description
17105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17106 F_OFD_SETLK, and F_OFD_SETLKW.
17108 2014-07-23 Allan McRae <allan@archlinux.org>
17110 * po/es.po: Update Spanish translation from translation project.
17112 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17114 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17116 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17119 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17120 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17121 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17123 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17126 * math/fesetenv.c (__fesetenv)
17127 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17128 * math/feupdateenv.c (__feupdateenv)
17129 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17131 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17132 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17133 (__ASSUME_SOCKETCALL): Do not define.
17135 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17136 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17137 (__ASSUME_SOCKETCALL): Do not define.
17138 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17139 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17140 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17141 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17142 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17143 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17144 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17145 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17147 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17148 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17149 (__ASSUME_SOCKETCALL): Do not define.
17150 (__ASSUME_IPC64): Define unconditionally.
17151 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17152 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17153 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17154 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17155 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17156 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17157 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17160 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17161 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17162 (__ASSUME_SOCKETCALL): Do not define.
17163 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17164 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17165 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17167 (__ASSUME_REQUEUE_PI): Define unconditionally.
17168 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17169 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17170 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17171 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17172 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17173 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17175 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17176 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17177 (__ASSUME_SOCKETCALL): Do not define.
17178 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17179 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17180 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17181 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17182 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17183 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17185 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17186 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17187 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17188 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17189 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17190 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17191 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17192 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17193 (__ASSUME_GETCPU_SYSCALL): Likewise.
17195 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17196 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17197 cases for individual architectures.
17198 * sysdeps/gnu/configure: Regenerated.
17199 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17200 LIBC_SLIBDIR_RTLDDIR.
17201 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17202 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17203 LIBC_SLIBDIR_RTLDDIR.
17204 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17206 LIBC_SLIBDIR_RTLDDIR.
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17209 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17210 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17212 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17213 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17215 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17216 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17220 * sysdeps/aarch64/shlib-versions: Move to ...
17221 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17222 * sysdeps/alpha/shlib-versions: Move to ...
17223 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17224 * sysdeps/arm/shlib-versions: Move to ...
17225 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17226 * sysdeps/hppa/shlib-versions: Move all contents except for
17227 libgcc_s entry to ...
17228 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17230 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17231 * sysdeps/ia64/shlib-versions: Move to ...
17232 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17234 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17235 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17236 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17237 * sysdeps/microblaze/shlib-versions: Move to ...
17238 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17239 * sysdeps/mips/shlib-versions: Move to ...
17240 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17242 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17243 * sysdeps/tile/shlib-versions: Move to ...
17244 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17245 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17247 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17250 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17252 2014-07-17 Will Newton <will.newton@linaro.org>
17254 * sysdeps/arm/bits/atomic.h
17255 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17256 (__arch_compare_and_exchange_bool_16_int): Likewise.
17257 (__arch_compare_and_exchange_bool_64_int): Likewise.
17259 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17260 into an #else block.
17262 2014-07-16 Roland McGrath <roland@hack.frob.com>
17264 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17265 just Linux configurations. Test empirically that the compiler sets
17266 __ARM_EABI__, rather than using the tuple to decide.
17267 * sysdeps/arm/preconfigure: Regenerated.
17268 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17269 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17270 contents appended ...
17271 * sysdeps/arm/configure.ac: ... here.
17272 * sysdeps/arm/configure: Regenerated.
17274 2014-07-15 Roland McGrath <roland@hack.frob.com>
17276 * nptl/pthread_kill.c: New file.
17277 * nptl/pthread_sigmask.c: New file.
17278 * nptl/pthread_sigqueue.c: New file.
17280 * sysdeps/nptl/lowlevellock.h: New file.
17281 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17282 * sysdeps/nptl/lowlevellock-futex.h: New file.
17284 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17285 Remove dead declarations.
17287 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17289 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17290 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17291 config-cflags-avx2.
17292 * sysdeps/x86_64/configure.ac: Likewise.
17293 * sysdeps/i386/configure: Regenerated.
17294 * sysdeps/x86_64/configure: Likewise.
17295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17296 memset-avx2 only if config-cflags-avx2 is yes.
17297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17298 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17300 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17301 only if HAVE_AVX2_SUPPORT is defined.
17302 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17304 2014-07-14 Alan Modra <amodra@gmail.com>
17307 * elf/elf.h (DT_PPC64_NUM): Correct value.
17308 * NEWS: Add to fixed bug list.
17310 2014-07-13 Jim Meyering <meyering@fb.com>
17313 regex: don't deref NULL upon heap allocation failure
17314 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17315 failure in one more place.
17316 To trigger the segfault, configure grep -with-included-regex,
17317 build it, and run these commands:
17318 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17320 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17322 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17324 2014-07-11 Richard Henderson <rth@redhat.com>
17326 * sysdeps/aarch64/libm-test-ulps: Update.
17328 2014-07-10 Florian Weimer <fweimer@redhat.com>
17331 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17332 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17333 (__nptl_setxid): Initialize error member. Call
17334 __nptl_setxid_error.
17335 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17336 * nptl/descr.h (struct xid_command): Add error member.
17337 * nptl/tst-setuid3.c: New file.
17338 * nptl/Makefile (tests): Add it.
17340 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17342 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17344 (__lll_trylock): Use __lll_base_trylock.
17345 (__lll_cond_trylock): Likewise.
17347 2014-07-10 Roland McGrath <roland@hack.frob.com>
17349 * nptl/pthread_create.c (start_thread): Use atomic_or and
17350 lll_futex_wake directly rather than lll_robust_dead.
17351 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17352 (lll_robust_dead): Macro removed.
17353 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17354 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17355 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17356 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17358 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17360 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17361 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17362 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17363 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17366 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17369 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17370 Use atomic_compare_and_exchange_val_acq directly rather than
17371 lll_robust_trylock.
17372 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17373 (__lll_robust_trylock, lll_robust_trylock): Removed.
17374 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17375 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17376 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17378 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17379 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17380 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17381 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17384 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17387 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17389 2014-07-02 Florian Weimer <fweimer@redhat.com>
17391 * manual/locale.texi (Locale Names): New section documenting
17392 locale name syntax. Adjust menu and node chaining accordingly.
17393 (Choosing Locale): Reference Locale Names, Locale Categories.
17394 Mention setting LC_ALL=C. Reflect that name syntax is now
17396 (Locale Categories): New section title. Reference Locale Names.
17397 LC_ALL is an environment variable, but not a category.
17398 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17399 description, now in Locale Name. Reference that section. Locale
17400 name syntax is now documented.
17402 2014-07-02 Florian Weimer <fweimer@redhat.com>
17405 * locale/findlocale.c (name_present, valid_locale_name): New
17407 (_nl_find_locale): Use the loc_name variable to store name
17408 candidates. Call name_present and valid_locale_name to check and
17409 validate locale names. Return an error if the locale is invalid.
17411 2014-07-02 Florian Weimer <fweimer@redhat.com>
17413 * locale/setlocale.c (setlocale): Use strdup for allocating
17414 composite name copy.
17416 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17418 Sync up with gnulib.
17419 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17420 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17421 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17422 and _GL_ARG_NONNULL.
17423 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17424 [!_LIBC]: Include code for Windows and Cygwin.
17425 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17426 Include prototype for int strerror_r.
17427 [!_LIBC] (is_open): New function.
17428 (flush_stdout): New function.
17429 (print_errno_message): Use it.
17431 (error_at_line): Likewise.
17432 (error_tail) Add function attribute macros. Use
17435 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17437 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17439 * io/ftw.c: Include sys/param.h unconditionally.
17441 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17444 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17446 (freecache): New function to free CACHE on exit.
17448 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17451 2014-07-09 David S. Miller <davem@davemloft.net>
17453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17455 * sysdeps/sparc/nptl/internaltypes.h: Delete.
17456 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17457 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17458 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17459 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17460 * sysdeps/sparc/nptl/sem_init.c: Likewise.
17461 * sysdeps/sparc/nptl/sem_post.c: Likewise.
17462 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17463 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17464 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17465 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17466 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17467 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17469 2014-07-09 Andreas Schwab <schwab@suse.de>
17471 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17473 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17474 (do_test): Likewise.
17476 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17478 2014-07-09 Will Newton <will.newton@linaro.org>
17480 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17481 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17482 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17483 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17484 * sysdeps/hppa/start.S (_start): Likewise.
17486 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
17488 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17490 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17493 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17496 after checking that it is non-NULL.
17498 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17500 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17502 * sysdeps/powerpc/memmove.c: Remove file.
17503 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17504 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17505 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17506 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17507 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17508 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17509 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17510 string memmove instead of removed powerpc one.
17512 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17513 [weak_alias]: Fix compiler warning due trailing data.
17514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17515 [weak_alias]: Likewise.
17516 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17517 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17520 (__libc_ifunc_impl_list): Add memmove functions.
17522 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17524 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17526 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17528 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17530 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17532 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17534 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17536 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17538 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17540 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17542 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17544 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17546 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17548 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17550 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17552 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17554 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17556 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17559 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17561 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17562 to avoid alignment traps in non-cacheable memory.
17563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17567 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17568 file: multiarch power7 memmove.
17569 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17570 multiarch default memmove.
17571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17572 multiarch memove for powerpc32/power4.
17574 * string/bcopy.c: Use full path to include memmove.c.
17575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17577 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17578 bcopy for powerpc64.
17579 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17580 bcopy for powerpc64.
17581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17582 and memmove implementations.
17583 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17584 optimized multiarch memmove for POWER7/powerpc64.
17585 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17586 default multiarch memmove for powerpc64.
17587 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17588 multiarch for powerpc64.
17589 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17590 for POWER7/powerpc64.
17591 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17592 memmove for POWER7/powerpc64.
17594 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17597 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17598 __ELF_NATIVE_CLASS equal to 64.
17600 2014-07-07 Roland McGrath <roland@hack.frob.com>
17602 * sysdeps/nptl/lowlevellock.h: File removed.
17604 * NEWS: NPTL is no longer an add-on!
17605 * nptl/internaltypes.h: Moved ...
17606 * sysdeps/nptl/internaltypes.h: ... here.
17607 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
17608 * sysdeps/nptl/fork.c: Likewise.
17609 * sysdeps/nptl/gai_misc.h: Likewise.
17610 * sysdeps/nptl/librt-cancellation.c: Likewise.
17611 * sysdeps/nptl/jmp-unwind.c: Likewise.
17612 * sysdeps/nptl/setxid.h: Likewise.
17613 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
17614 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
17615 * sysdeps/unix/sysv/linux/arm/Implies: New file.
17616 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
17617 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
17618 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
17619 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
17620 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
17621 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
17622 * sysdeps/unix/sysv/linux/mips/Implies: New file.
17623 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
17624 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
17625 * sysdeps/unix/sysv/linux/sh/Implies: New file.
17626 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
17627 * sysdeps/unix/sysv/linux/tile/Implies: New file.
17628 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
17629 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
17630 * nptl/Makeconfig: Moved ...
17631 * sysdeps/nptl/Makeconfig: ... here.
17632 * nptl/configure: File removed.
17633 * nptl/ANNOUNCE: File removed.
17634 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
17635 * sysdeps/unix/sysv/linux/configure: Regenerated.
17637 * nptl/Makefile (routines): Add libc_pthread_init,
17638 libc_multiple_threads, register-atfork and unregister-atfork.
17639 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
17640 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
17641 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
17642 pthread-pi-defines.sym, structsem.sym.
17643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
17644 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
17645 [$(subdir) = nptl] (tests): Add tst-setgetname.
17646 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
17647 * sysdeps/unix/sysv/linux/sigaction.c: Just include
17648 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
17649 [!LIBC_SIGACTION]: Remove aliases.
17650 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17651 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17653 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
17654 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17655 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17659 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
17660 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
17661 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
17662 __libc_allocate_rtsig_private.
17663 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
17664 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
17665 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
17666 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
17667 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
17668 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
17669 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
17670 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
17671 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
17672 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
17673 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
17674 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
17675 * nptl/internaltypes.h: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
17677 * sysdeps/nptl/jmp-unwind.c: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
17679 * nptl/libc-lowlevellock.c: ... here.
17680 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
17681 * nptl/libc_multiple_threads.c: ... here.
17682 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
17683 * nptl/libc_pthread_init.c: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
17685 * nptl/lowlevelbarrier.sym: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
17687 * nptl/lowlevelcond.sym: ... here.
17688 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
17689 * nptl/lowlevellock.c: ... here.
17690 * nptl/lowlevellock.h: Moved ...
17691 * sysdeps/nptl/lowlevellock.h: ... here.
17692 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
17693 * nptl/lowlevelrobustlock.c: ... here.
17694 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
17695 * nptl/lowlevelrobustlock.sym: ... here.
17696 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
17697 * nptl/lowlevelrwlock.sym: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
17699 * nptl/pt-fork.c: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
17701 * nptl/pthread-pi-defines.sym: ... here.
17702 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
17703 * nptl/pthread_attr_getaffinity.c: ... here.
17704 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
17705 * nptl/pthread_attr_setaffinity.c: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
17707 * nptl/pthread_mutex_cond_lock.c: ... here.
17708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17710 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
17711 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
17712 * nptl/pthread_once.c: ... here, replacing old file.
17713 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
17714 * nptl/pthread_yield.c: ... here.
17715 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
17716 * nptl/register-atfork.c: ... here.
17717 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
17718 * nptl/sem_post.c: ... here.
17719 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
17720 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
17721 * nptl/sem_timedwait.c: ... here.
17722 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
17723 * nptl/sem_trywait.c: ... here.
17724 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
17725 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
17726 * nptl/sem_wait.c: ... here.
17727 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
17728 * nptl/structsem.sym: ... here.
17729 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
17730 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
17731 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
17732 * nptl/unregister-atfork.c: ... here.
17733 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
17734 * nptl/unwindbuf.sym: ... here.
17735 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
17736 * sysdeps/nptl/fork.c: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
17738 * sysdeps/nptl/fork.h: ... here.
17739 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
17740 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
17741 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
17742 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
17743 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
17744 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
17745 * sysdeps/unix/sysv/linux/getpid.c: ... here.
17746 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
17747 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
17749 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
17751 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
17753 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
17755 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
17756 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
17757 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
17758 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
17759 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
17760 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
17761 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
17762 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
17763 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
17764 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
17765 * sysdeps/unix/sysv/linux/raise.c: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
17767 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
17768 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
17769 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
17770 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
17771 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
17773 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
17775 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
17776 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
17777 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
17778 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
17779 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
17780 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
17782 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17784 * sysdeps/generic/memcopy.h: Add comment for
17785 MEMCPY_OK_FOR_FWD_MEMMOVE.
17787 2014-07-04 Will Newton <will.newton@linaro.org>
17789 * string/memchr.c: Merge from gnulib.
17790 [_LIBC]: Remove conditionals.
17791 (__ptr_t): Remove define.
17792 (LONG_MAX_32_BITS): Likewise.
17793 (LONG_MAX): Likewise.
17794 (MEMCHR): Use ANSI prototype and optimize algorithm.
17796 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
17798 2014-07-03 Roland McGrath <roland@hack.frob.com>
17800 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
17801 (lll_futex_timed_wait_bitset): Fix syscall argument count.
17803 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
17804 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
17805 in a bare environment with no <stdlib.h> installed.
17806 * sysdeps/nptl/configure: Regenerated.
17808 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
17810 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
17811 AC_EGREP_CPP for kernel header checks, so they only succeed if
17812 including <linux/version.h> actually works right.
17813 * sysdeps/unix/sysv/linux/configure: Regenerated.
17815 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
17816 value so it's not diagnosed as unused.
17818 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
17819 thing) with "ifeq ($(subdir),rt)".
17821 2014-07-03 Richard Henderson <rth@redhat.com>
17823 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
17824 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
17825 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
17827 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
17828 (math_force_eval): New.
17830 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
17831 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
17833 * sysdeps/alpha/fpu/s_round.c: Remove file.
17834 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
17836 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
17837 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
17838 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
17839 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
17840 (_dl_start, print_statistics): Likewise.
17841 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
17842 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
17844 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17845 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17846 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17847 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17849 (HP_SMALL_TIMING_AVAIL): Define.
17850 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17852 (HP_SMALL_TIMING_AVAIL): Define.
17853 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17854 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
17856 * sysdeps/aarch64/hp-timing.h: New file.
17858 * sysdeps/generic/hp-timing.h: Remove dead comment.
17859 * sysdeps/generic/hp-timing-common.h: New file.
17860 * sysdeps/alpha/hp-timing.h: Include it.
17861 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
17862 * sysdeps/i386/i686/hp-timing.h: Likewise.
17863 * sysdeps/ia64/hp-timing.h: Likewise.
17864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17865 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17867 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17868 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
17869 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
17870 (hp_timing_t): New.
17872 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
17873 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
17874 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
17875 * elf/rtld.c (_dl_start_final): Likewise.
17876 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
17877 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17878 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17879 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17880 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17882 (HP_TIMING_DIFF_INIT): Remove.
17883 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
17885 (HP_TIMING_DIFF_INIT): Remove.
17886 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
17887 * sysdeps/i386/i686/hp-timing.c: Remove file.
17888 * sysdeps/x86_64/hp-timing.c: Remove file.
17889 * sysdeps/ia64/hp-timing.c: Remove file.
17890 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
17891 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
17892 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
17893 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
17895 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
17896 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
17897 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
17898 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
17900 (HP_TIMING_ACCUM): Remove.
17901 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
17903 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
17905 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
17906 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
17907 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
17908 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
17909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
17910 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17911 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
17912 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
17914 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
17916 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
17918 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
17920 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17922 Sync up with gettext.
17923 * intl/loadmsgcat.c: Define O_BINARY if not defined.
17924 [_MSC_VER]: Include malloc.h
17925 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
17926 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
17927 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
17928 TEMP_FAILURE_RETRY. Cast return of alloca.
17929 [!_LIBC] Call gl_rwlock_init.
17930 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17932 2014-07-02 Roland McGrath <roland@hack.frob.com>
17934 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
17935 before checking its value.
17937 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17939 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
17941 * debug/memcpy_chk.c: Don't include pagecopy.h.
17942 * debug/mempcpy_chk.c: Likewise.
17943 * string/memcpy.c: Likewise.
17944 * string/memmove.c: Likewise.
17945 * sysdeps/powerpc/memmove.c: Likewise.
17946 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
17947 definition of PAGE_COPY_FWD_MAYBE here...
17948 * sysdeps/generic/pagecopy.h: ... from here.
17949 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
17951 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17952 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17954 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17958 (__libc_ifunc_impl_list): Likewise.
17959 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17960 multiarch strcat for PPC64.
17961 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17962 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17964 2014-07-02 Roland McGrath <roland@hack.frob.com>
17966 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17968 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17970 * intl/loadmsgcat.c: Remove declaration of
17971 get_sysdep_segment_value.
17972 (get_sysdep_segment_value): Use ISO C style.
17973 (_nl_load_domain): Use ISO C style. Get rid of redundant
17974 semicolon. Fix typo and formatting in comment.
17975 (_nl_unload_domain): Use ISO C style.
17977 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17979 2014-07-02 Will Newton <will.newton@linaro.org>
17981 * malloc/obstack.c: Merge from gnulib master.
17982 [HAVE_CONFIG_H]: Remove conditional code.
17983 [!_LIBC]: Include config.h.
17984 [!ELIDE_CODE]: Don't include inttypes.h, include
17985 stdint.h unconditionally.
17986 (print_and_abort): Mark as _Noreturn.
17987 (_obstack_allocated_p): Mark as __attribute_pure__.
17988 (obstack_free): Rename to __obstack_free.
17989 [!__attribute__]: Remove conditional code.
17990 * malloc/obstack.h: Merge from gnulib master.
17991 [__cplusplus]: Move conditional down.
17992 [!__attribute_pure__]: Define __attribute_pure__ here
17993 if it is not already defined.
17994 (_obstack_memory_used): Mark as __attribute_pure__.
17995 [!__obstack_free]: Define as obstack_free.
17996 [__GNUC__]: Remove check for ancient NeXT gcc.
17998 2014-07-02 Will Newton <will.newton@linaro.org>
17999 Paul Eggert <eggert@cs.ucla.edu>
18001 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18003 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18005 * resolv/gethnamaddr.c: Add comment warning that the file is
18008 2014-07-01 Carlos O'Donell <carlos@redhat.com>
18010 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18013 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18014 entry for aio_cancel and aio_cancel64.
18015 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18016 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18017 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18018 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18019 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18020 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18021 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18022 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18023 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18024 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18025 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18026 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18027 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18029 2014-07-01 Roland McGrath <roland@hack.frob.com>
18031 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18032 * nptl/pthread_mutex_lock.c: Likewise.
18033 * nptl/pthread_mutex_timedlock.c: Likewise.
18034 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18036 2014-07-01 Richard henderson <rth@redhat.com>
18038 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18039 (__isnan, __isnanl): Remove.
18040 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18042 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18044 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18046 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18048 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18050 * resolv/nss_dns/dns-host.c (getanswer_r)
18051 [MULTI_PTRS_ARE_ALIASES]: Remove code.
18053 2014-07-01 Joseph Myers <joseph@codesourcery.com>
18055 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18056 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18058 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18059 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18061 2014-07-01 Roland McGrath <roland@hack.frob.com>
18063 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18064 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18066 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18067 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18069 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18070 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18072 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18073 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18075 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18076 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18077 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18078 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18080 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18081 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18082 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18083 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18086 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18088 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18089 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18095 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18103 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18104 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18105 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18107 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18109 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18110 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18111 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18112 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18113 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18114 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18115 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18116 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18118 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18120 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18121 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18122 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18125 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18129 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18131 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18132 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18136 * sysdeps/arm/libm-test-ulps: Regenerated.
18138 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18139 Roland McGrath <roland@hack.frob.com>
18141 * test-skeleton.c (signal_handler): Kill the whole process group
18142 before killing the child individually.
18143 (main): Report any failure on `setpgid'.
18145 2014-06-30 Roland McGrath <roland@hack.frob.com>
18147 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18148 from _TLS_H to _ARM_NPTL_TLS_H.
18149 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18150 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18152 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18156 (__expm1l): Return argument unchanged when small but not
18159 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18160 include macro name.
18161 (_FP_UNPACK_RAW_1_P): Likewise.
18162 (_FP_PACK_RAW_1): Likewise.
18163 (_FP_PACK_RAW_1_P): Likewise.
18164 (_FP_MUL_MEAT_1_wide): Likewise.
18165 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18166 (_FP_MUL_MEAT_1_hard): Likewise.
18167 (_FP_DIV_MEAT_1_imm): Likewise.
18168 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18169 (_FP_DIV_MEAT_1_udiv): Likewise.
18170 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18171 (_FP_UNPACK_RAW_2): Likewise.
18172 (_FP_UNPACK_RAW_2_P): Likewise.
18173 (_FP_PACK_RAW_2): Likewise.
18174 (_FP_PACK_RAW_2_P): Likewise.
18175 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18176 (_FP_MUL_MEAT_2_wide): Likewise.
18177 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18178 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18179 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18180 (_FP_MUL_MEAT_2_gmp): Likewise.
18181 (_FP_DIV_MEAT_2_udiv): Likewise.
18182 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18183 (_FP_FRAC_SRL_4): Likewise.
18184 (_FP_FRAC_SRST_4): Likewise.
18185 (_FP_FRAC_SRS_4): Likewise.
18186 (_FP_UNPACK_RAW_4): Likewise.
18187 (_FP_UNPACK_RAW_4_P): Likewise.
18188 (_FP_PACK_RAW_4): Likewise.
18189 (_FP_PACK_RAW_4_P): Likewise.
18190 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18191 (_FP_MUL_MEAT_4_wide): Likewise.
18192 (_FP_MUL_MEAT_4_gmp): Likewise.
18193 (umul_ppppmnnn): Likewise.
18194 (_FP_DIV_MEAT_4_udiv): Likewise.
18195 (__FP_FRAC_ADD_4): Likewise.
18196 (__FP_FRAC_SUB_3): Likewise.
18197 (__FP_FRAC_SUB_4): Likewise.
18198 (__FP_FRAC_DEC_3): Likewise.
18199 (__FP_FRAC_DEC_4): Likewise.
18200 (__FP_FRAC_ADDI_4): Likewise.
18201 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18202 (_FP_FRAC_SRL_8): Likewise.
18203 (_FP_FRAC_SRS_8): Likewise.
18205 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18206 include macro name.
18207 (FP_UNPACK_RAW_EP): Likewise.
18208 (FP_PACK_RAW_E): Likewise.
18209 (FP_PACK_RAW_EP): Likewise.
18210 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18211 (_FP_ISSIGNAN): Likewise.
18212 (_FP_ADD_INTERNAL): Likewise.
18213 (_FP_FMA): Likewise.
18214 (_FP_CMP): Likewise.
18215 (_FP_SQRT): Likewise.
18216 (_FP_TO_INT): Likewise.
18217 (_FP_FROM_INT): Likewise.
18218 (FP_EXTEND): Likewise.
18219 (_FP_DIV_MEAT_N_loop): Likewise.
18221 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18223 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18226 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18229 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18230 result with correct sign in case of exponents that produce
18231 overflow except for X very close to 1.
18233 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18235 mktime: merge #if/#ifdef usage from glibc
18236 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18237 as that works with both Glibc's and Gnulib's style.
18238 See thread starting at Siddhesh Poyarekar's bug report at:
18239 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18241 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18244 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18245 * sysdeps/tile/tilegx/memmove.c: Remove file.
18247 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18249 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18250 abi-name definition.
18251 * scripts/soversions.awk: Do not handle or generate ABI lines.
18252 * shlib-versions: Remove ABI entries.
18253 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18254 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18256 2014-06-27 Roland McGrath <roland@hack.frob.com>
18258 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18259 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18260 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18263 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18266 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18273 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18274 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18275 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18279 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18282 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18284 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18286 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18301 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18303 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18306 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18307 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18308 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18311 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18314 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18315 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18316 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18319 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18322 Identical file removed.
18323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18325 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18326 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18327 Identical file removed.
18328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18332 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18334 Identical file removed.
18335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18338 Identical file removed.
18339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18340 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18342 Identical file removed.
18343 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18344 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18346 Identical file removed.
18347 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18349 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18351 Identical file removed.
18352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18356 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18357 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18358 Identical file removed.
18359 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18361 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18364 Identical file removed.
18365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18367 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18369 Identical file removed.
18370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18372 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18374 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18375 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18376 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18380 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18381 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18383 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18384 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18385 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18386 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18387 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18389 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18392 * nscd/nscd.c (monitor_child): Return exit status of child
18393 instead of return value from wait syscall.
18395 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18397 * configure.ac (libc_commonpagesize): Remove variable.
18398 (libc_relro_required): Likewise.
18399 (libc_cv_z_relro): Remove configure test.
18400 * configure: Regenerated.
18401 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18403 (libc_relro_required): Likewise.
18404 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18405 (libc_relro_required): Likewise.
18406 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18407 (libc_relro_required): Likewise.
18408 * sysdeps/arm/preconfigure: Regenerated.
18409 * sysdeps/ia64/preconfigure: Remove file.
18410 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18412 (libc_relro_required): Likewise.
18416 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18417 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18418 recompute overflowing results in original rounding mode.
18419 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18420 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18421 recompute overflowing results in original rounding mode.
18422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18423 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18424 recompute overflowing results in original rounding mode.
18425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18426 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18427 recompute overflowing results in original rounding mode.
18428 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18429 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18430 recompute overflowing results in original rounding mode.
18431 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18432 (libc_feholdsetround_ctx): New macro.
18433 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18434 * sysdeps/i386/fpu/libm-test-ulps: Update.
18435 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18437 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18439 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18440 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18441 corresponding .cpsetup call.
18443 2014-06-26 Roland McGrath <roland@hack.frob.com>
18445 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18446 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18447 * sysdeps/arm/Makefile [$(subdir) = csu]
18448 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18449 (static-only-routines): Add aeabi_read_tp here.
18450 (shared-only-routines): Add libc-aeabi_read_tp here.
18451 (CFLAGS-libc-start.c): Add -fexceptions here.
18452 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18453 (sysdep_routines, static-only-routines, shared-only-routines):
18454 Don't add to these here.
18455 (CFLAGS-libc-start.c): Likewise.
18457 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18458 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18459 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18460 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18461 * sysdeps/arm/Makefile [$(subdir) = rt]
18462 (librt-sysdep_routines, librt-shared-only-routines):
18463 Append rt-aeabi_unwind_cpp_pr1 here.
18464 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18465 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18466 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18467 (libpthread-sysdep_routines, libpthread-shared-only-routines):
18468 Append nptl-aeabi_unwind_cpp_pr1 here.
18469 (tests): Filter out tst-cleanupx4 here.
18470 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18471 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18472 Don't do those here.
18474 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18476 * scripts/list-sources.sh: Do not handle ports specially.
18478 2014-06-26 Roland McGrath <roland@hack.frob.com>
18480 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18481 * sysdeps/arm/feupdateenv.c: Likewise.
18483 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18485 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18487 * manual/texinfo.tex: Update to version 2014-05-05.10 with
18488 trailing whitespace removed.
18489 * scripts/config.guess: Update to version 2014-03-23.
18490 * scripts/config.sub: Update to version 2014-05-01
18491 * scripts/install-sh: Update to version 2013-12-25.23.
18492 * scripts/move-if-change: Update from gnulib.
18494 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18496 * debug/memmove_chk.c: Remove pagecopy.h include.
18498 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
18500 * time/mktime.c (leapyear): Remove inline keyword. The code is now
18501 identical to gnulib mktime.
18503 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18505 * configure.ac: Do not test for machine being rs6000. Do not test
18506 for powerpc*-*soft.
18507 * configure: Regenerated.
18510 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18512 * configure: Regenerated.
18513 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18514 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18515 Remove configure test.
18516 * sysdeps/arm/configure: Regenerated.
18517 * sysdeps/nptl/configure.ac: Do not check
18518 libc_cv_asm_cfi_directives.
18519 * sysdeps/nptl/configure: Regenerated.
18520 * sysdeps/x86_64/nptl/configure.ac: Remove file.
18521 * sysdeps/x86_64/nptl/configure: Remove generated file.
18522 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18524 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18526 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18528 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18529 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18530 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18533 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18534 instead of whether it is defined.
18535 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18536 * sysdeps/hppa/dl-machine.h: Likewise.
18537 * sysdeps/ia64/dl-machine.h: Likewise.
18538 * sysdeps/m68k/dl-machine.h: Likewise.
18539 * sysdeps/microblaze/dl-machine.h: Likewise.
18540 * sysdeps/mips/dl-machine.: Likewise.
18541 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18543 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18544 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18545 * sysdeps/sh/dl-machine.h: Likewise.
18546 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18547 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18548 * sysdeps/tile/dl-machine.h: Likewise.
18549 * sysdeps/x86_64/dl-machine.h: Likewise.
18551 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18553 (verify_persistent_db): Likewise.
18555 2014-06-26 Roland McGrath <roland@hack.frob.com>
18557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18558 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18560 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18563 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18566 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18568 Identical file removed.
18569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18570 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18572 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18574 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18576 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18578 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18581 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18583 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18585 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18588 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18590 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18592 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18594 Identical file removed.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18596 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18598 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18601 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
18603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
18604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
18605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
18606 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
18607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
18608 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
18609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
18610 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
18611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
18612 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
18613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18615 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
18618 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
18619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
18620 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
18621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18623 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
18625 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
18627 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
18629 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
18630 * sysdeps/unix/sysv/linux/s390/Versions
18631 (libpthread: GLIBC_2.19): New version set.
18632 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
18633 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
18634 (librt: GLIBC_2.3.3): New version set.
18635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
18636 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
18637 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
18638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
18639 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
18640 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
18641 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
18642 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
18643 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
18644 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
18645 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
18646 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
18647 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
18648 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
18649 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
18650 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
18651 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
18652 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
18653 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
18654 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
18655 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
18656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
18657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
18658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
18659 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
18660 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
18661 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
18662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
18663 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
18664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
18665 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
18666 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
18667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
18668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
18669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
18670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
18671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
18672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
18673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
18674 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
18675 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
18676 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
18677 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
18678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
18679 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
18681 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
18682 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
18683 (__libc_vfork): Define the function under this name.
18684 [!NOT_IN_libc] (__vfork): Make this an alias.
18685 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
18687 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
18688 (__libc_vfork): Define the function under this name.
18689 [!NOT_IN_libc] (__vfork): Make this an alias.
18690 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
18691 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
18692 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
18693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
18694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
18695 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
18698 code that was previously under [RESET_PID].
18699 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
18700 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
18701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
18703 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
18704 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
18705 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
18706 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
18707 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
18708 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
18709 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
18710 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
18711 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
18712 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
18713 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
18715 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
18716 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
18717 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
18718 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
18719 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
18720 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
18721 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
18722 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
18723 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
18724 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
18725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
18726 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
18727 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
18728 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
18729 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
18730 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
18731 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
18735 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
18736 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
18737 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
18738 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
18739 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
18740 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
18741 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
18742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
18743 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
18745 2014-06-25 Roland McGrath <roland@hack.frob.com>
18747 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
18748 that was previously under [RESET_PID].
18749 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
18751 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18753 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
18754 not undefine and redefine.
18755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
18756 [O_CLOEXEC]: Make code unconditional.
18757 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
18758 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
18759 <kernel-features.h>.
18760 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
18761 conditional variable definition.
18762 (shm_open) [O_CLOEXEC]: Make code unconditional.
18763 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
18766 * configure.ac (USE_REGPARMS): Don't define here.
18767 * configure: Regenerated.
18768 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
18769 * sysdeps/i386/configure: Regenerated.
18771 * nptl/createthread.c: Don't include kernel-features.h.
18772 * nptl/pthread_cancel.c: Likewise.
18773 * nptl/pthread_condattr_setclock.c: Likewise.
18774 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
18775 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
18776 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
18777 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
18778 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
18779 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
18780 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18781 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
18782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18783 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
18784 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
18785 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
18786 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
18787 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
18788 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
18789 * nscd/gai.c: Likewise.
18790 * nss/nss_db/db-open.c: Likewise.
18791 * sysdeps/generic/ldsodefs.h: Likewise.
18792 * sysdeps/sh/nptl/tls.h: Likewise.
18793 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18794 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
18795 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
18796 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
18797 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
18798 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18799 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
18800 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18802 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18803 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18804 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18805 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
18806 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
18807 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
18808 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
18809 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
18810 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
18811 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
18812 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
18813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
18814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
18815 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
18816 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
18818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
18819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
18820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18821 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18822 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
18823 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
18824 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
18825 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
18826 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18827 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18828 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18829 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18830 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
18831 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
18832 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18833 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18834 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
18835 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
18836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18837 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
18838 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
18839 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
18840 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
18841 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
18842 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
18843 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
18844 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
18845 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
18846 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18847 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
18848 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18849 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
18872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
18873 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18874 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
18875 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
18876 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
18877 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
18878 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
18879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
18880 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
18881 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
18882 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
18883 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
18884 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
18885 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
18886 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
18887 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
18888 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
18889 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18890 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
18891 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
18892 * sysdeps/unix/sysv/linux/system.c: Likewise.
18893 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
18894 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18897 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18898 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18899 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18901 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
18902 * configure: Regenerated.
18903 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
18905 * configure.ac (base_machine): Do not set specially for particular
18907 * configure: Regenerated.
18908 * sysdeps/powerpc/preconfigure: Move machine and base_machine
18909 settings from configure.ac.
18910 * sysdeps/i386/preconfigure: New file.
18911 * sysdeps/s390/preconfigure: Likewise.
18912 * sysdeps/sh/preconfigure: Likewise.
18913 * sysdeps/sparc/preconfigure: Likewise.
18915 2014-06-25 Roland McGrath <roland@hack.frob.com>
18917 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
18918 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
18919 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
18920 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
18921 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
18922 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
18923 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
18924 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
18925 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
18926 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
18927 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
18928 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
18929 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
18930 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
18932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
18933 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
18934 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
18935 * sysdeps/sparc/sparc64/Makefile: ... appended here.
18937 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
18938 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
18939 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
18940 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
18941 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
18942 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
18943 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
18944 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
18945 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
18946 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
18947 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
18948 * sysdeps/sparc/sparc32/sem_post.c: ... here.
18949 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
18950 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
18951 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
18952 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
18953 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
18954 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
18955 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18956 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18958 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18960 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18962 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18967 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18968 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18970 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18971 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18972 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18974 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18977 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18979 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18982 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18985 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18987 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18990 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18992 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18994 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18996 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19004 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19007 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19011 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19013 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19018 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19021 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19028 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19035 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19038 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19040 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19043 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19045 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19047 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19049 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19051 * timezone/checktab.awk: Update from tzcode 2014e.
19052 * timezone/private.h: Likewise.
19053 * timezone/tzfile.h: Likewise.
19054 * timezone/zdump.c: Likewise.
19055 * timezone/zic.c: Likewise.
19057 * sysdeps/unix/sysv/linux/kernel-features.h
19058 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19060 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19061 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19062 Remove conditional code.
19064 2014-06-25 Will Newton <will.newton@linaro.org>
19066 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19067 (_dl_arm_cap_flags): Add HWCAP2 values.
19068 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19069 (_DL_HWCAP_COUNT): Increase to 37.
19070 (_DL_HWCAP_LAST): New define.
19071 (_DL_HWCAP2_LAST): New define.
19072 (_dl_procinfo): Add support for printing
19074 (_dl_string_hwcap): Use _dl_hwcap_string.
19076 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19080 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19082 * README: Do not mention ports directory.
19084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19086 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19087 <kernel-features.h>.
19088 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19089 conditional variable definition.
19090 (__futimes): Update comment.
19091 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19092 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19095 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19096 arguments close to 0.
19097 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19099 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19101 * math/auto-libm-test-in: Add more tests of exp10.
19102 * math/auto-libm-test-out: Regenerated.
19103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19105 * sysdeps/unix/sysv/linux/kernel-features.h
19106 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19107 * sysdeps/unix/sysv/linux/readv.c: Do not include
19108 <kernel-features.h>.
19109 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19110 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19111 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19113 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19115 * sysdeps/unix/sysv/linux/writev.c: Do not include
19116 <kernel-features.h>.
19117 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19118 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19119 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19121 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19124 2014-06-25 Will Newton <will.newton@linaro.org>
19126 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19127 comment changes throughout the file. Remove checks
19128 for HAVE_*_H definitions that are not required.
19129 (__gen_tempname): Call abort if an unknown kind value is
19132 2014-06-25 Andreas Schwab <schwab@suse.de>
19135 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19136 scalbln, scalblnf, scalblnl in libc.
19138 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19141 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19142 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19143 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19145 2014-06-24 Roland McGrath <roland@hack.frob.com>
19147 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19148 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19149 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19150 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19152 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19153 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19155 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19156 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19157 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19158 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19159 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19160 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19161 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19162 * sysdeps/x86/bits/semaphore.h: ... here.
19163 * sysdeps/x86/nptl/elide.h: Moved ...
19164 * sysdeps/x86/elide.h: ... here.
19165 * sysdeps/x86_64/nptl/Implies: File removed.
19166 * sysdeps/i386/nptl/Implies: File removed.
19168 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19172 return the argument for normal arguments with exponent below -64.
19173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19175 * math/auto-libm-test-in: Add another test of expm1.
19176 * math/auto-libm-test-out: Regenerated.
19179 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19180 calling __erfcl for arguments at least 16.
19181 * math/auto-libm-test-in: Add more tests of erf.
19182 * math/auto-libm-test-out: Regenerated.
19184 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19185 individual architectures.
19186 * sysdeps/unix/sysv/linux/configure: Regenerated.
19187 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19188 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19189 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19190 (ldd_rewrite_script): Define variable.
19191 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19196 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19197 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19198 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19199 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19200 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19201 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19202 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19203 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19205 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19208 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19209 Rename member __data.d to __data.__elision_data.
19211 2014-06-24 Wilco <wdijkstr@arm.com>
19213 * NEWS: Add 16918 to fixed bug list.
19215 2014-06-24 Wilco <wdijkstr@arm.com>
19217 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19219 2014-06-24 Wilco <wdijkstr@arm.com>
19221 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19222 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19223 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19224 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19225 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19226 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19227 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19230 2014-06-24 Wilco <wdijkstr@arm.com>
19232 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19234 2014-06-24 Wilco <wdijkstr@arm.com>
19236 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19237 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19238 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19239 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19241 2014-06-24 Wilco <wdijkstr@arm.com>
19244 * sysdeps/arm/feupdateenv.c (feupdateenv):
19245 Rewrite to reduce FPSCR accesses and fix return value.
19247 2014-06-24 Wilco <wdijkstr@arm.com>
19249 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19250 Optimize to avoid unnecessary FPSCR writes.
19251 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19252 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19253 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19254 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19256 2014-06-24 Wilco <wdijkstr@arm.com>
19258 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19259 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19260 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19261 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19262 Call libc_fetestexcept_vfp.
19263 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19264 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19265 __SOFTFP__ ifdef so that they can be built for softfp.
19267 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19269 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19270 argument type signed char.
19272 * Makerules (check-abi): Dump diff of symlist if the test
19275 2014-06-23 Roland McGrath <roland@hack.frob.com>
19277 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19280 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19281 Remove unused variable ST.
19283 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19287 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19288 small arguments before calling __expm1.
19289 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19290 small arguments before calling __expm1f.
19291 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19292 small arguments before calling __expm1l.
19293 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19295 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19296 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19297 spurious underflow for some cosh tests.
19298 * math/auto-libm-test-out: Regenerated.
19299 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19303 (__ieee754_y1): Set errno if return value overflows.
19304 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19305 (__ieee754_y1f): Set errno if return value overflows.
19306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19307 (__ieee754_y1l): Set errno if return value overflows.
19308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19309 (__ieee754_y1l): Set errno if return value overflows.
19310 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19311 * math/auto-libm-test-out: Regenerated.
19313 * math/gen-auto-libm-tests.c: Document use of
19314 ignore-zero-inf-sign.
19315 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19316 (input_flags): Add ignore-zero-inf-sign.
19317 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19318 * math/gen-libm-test.pl (generate_testfile): Handle
19319 ignore-zero-inf-sign.
19320 * math/auto-libm-test-in: Mark some cpow tests with
19321 ignore-zero-inf-sign and some with xfail-rounding.
19322 * math/auto-libm-test-out: Regenerated.
19323 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19329 overflowing or underflowing operations take place with sign of
19331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19332 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19333 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19334 (__ieee754_pow): Recompute overflowing and underflowing results in
19335 original rounding mode.
19336 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19337 (__powl_helper): Allow negative argument X and scale negated value
19338 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19339 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19340 overflowing or underflowing operations take place with sign of
19342 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19344 * math/auto-libm-test-in: Add more tests of pow.
19345 * math/auto-libm-test-out: Regenerated.
19346 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19347 (pow_tonearest_test_data): Remove.
19348 (pow_test_tonearest): Likewise.
19349 (pow_towardzero_test_data): Likewise.
19350 (pow_test_towardzero): Likewise.
19351 (pow_downward_test_data): Likewise.
19352 (pow_test_downward): Likewise.
19353 (pow_upward_test_data): Likewise.
19354 (pow_test_upward): Likewise.
19355 (main): Don't call removed functions.
19356 * sysdeps/i386/fpu/libm-test-ulps: Update.
19357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19359 2014-06-23 Roland McGrath <roland@hack.frob.com>
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19535 2014-06-23 Will Newton <will.newton@linaro.org>
19536 Wilco <wdijkstr@arm.com>
19538 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19539 implementation. Include get-rounding-mode.h.
19540 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19541 [!libc_feholdsetround_noex_ctx]: Define
19542 libc_feholdsetround_noex_ctx.
19543 [!libc_feholdsetround_noexf_ctx]: Define
19544 libc_feholdsetround_noexf_ctx.
19545 [!libc_feholdsetround_noexl_ctx]: Define
19546 libc_feholdsetround_noexl_ctx.
19547 (libc_feholdsetround_ctx): New function.
19548 (libc_feresetround_ctx): New function.
19549 (libc_feholdsetround_noex_ctx): New function.
19550 (libc_feresetround_noex_ctx): New function.
19552 2014-06-23 Roland McGrath <roland@hack.frob.com>
19554 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19555 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19556 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19557 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19558 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19559 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19561 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19562 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19563 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19564 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19565 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19566 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19567 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19568 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19573 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19575 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19576 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19577 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19578 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19579 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19581 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19583 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19584 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19585 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19586 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19587 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19590 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19593 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19594 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19595 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19598 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
19600 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
19601 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
19602 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
19603 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
19604 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
19605 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
19606 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
19607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
19609 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
19611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
19612 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
19613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
19614 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
19615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
19616 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
19617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
19618 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
19619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
19620 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
19621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
19622 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
19623 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
19625 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
19626 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
19627 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
19628 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
19629 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
19630 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
19632 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
19633 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
19634 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
19635 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
19636 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
19638 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
19639 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
19640 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
19641 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
19642 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
19643 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
19644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
19645 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
19646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
19647 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
19648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
19649 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
19650 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
19651 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
19652 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
19653 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19654 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
19655 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
19656 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
19657 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
19658 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
19659 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
19660 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
19661 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
19662 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
19663 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
19664 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
19665 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
19667 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
19670 (FALLOC_FL_COLLAPSE_RANGE): New macro.
19671 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
19672 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
19673 (IPV6_PMTUDISC_INTERFACE): Likewise.
19674 (IPV6_PMTUDISC_OMIT): Likewise.
19676 2014-06-23 Andreas Schwab <schwab@suse.de>
19678 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
19679 Remove unused errout label.
19681 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
19684 macro: hardware supports Vector Crypto instructions.
19686 2014-06-23 Will Newton <will.newton@linaro.org>
19688 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
19689 rather than __builtin_expect.
19691 * elf/dl-lookup.c (undefined_msg): Remove variable.
19692 (_dl_lookup_symbol_x): Replace undefined_msg with string
19695 * elf/dl-lookup.c (do_lookup_unique): New function.
19696 (do_lookup_x): Move STB_GNU_UNIQUE handling code
19697 to a separate function.
19699 2014-06-23 Andreas Schwab <schwab@suse.de>
19702 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
19703 before reading the next line.
19705 2014-06-23 Will Newton <will.newton@linaro.org>
19707 * test-skeleton.c (signal_handler): Use printf and %m
19708 rather than perror. Use printf rather than fprintf to
19709 stderr. Use puts rather than fputs to stderr.
19712 2014-06-22 Ludovic Courtès <ludo@gnu.org>
19714 * nscd/nscd.c (thread_info_t): Remove typedef.
19715 (thread_info): Remove variable.
19717 2014-06-21 Allan McRae <allan@archlinux.org>
19719 * NEWS: Mention CVE-2014-4043.
19721 2014-06-20 Roland McGrath <roland@hack.frob.com>
19723 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
19724 * nptl/smp.h: ... here.
19726 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
19728 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
19729 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19730 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
19731 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
19733 * nptl/allocatestack.c: Include <stack-aliasing.h>.
19734 * nptl/stack-aliasing.h: New file.
19735 * sysdeps/i386/i686/stack-aliasing.h: New file.
19736 * sysdeps/i386/i686/nptl/Makefile: File removed.
19737 * sysdeps/x86_64/stack-aliasing.h: New file.
19738 * sysdeps/x86_64/nptl/Makefile
19739 (CFLAGS-pthread_create.c): Variable removed.
19741 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19742 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
19744 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
19745 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
19748 2014-06-21 Joseph Myers <joseph@codesourcery.com>
19750 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19751 (__ASSUME_SIGFRAME_V2): Remove macro.
19752 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
19753 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
19754 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
19755 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
19756 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19757 Declare as function. Remove conditional macro definitions.
19758 (__default_rt_sa_restorer): Likewise.
19759 (__default_sa_restorer_v1): Remove declaration.
19760 (__default_sa_restorer_v2): Likewise.
19761 (__default_rt_sa_restorer_v1): Likewise.
19762 (__default_rt_sa_restorer_v2): Likewise.
19763 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
19764 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
19765 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19767 2014-06-20 Roland McGrath <roland@hack.frob.com>
19769 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
19770 (libpthread-routines): Add sysdep.
19771 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
19772 * sysdeps/unix/sysv/linux/sparc/Versions
19773 (libpthread: GLIBC_2.3.3): New version set.
19774 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
19775 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
19776 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
19777 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
19778 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
19779 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
19781 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
19782 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
19783 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
19784 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19785 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
19786 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
19787 * sysdeps/sparc/nptl/sem_init.c: ... here.
19788 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
19789 * sysdeps/sparc/nptl/sem_post.c: ... here.
19790 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
19791 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
19792 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
19793 * sysdeps/sparc/nptl/sem_wait.c: ... here.
19794 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
19795 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
19796 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
19797 (libpthread-routines): Add cpu_relax.
19798 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
19800 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
19801 (librt: GLIBC_2.3.3): New version set.
19802 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
19803 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
19804 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
19805 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
19806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
19807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
19808 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
19809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
19811 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
19812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
19813 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
19814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
19815 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
19816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
19817 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
19818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
19819 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
19820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
19822 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
19824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
19826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
19828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
19830 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
19832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
19834 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
19836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
19838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
19840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
19842 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
19844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
19845 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
19846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
19847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
19848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
19849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
19850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
19851 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
19852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
19853 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
19854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19856 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
19857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
19858 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
19859 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
19860 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
19862 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19864 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
19865 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
19866 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19867 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
19868 * nscd/nscd.c: Likewise.
19869 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
19870 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
19871 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
19872 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
19874 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
19875 <kernel-features.h>.
19876 (init_mq_netlink): Remove conditional have_sock_cloexec
19877 definitions. Remove code conditional on have_sock_cloexec < 0.
19878 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
19879 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19880 * sysdeps/unix/sysv/linux/opensock.c: Do not include
19881 <kernel-features.h>.
19882 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
19883 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
19885 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19888 Add tests for memset_chk and memset.
19890 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
19893 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19896 * elf/tst-dl-iter-static.c: New file.
19897 * elf/Makefile (tests-static): Add tst-dl-iter-static.
19899 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
19902 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19904 * sysdeps/unix/sysv/linux/kernel-features.h
19905 (__ASSUME_F_GETOWN_EX): Remove macro.
19906 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
19907 <kernel-features.h>.
19908 (miss_F_GETOWN_EX): Remove variable or macro.
19909 (do_fcntl): Do not check miss_F_GETOWN_EX.
19910 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
19912 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
19914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
19915 [!__ASSUME_AT_RANDOM]: Remove conditional code.
19916 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
19918 * sysdeps/unix/sysv/linux/kernel-features.h
19919 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
19920 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
19921 [ADJ_OFFSET_SS_READ]: Make code unconditional.
19922 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
19924 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
19927 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
19928 Fix calculation of the symbol's value.
19929 * sysdeps/arm/tst-armtlsdescloc.c: New file.
19930 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
19931 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
19932 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
19933 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19934 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
19935 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
19936 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
19937 (modules-names): Add `tst-armtlsdescmod',
19938 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
19939 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
19940 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19941 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
19942 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
19943 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
19944 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
19945 ($(objpfx)tst-armtlsdescloc): New dependency.
19946 ($(objpfx)tst-armtlsdescextnow): Likewise.
19947 ($(objpfx)tst-armtlsdescextlazy): Likewise.
19948 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
19949 TLS scheme support.
19950 * sysdeps/arm/configure: Regenerate.
19952 2014-06-20 Joseph Myers <joseph@codesourcery.com>
19954 * include/fcntl.h (__atfct_seterrno): Remove prototype.
19955 (__atfct_seterrno_2): Likewise.
19956 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19957 <kernel-features.h>.
19958 (__ASSUME_ATFCTS): Do not undefine and redefine.
19959 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19960 (__have_atfcts): Remove conditional definition.
19961 (__fxstatat([__NR_fstatat64]: Make code unconditional.
19962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19963 unreachable if [__ASSUME_ATFCTS].
19964 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19965 not undefine and redefine.
19966 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19967 <kernel-features.h>.
19968 (faccessat) [__NR_faccessat]: Make code unconditional.
19969 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19970 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19971 <kernel-features.h>.
19972 (fchmodat) [__NR_fchmodat]: Make code unconditional.
19973 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19974 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19975 <kernel-features.h>.
19976 (fchownat) [__NR_fchownat]: Make code unconditional.
19977 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19978 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19979 <kernel-features.h>.
19980 (futimesat) [__NR_futimesat]: Make code unconditional.
19981 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19982 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19983 <kernel-features.h>.
19984 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19985 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19986 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19987 <kernel-features.h>.
19988 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19989 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19990 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19991 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19992 <kernel-features.h>.
19993 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19994 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19995 * sysdeps/unix/sysv/linux/linkat.c: Do not include
19996 <kernel-features.h>.
19997 (linkat) [__NR_linkat]: Make code unconditional.
19998 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19999 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20000 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20001 <kernel-features.h>.
20002 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20003 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20004 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20005 <kernel-features.h>.
20006 (mkdirat) [__NR_mkdirat]: Make code unconditional.
20007 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20008 * sysdeps/unix/sysv/linux/openat.c: Do not include
20009 <kernel-features.h>.
20010 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20011 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20012 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20013 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20015 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20016 <kernel-features.h>.
20017 (readlinkat) [__NR_readlinkat]: Make code unconditional.
20018 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
20019 result of INLINE_SYSCALL directly, not via int variable.
20020 * sysdeps/unix/sysv/linux/renameat.c: Do not include
20021 <kernel-features.h>.
20022 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20023 (renameat) [__NR_renameat]: Make code unconditional.
20024 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20025 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20026 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20027 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20028 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20029 (__ASSUME_ATFCTS): Do not undefine and redefine.
20030 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20031 <kernel-features.h>.
20032 (symlinkat) [__NR_symlinkat]: Make code unconditional.
20033 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20035 <kernel-features.h>.
20036 (unlinkat) [__NR_unlinkat]: Make code unconditional.
20037 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20039 (__ASSUME_ATFCTS): Do not undefine and redefine.
20040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20041 <kernel-features.h>.
20042 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20043 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20044 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20045 <kernel-features.h>.
20046 (__xmknodat) [__NR_mknodat]: Make code unconditional.
20047 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20049 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20051 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20053 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
20056 * posix/regcomp.c (parse_reg_exp): Deallocate partially
20057 constructed tree before returning error.
20058 * posix/bug-regexp36.c: Expand test case.
20060 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20063 * math/libm-test.inc (scalbln_test_date):
20064 Add errno expectations.
20065 * math/w_scalblnf.c: New File.
20066 Add wrapper which checks for setting errno to ERANGE.
20067 Add weak_alias for corresponding scalbln function.
20068 * math/w_scalbln.c: Likewise.
20069 * math/w_scalblnl.c: Likewise.
20070 * math/Makefile (libm-calls): Add w_scalbln.
20071 * sysdeps/ieee754/flt-32/s_scalblnf.c:
20072 Remove weak_alias for corresponding scalbln function.
20073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20077 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20078 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20079 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20080 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20081 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20082 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20083 Remove long_double_symbol for scalblnl function in libm, libc.
20084 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20085 Add wrapper which checks for setting errno to ERANGE.
20086 Add long_double_symbol for scalblnl function in libm, libc.
20087 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20088 Remove long_double_symbol for scalblnl in libm.
20089 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20090 Add wrapper which checks for setting errno to ERANGE.
20091 Add long_double_symbol for scalblnl function in libm.
20092 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20093 Do not use wrapper because of own implementation.
20095 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20097 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20098 3 bytes for __pad1 for x32.
20099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20101 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20102 H.J. Lu <hongjiu.lu@intel.com>
20104 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20105 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20106 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20107 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20108 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20110 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20113 * posix/regcomp.c (parse_expression): Deallocate partially
20114 constructed tree before returning error.
20115 * posix/Makefile.c (tests): Add bug-regex36.
20116 (generated): Add bug-regex36.mtrace.
20117 (tests-special): Add $(objpfx)bug-regex36-mem.out
20118 (bug-regex36-ENV): New variable.
20119 ($(objpfx)bug-regex36-mem.out): New rule.
20120 * posix/bug-regex36.c: New file.
20122 2014-06-19 Will Newton <will.newton@linaro.org>
20124 * malloc/malloc.c (systrim): If extra is zero then return
20127 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20129 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20131 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20133 * sysdeps/aarch64/strchr.S: New file.
20135 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20138 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20139 from arguments -2 or below.
20140 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20141 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20143 2014-06-18 Andreas Schwab <schwab@suse.de>
20146 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20147 of a bracket expr not to run off the end of the string.
20148 * posix/Makefile (tests): Add tst-fnmatch3.
20149 * posix/tst-fnmatch3.c: New file.
20151 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20153 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20154 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20155 [$(cross-compiling) = no]: Likewise.
20156 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20157 [$(cross-compiling) = no]: Likewise.
20159 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20163 double, adjusted for any remainder from the high double.
20164 * math/libm-test.inc (nearbyint): Add tests.
20167 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20169 * nptl/sysdeps/powerpc/Makefile: Moved ...
20170 * sysdeps/powerpc/nptl/Makefile: ... here.
20171 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20172 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20173 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20174 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20175 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20176 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20177 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20178 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20179 * nptl/sysdeps/powerpc/tls.h: Moved ...
20180 * sysdeps/powerpc/nptl/tls.h: ... here.
20182 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20185 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20186 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20187 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20188 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20189 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20190 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20191 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20192 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20193 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20195 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20197 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20199 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20201 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20204 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20207 2014-06-16 Florian Weimer <fweimer@redhat.com>
20210 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20211 non-executed part of the test.
20213 2014-06-16 Andreas Schwab <schwab@suse.de>
20215 * string/bits/string2.h (strdup, strndup): Update feature guard.
20217 2014-06-14 David S. Miller <davem@davemloft.net>
20219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20221 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20223 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20224 that was previously under [RESET_PID].
20225 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20227 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20228 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20229 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20230 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20231 (__libc_vfork): New strong alias.
20232 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20234 2014-06-14 Andi Kleen <ak@linux.intel.com>
20236 * sysdeps/generic/elide.h: New file.
20238 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20240 * Makefile (installed-headers): Adjust path of pthread.h header.
20242 2014-06-13 Roland McGrath <roland@hack.frob.com>
20244 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20245 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20246 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20247 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20249 * nptl/sysdeps/s390/Makefile: Moved ...
20250 * sysdeps/s390/nptl/Makefile: ... here.
20251 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20252 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20253 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20254 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20255 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20256 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20257 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20258 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20259 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20260 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20261 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20262 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20263 * nptl/sysdeps/s390/tls.h: Moved ...
20264 * sysdeps/s390/nptl/tls.h: ... here.
20266 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20267 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20269 2014-06-13 David S. Miller <davem@davemloft.net>
20271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20274 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20278 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20279 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20280 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20281 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20282 Remove RESET_PID cpp guards.
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20284 Remove RESET_PID cpp guards.
20285 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20287 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20289 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20292 2014-06-13 Andi Kleen <ak@linux.intel.com>
20294 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20303 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20309 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20313 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20315 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20316 (pthread_rwlock_rdlock): Add elision.
20317 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20318 (pthread_rwlock_wrlock): Add elision.
20319 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20320 (pthread_rwlock_trywrlock): Add elision.
20321 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20322 (pthread_rwlock_tryrdlock): Add elision.
20323 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20324 (pthread_rwlock_tryrdlock): Add elision unlock.
20325 * nptl/sysdeps/pthread/pthread.h:
20326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20327 (PTHREAD_RWLOCK_INITIALIZER,
20328 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20329 Handle new elision field.
20330 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20331 * sysdeps/arm/nptl/bits/pthreadtypes.h
20332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20333 * sysdeps/sh/nptl/bits/pthreadtypes.h
20334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20335 * sysdeps/tile/nptl/bits/pthreadtypes.h
20336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20337 * sysdeps/a/nptl/bits/pthreadtypes.h
20338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20339 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20341 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20343 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20345 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20347 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20349 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20351 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20353 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20355 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20356 (elision_init): Set try_xbegin to zero when no RTM.
20357 * sysdeps/x86/nptl/bits/pthreadtypes.h
20358 (pthread_rwlock_t): Change __pad1 to __rwelision.
20359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20361 2014-06-13 Andi Kleen <ak@linux.intel.com>
20363 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20364 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20365 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20366 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20368 2014-06-13 Meador Inge <meadori@codesourcery.com>
20371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20372 that the cached result has been set before returning it.
20374 2014-06-12 Roland McGrath <roland@hack.frob.com>
20376 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20377 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20378 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20379 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20380 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20381 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20383 * nptl/sysdeps/sparc/Makefile: Moved ...
20384 * sysdeps/sparc/nptl/Makefile: ... here.
20385 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20386 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20387 * nptl/sysdeps/sparc/tls.h: Moved ...
20388 * sysdeps/sparc/nptl/tls.h: ... here.
20389 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20390 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20391 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20392 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20393 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20394 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20395 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20396 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20397 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20398 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20399 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20400 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20401 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20402 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20403 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20404 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20405 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20408 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20409 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20411 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20412 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20414 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20415 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20418 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20420 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20421 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20423 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20424 (struct list_links): Type removed.
20425 (struct thread_node, struct timer_node): Replace struct list_links
20426 with struct list_head.
20427 (list_unlink_ip): Likewise.
20428 * sysdeps/pthread/timer_routines.c
20429 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20430 (list_append, list_insbefore): Likewise.
20431 (list_init): Function removed.
20432 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20433 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20434 * sysdeps/pthread/Makefile: ... here, new file.
20436 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20437 * sysdeps/nptl/Implies: ... here.
20438 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20439 * nptl/sysdeps/pthread/list.h: Moved ...
20440 * include/list.h: ... here.
20441 * nptl/sysdeps/pthread/createthread.c: Moved ...
20442 * nptl/createthread.c: ... here.
20443 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20444 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20445 * nptl/pt-longjmp.c: ... here.
20446 * nptl/sysdeps/pthread/Makefile: Moved ...
20447 * sysdeps/nptl/Makefile: ... here.
20448 * nptl/sysdeps/pthread/Subdirs: Moved ...
20449 * sysdeps/nptl/Subdirs: ... here.
20450 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20451 * sysdeps/nptl/aio_misc.h: ... here.
20452 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20453 * sysdeps/nptl/bits/libc-lock.h: ... here.
20454 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20455 * sysdeps/nptl/bits/libc-lockP.h: ... here.
20456 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20457 * sysdeps/nptl/bits/stdio-lock.h: ... here.
20458 * nptl/sysdeps/pthread/configure: Moved ...
20459 * sysdeps/nptl/configure: ... here.
20460 * nptl/sysdeps/pthread/configure.ac: Moved ...
20461 * sysdeps/nptl/configure.ac: ... here.
20462 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20463 * sysdeps/nptl/gai_misc.h: ... here.
20464 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20465 * sysdeps/nptl/librt-cancellation.c: ... here.
20466 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20467 * sysdeps/nptl/malloc-machine.h: ... here.
20468 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20469 * sysdeps/nptl/pthread-functions.h: ... here.
20470 * nptl/sysdeps/pthread/pthread.h: Moved ...
20471 * sysdeps/nptl/pthread.h: ... here.
20472 * nptl/sysdeps/pthread/setxid.h: Moved ...
20473 * sysdeps/nptl/setxid.h: ... here.
20474 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20475 * sysdeps/nptl/sigfillset.c: ... here.
20476 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20477 * sysdeps/nptl/tcb-offsets.h: ... here.
20478 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20479 * sysdeps/nptl/tst-mqueue8x.c: ... here.
20480 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20481 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20482 * nptl/sysdeps/pthread/allocalim.h: Moved ...
20483 * sysdeps/pthread/allocalim.h: ... here.
20484 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20485 * sysdeps/pthread/bits/sigthread.h: ... here.
20486 * nptl/sysdeps/pthread/flockfile.c: Moved ...
20487 * sysdeps/pthread/flockfile.c: ... here.
20488 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20489 * sysdeps/pthread/ftrylockfile.c: ... here.
20490 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20491 * sysdeps/pthread/funlockfile.c: ... here.
20492 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20493 * sysdeps/pthread/posix-timer.h: ... here.
20494 * nptl/sysdeps/pthread/timer_create.c: Moved ...
20495 * sysdeps/pthread/timer_create.c: ... here.
20496 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20497 * sysdeps/pthread/timer_delete.c: ... here.
20498 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20499 * sysdeps/pthread/timer_getoverr.c: ... here.
20500 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20501 * sysdeps/pthread/timer_gettime.c: ... here.
20502 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20503 * sysdeps/pthread/timer_routines.c: ... here.
20504 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20505 * sysdeps/pthread/timer_settime.c: ... here.
20506 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20507 * sysdeps/pthread/tst-timer.c: ... here.
20508 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20509 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20511 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20512 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20514 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20515 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20516 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20517 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20518 Update #include target.
20519 * nptl/sysdeps/i386/i686/Makefile: Moved ...
20520 * sysdeps/i386/i686/nptl/Makefile: ... here.
20521 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20522 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20523 Update #include target.
20524 * nptl/sysdeps/i386/i686/tls.h: Moved ...
20525 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
20526 * nptl/sysdeps/i386/Makefile: Moved ...
20527 * sysdeps/i386/nptl/Makefile: ... here.
20528 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20529 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20530 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20531 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20532 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20533 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20534 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20535 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20536 * sysdeps/i386/nptl/pthreaddef.h: ... here.
20537 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20538 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20539 * nptl/sysdeps/i386/tls.h: Moved ...
20540 * sysdeps/i386/nptl/tls.h: ... here.
20542 * sysdeps/sh/Makefile [$(subdir) = csu]
20543 (gen-as-const-headers): Add tcb-offsets.sym.
20544 * nptl/sysdeps/sh/Makefile: File removed.
20545 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20546 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20547 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20548 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20549 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20550 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20551 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20552 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20553 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20554 * sysdeps/sh/nptl/pthreaddef.h: ... here.
20555 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20556 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20557 * nptl/sysdeps/sh/tls.h: Moved ...
20558 * sysdeps/sh/nptl/tls.h: ... here.
20559 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20560 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20561 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20562 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20563 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20564 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20565 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20566 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20567 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20568 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20570 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20572 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20574 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20576 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20578 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20579 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20580 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20581 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20585 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20586 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20588 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20589 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20590 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20592 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20593 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20594 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20595 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20596 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20597 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20598 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20599 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
20600 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
20601 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
20602 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
20603 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
20604 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
20605 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
20606 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
20608 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20610 * posix/spawn_faction_addopen.c: Include string.h.
20612 2014-06-11 Roland McGrath <roland@hack.frob.com>
20614 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
20615 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
20616 * nptl/sysdeps/x86_64/Makefile: Moved ...
20617 * sysdeps/x86_64/nptl/Makefile: ... here.
20618 * nptl/sysdeps/x86_64/configure: Moved ...
20619 * sysdeps/x86_64/nptl/configure: ... here.
20620 * nptl/sysdeps/x86_64/configure.ac: Moved ...
20621 * sysdeps/x86_64/nptl/configure.ac: ... here.
20622 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
20623 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
20624 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
20625 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
20626 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
20627 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
20628 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
20629 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
20630 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
20631 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
20632 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
20633 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
20634 * nptl/sysdeps/x86_64/tls.h: Moved ...
20635 * sysdeps/x86_64/nptl/tls.h: ... here.
20636 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
20637 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
20638 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
20639 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
20641 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
20643 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20647 2014-06-11 Joseph Myers <joseph@codesourcery.com>
20649 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
20651 [POSIX] (off_t): Likewise.
20652 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
20653 [POSIX] (S_ISBLK): Require macro.
20654 [POSIX] (S_ISCHR): Likewise.
20655 [POSIX] (S_ISDIR): Likewise.
20656 [POSIX] (S_ISFIFO): Likewise.
20657 [POSIX] (S_ISREG): Likewise.
20658 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
20660 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
20662 [POSIX] (time_t): Likewise.
20663 [POSIX] (timer_t): Likewise.
20665 2014-06-11 Florian Weimer <fweimer@redhat.com>
20668 * posix/spawn_int.h (struct __spawn_action): Make the path string
20669 non-const to support deallocation.
20670 * posix/spawn_faction_addopen.c
20671 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
20672 * posix/spawn_faction_destroy.c
20673 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
20674 path in all spawn_do_open actions.
20675 * posix/tst-spawn.c (do_test): Exercise the copy operation in
20676 posix_spawn_file_actions_addopen.
20678 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
20680 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
20681 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
20682 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
20683 conditional code always true.
20684 (__libc_vfork): New alias.
20686 2014-06-11 Roland McGrath <roland@hack.frob.com>
20688 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20689 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
20691 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
20693 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20694 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
20696 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20697 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
20699 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20700 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
20702 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20704 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
20705 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
20706 multiarch strcmp for PPC64.
20707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
20709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
20710 multiarch optimizations.
20711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20712 (__libc_ifunc_impl_list): Likewise.
20714 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20716 * benchtests/scripts/validate_benchout.py: New script.
20717 * benchtests/Makefile (bench-func): Call it.
20718 * benchtests/scripts/benchout.schema.json: New file.
20720 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
20722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
20723 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
20724 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
20725 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
20726 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
20727 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20728 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
20729 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
20730 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
20731 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
20732 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
20733 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
20734 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
20735 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
20736 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
20737 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
20738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
20740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
20742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
20744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
20745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
20747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
20749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
20751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
20753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
20755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
20756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
20758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
20760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
20762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
20764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
20766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
20767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
20769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
20771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
20773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
20775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
20777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
20779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
20781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
20782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
20784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
20786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
20788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
20790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
20792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
20794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
20796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
20797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
20799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
20801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
20803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
20805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
20807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
20808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
20810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
20812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
20814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
20815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
20817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
20818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
20820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
20822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
20824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
20826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
20828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
20830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
20832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
20833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
20835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
20837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
20839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
20841 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
20842 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
20843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
20844 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
20845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
20847 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
20850 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
20851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
20852 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
20853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
20854 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
20855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
20856 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
20857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
20858 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
20859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
20860 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
20861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
20863 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
20864 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
20866 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
20867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
20868 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
20869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
20871 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
20872 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
20873 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
20874 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
20875 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
20876 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
20877 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
20879 2014-06-10 Wilco <wdijkstr@arm.com>
20881 * math/test-fenv-return.c: New file.
20882 * math/Makefile: Add new test test-fenv-return.
20884 2014-06-10 Joseph Myers <joseph@codesourcery.com>
20887 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
20888 when x - 1 is zero.
20889 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
20890 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20891 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
20892 0.0L for an argument of 1.0L.
20893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20895 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
20896 value when x - 1 is zero.
20897 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
20898 * sysdeps/i386/fpu/libm-test-ulps: Update.
20899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20901 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
20904 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
20906 2014-06-09 Roland McGrath <roland@hack.frob.com>
20908 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
20909 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
20911 2014-06-09 Roland McGrath <roland@hack.frob.com>
20913 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20914 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
20916 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20917 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
20919 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20920 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
20922 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20923 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
20925 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
20926 if not already defined.
20927 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
20928 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
20929 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
20930 (TLS_INIT_TP): Use it.
20931 (TLS_DEFINE_INIT_TP): New macro.
20932 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
20934 2014-06-09 Joseph Myers <joseph@codesourcery.com>
20936 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
20938 [POSIX] (IXANY): Likewise.
20939 [POSIX] (OLCUC): Likewise.
20940 [POSIX || POSIX2008] (CBAUD): Do not allow.
20941 [POSIX || POSIX2008] (DEFECHO): Likewise.
20942 [POSIX || POSIX2008] (ECHOCTL): Likewise.
20943 [POSIX || POSIX2008] (ECHOKE): Likewise.
20944 [POSIX || POSIX2008] (ECHOPRT): Likewise.
20945 [POSIX || POSIX2008] (EXTA): Likewise.
20946 [POSIX || POSIX2008] (EXTB): Likewise.
20947 [POSIX || POSIX2008] (FLUSHO): Likewise.
20948 [POSIX || POSIX2008] (LOBLK): Likewise.
20949 [POSIX || POSIX2008] (PENDIN): Likewise.
20950 [POSIX || POSIX2008] (SWTCH): Likewise.
20951 [POSIX || POSIX2008] (VDISCARD): Likewise.
20952 [POSIX || POSIX2008] (VDSUSP): Likewise.
20953 [POSIX || POSIX2008] (VLNEXT): Likewise.
20954 [POSIX || POSIX2008] (VREPRINT): Likewise.
20955 [POSIX || POSIX2008] (VSTATUS): Likewise.
20956 [POSIX || POSIX2008] (VWERASE): Likewise.
20957 (B*): Change to B[0123456789]*.
20958 * conform/data/time.h-data [POSIX || UNIX98]
20959 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20960 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20961 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20962 [POSIX] (tm_*): Do not allow.
20964 2014-06-07 Joseph Myers <joseph@codesourcery.com>
20966 * Makefile (install): Don't set LANGUAGE.
20967 * Makefile.in (install): Likewise.
20968 * assert/Makefile (test-assert-ENV): Remove variable.
20969 (test-assert-perr-ENV): Likewise.
20970 * elf/Makefile (neededtest4-ENV): Likewise.
20971 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20972 [$(cross-compiling) = no]: Don't set LANGUAGE.
20973 * io/ftwtest-sh (LANG): Remove variable.
20974 * libio/Makefile (tst-widetext-ENV): Likewise.
20975 * manual/install.texi (Running make install): Don't refer to
20976 environment settings for make install.
20977 * INSTALL: Regenerated.
20978 * nptl/tst-tls6.sh: Don't set LANG.
20979 * posix/globtest.sh (LANG): Remove variable.
20980 * string/Makefile (tester-ENV): Likewise.
20981 (inl-tester-ENV): Likewise.
20982 (noinl-tester-ENV): Likewise.
20983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20984 [$(cross-compiling) = no]: Don't set LANGUAGE.
20985 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20986 without explicit environment settings.
20988 2014-06-06 Roland McGrath <roland@hack.frob.com>
20990 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20991 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20993 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20995 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
20997 * crypt/crypt-private.h [DOS]: Add some includes taken from the
20998 other files in the crypt directory.
20999 * crypt/crypt.c: Remove duplicate includes.
21000 * crypt/crypt-entry.c: Likewise.
21001 * crypt/crypt_util.c: Likewise.
21003 2014-06-06 Joseph Myers <joseph@codesourcery.com>
21005 * Makeconfig (run-program-env): New variable.
21006 (run-program-prefix-before-env): Likewise.
21007 (run-program-prefix-after-env): Likewise.
21008 (run-program-prefix): Define in terms of new variables.
21009 (built-program-cmd-before-env): New variable.
21010 (built-program-cmd-after-env): Likewise.
21011 (built-program-cmd): Define in terms of new variables.
21012 (test-program-prefix-before-env): New variable.
21013 (test-program-prefix-after-env): Likewise.
21014 (test-program-prefix): Define in terms of new variables.
21015 (test-program-cmd-before-env): New variable.
21016 (test-program-cmd-after-env): Likewise.
21017 (test-program-cmd): Define in terms of new variables.
21018 * Rules (make-test-out): Use $(run-program-env).
21019 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21020 (help): Do not mention environment variables. Mention
21021 --timeoutfactor option.
21022 (timeoutfactor): New variable.
21023 (blacklist_exports): Remove function.
21024 (exports): Remove variable.
21025 (command): Do not include ${exports}.
21026 * manual/install.texi (Configuring and compiling): Do not mention
21027 test wrappers preserving environment variables. Mention that last
21028 assignment to a variable must take precedence.
21029 * INSTALL: Regenerated.
21030 * benchtests/Makefile (run-bench): Use $(run-program-env).
21031 * catgets/Makefile ($(objpfx)test1.cat): Use
21032 $(built-program-cmd-before-env), $(run-program-env) and
21033 $(built-program-cmd-after-env).
21034 ($(objpfx)test2.cat): Do not specify environment variables
21036 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21037 $(run-program-env) and $(built-program-cmd-after-env).
21038 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21039 $(run-program-env) and $(test-program-cmd-after-env).
21040 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21042 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21043 run_program_env and test_program_cmd_after_env arguments.
21044 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21045 * elf/tst-pathopt.sh: Use run_program_env argument.
21046 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21047 $(test-wrapper-env) and $(run-program-env).
21048 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21049 run_program_env arguments.
21050 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21051 * intl/Makefile ($(objpfx)tst-gettext.out): Use
21052 $(test-program-prefix-before-env), $(run-program-env) and
21053 $(test-program-prefix-after-env).
21054 ($(objpfx)tst-gettext2.out): Likewise.
21055 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21056 run_program_env and test_program_prefix_after_env arguments.
21057 * intl/tst-gettext2.sh: Likewise.
21058 * intl/tst-gettext4.sh: Do not set environment variables
21060 * intl/tst-gettext6.sh: Likewise.
21061 * intl/tst-translit.sh: Likewise.
21062 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21063 $(test-program-prefix-before-env), $(run-program-env) and
21064 $(test-program-prefix-after-env).
21065 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21066 run_program_env and test_program_prefix_after_env arguments.
21067 * math/Makefile (run-regen-ulps): Use $(run-program-env).
21068 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21069 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
21070 explicitly with each use of ${test_wrapper_env}.
21071 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21072 $(test-program-prefix-before-env), $(run-program-env) and
21073 $(test-program-prefix-after-env).
21074 * posix/tst-getconf.sh: Do not set environment variables
21076 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21077 run_program_env and test_program_prefix_after_env arguments.
21078 * stdio-common/tst-printf.sh: Do not set environment variables
21080 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21081 $(test-program-prefix-before-env), $(run-program-env) and
21082 $(test-program-prefix-after-env).
21083 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21084 run_program_env and test_program_prefix_after_env arguments.
21085 Split $test calls into $test_pre and $test.
21086 * timezone/Makefile (build-testdata): Use
21087 $(built-program-cmd-before-env), $(run-program-env) and
21088 $(built-program-cmd-after-env).
21090 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21092 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21093 strlen for non SHARED builds.
21095 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21097 * nptl/allocatestack.c (check_list): Inlined function...
21098 (__reclaim_stacks): ... here.
21100 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21103 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21106 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21108 * Rules (make-test-out): Include
21109 LOCPATH=$(common-objpfx)localedata in default environment.
21110 * debug/Makefile (tst-chk1-ENV): Remove variable.
21111 (tst-chk2-ENV): Likewise.
21112 (tst-chk3-ENV): Likewise.
21113 (tst-chk4-ENV): Likewise.
21114 (tst-chk5-ENV): Likewise.
21115 (tst-chk6-ENV): Likewise.
21116 (tst-lfschk1-ENV): Likewise.
21117 (tst-lfschk2-ENV): Likewise.
21118 (tst-lfschk3-ENV): Likewise.
21119 (tst-lfschk4-ENV): Likewise.
21120 (tst-lfschk5-ENV): Likewise.
21121 (tst-lfschk6-ENV): Likewise.
21122 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21123 (tst-iconv7-ENV): Likewise.
21124 * intl/Makefile (LOCPATH-ENV): Likewise.
21125 (tst-codeset-ENV): Likewise.
21126 (tst-gettext3-ENV): Likewise.
21127 (tst-gettext5-ENV): Likewise.
21128 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21129 (tst-fopenloc-ENV): Likewise.
21130 (tst-fgetws-ENV): Remove variable.
21131 (tst-ungetwc1-ENV): Likewise.
21132 (tst-ungetwc2-ENV): Likewise.
21133 (bug-ungetwc2-ENV): Likewise.
21134 (tst-swscanf-ENV): Likewise.
21135 (bug-ftell-ENV): Likewise.
21136 (tst-fgetwc-ENV): Likewise.
21137 (tst-fseek-ENV): Likewise.
21138 (tst-ftell-partial-wide-ENV): Likewise.
21139 (tst-ftell-active-handler-ENV): Likewise.
21140 (tst-ftell-append-ENV): Likewise.
21141 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21142 (tst-regexloc-ENV): Likewise.
21143 (bug-regex1-ENV): Likewise.
21144 (tst-regex-ENV): Likewise.
21145 (tst-regex2-ENV): Likewise.
21146 (bug-regex5-ENV): Likewise.
21147 (bug-regex6-ENV): Likewise.
21148 (bug-regex17-ENV): Likewise.
21149 (bug-regex18-ENV): Likewise.
21150 (bug-regex19-ENV): Likewise.
21151 (bug-regex20-ENV): Likewise.
21152 (bug-regex22-ENV): Likewise.
21153 (bug-regex23-ENV): Likewise.
21154 (bug-regex25-ENV): Likewise.
21155 (bug-regex26-ENV): Likewise.
21156 (bug-regex30-ENV): Likewise.
21157 (bug-regex32-ENV): Likewise.
21158 (bug-regex33-ENV): Likewise.
21159 (bug-regex34-ENV): Likewise.
21160 (bug-regex35-ENV): Likewise.
21161 (tst-rxspencer-ENV): Likewise.
21162 (tst-rxspencer-no-utf8-ENV): Likewise.
21163 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21164 (tst-sscanf-ENV): Likewise.
21165 (tst-swprintf-ENV): Likewise.
21166 (tst-swscanf-ENV): Likewise.
21167 (test-vfprintf-ENV): Likewise.
21168 (scanf13-ENV): Likewise.
21169 (bug14-ENV): Likewise.
21170 (tst-grouping-ENV): Likewise.
21171 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21172 (tst-strtod3-ENV): Likewise.
21173 (tst-strtod4-ENV): Likewise.
21174 (tst-strtod5-ENV): Likewise.
21175 (testmb2-ENV): Likewise./
21176 * string/Makefile (tst-strxfrm-ENV): Likewise.
21177 (tst-strxfrm2-ENV): Likewise.
21178 (bug-strcoll1-ENV): Likewise.
21179 (test-strcasecmp-ENV): Likewise.
21180 (test-strncasecmp-ENV): Likewise.
21181 * time/Makefile (tst-strptime-ENV): Likewise.
21182 (tst-ftime_l-ENV): Likewise.
21183 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21184 (tst-mbrtowc-ENV): Likewise.
21185 (tst-wcrtomb-ENV): Likewise.
21186 (tst-mbrtowc2-ENV): Likewise.
21187 (tst-c16c32-1-ENV): Likewise.
21188 (tst-mbsnrtowcs-ENV): Likewise.
21190 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21192 * manual/resource.texi (How to get information about the memory
21193 subsystem?): Fix typo.
21194 Reported by Peon de la Parra Ivan <peon@keba.com>
21196 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21199 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21200 (pthread_spin_lock): Branch out of spin loop to proper location.
21201 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21202 (pthread_spin_lock): Likewise.
21204 * nptl/tst-spin4.c: New test.
21205 * nptl/Makefile (tests): Add tst-spin4.
21207 2014-06-03 Andreas Schwab <schwab@suse.de>
21210 * resolv/res_send.c (send_dg): Reload file descriptor after
21213 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21215 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21217 2014-06-03 Richard Henderson <rth@redhat.com>
21219 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21220 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21221 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21222 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21223 in the SAVE_PID block.
21224 (__libc_vfork): New alias.
21225 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21227 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21228 child in registers, not on the stack. Remove RESET_PID conditionals.
21229 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21231 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21233 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21235 2014-06-03 Wilco <wdijkstr@arm.com>
21237 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21238 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21239 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21240 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21241 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21244 2014-06-03 Wilco <wdijkstr@arm.com>
21246 * sysdeps/aarch64/fpu/math_private.h
21247 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21248 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21249 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21250 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21253 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21255 * crypt/crypt-private.h: Include ufc-crypt.h.
21256 (__b64_from_24bit): Declare extern.
21257 * crypt/crypt_util.c(__b64_from_24bit): New function.
21258 (b64t): New static const variable.
21259 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21260 (b64t): Remove variable.
21261 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21262 * crypt/sha256-crypt.c: Include crypt-private.h.
21263 (b64t): Remove variable.
21264 (__sha256_crypt_r): Remove b64_from_24bit and replace
21265 with __b64_from_24bit.
21266 * crypt/sha512-crypt.c: Likewise.
21268 2014-06-02 Roland McGrath <roland@hack.frob.com>
21270 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21271 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21272 Label the code __libc_vfork rather than __vfork.
21273 [!NOT_IN_libc] (vfork): Define as weak alias.
21274 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21275 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21276 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21278 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21280 * malloc/malloc.c (malloc_info): Fix format specifier for
21283 2014-06-02 Wilco <wdijkstr@arm.com>
21285 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21288 2014-06-02 Wilco <wdijkstr@arm.com>
21291 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21292 Rewrite to reduce FPCR/FPSR accesses.
21294 2014-06-01 David S. Miller <davem@davemloft.net>
21296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21298 2014-05-31 David S. Miller <davem@davemloft.net>
21300 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21301 to occur in round to nearest mode when |x| >= 2.0
21303 2014-05-30 Richard Henderson <rth@twiddle.net>
21305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21306 (PSEUDO_RET_NOERRNO): Remove.
21307 (ret): Don't redefine.
21308 (ret_NOERRNO): Define in terms of ret.
21309 (ret_ERRVAL): Likewise.
21311 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21312 use of PSEUDO_RET; perform the error check directly.
21314 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21316 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21319 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21321 * malloc/malloc (malloc_info): Fix formatting.
21323 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21324 Roland McGrath <roland@hack.frob.com>
21326 * malloc/malloc (malloc_info): Also print mmapped statistics.
21328 2014-05-30 Roland McGrath <roland@hack.frob.com>
21330 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21331 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21333 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21335 * malloc/malloc.c (malloc_info): Inline mi_arena.
21337 2014-05-29 Richard Henderson <rth@twiddle.net>
21339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21340 Remove comma before expanding ASM_ARGS_##nr.
21341 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21342 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21344 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21345 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21346 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21347 (ASM_ARGS_1): Add leading comma.
21349 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21350 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21351 to __errno_location.
21352 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21353 Remove the expected plt for __errno_location.
21355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21356 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21359 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21360 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21361 it and break it down.
21362 (DOCARGS_0, DOCARGS_1): Do nothing.
21363 (DOCARGS_2): Update to store into the new stack frame.
21364 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21365 (UNDOCARGS_1): Update to restore from the new stack frame.
21366 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21367 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21370 (SINGLE_THREAD_P): New parameter for result regno.
21371 (PSEUDO): Update to match; use cbz instead of beq.
21373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21374 Use ENTRY to define the _nocancel entry point. Share the syscall
21375 and syscall error check paths with the cancel path.
21378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21379 whitespace; tabs before and after asm mnemonics.
21381 2014-05-29 Eric Wong <normalperson@yhbt.net>
21384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21385 Call fstat64 or stat64 internally, depending on arguments passed.
21386 Replace stat buffer argument with file descriptor argument.
21387 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21388 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21389 Pass fd to __internal_statvfs instead of calling fstat64.
21390 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21391 Pass fd to __internal_statvfs64 instead of calling fstat64.
21392 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21393 Pass -1 to __internal_statvfs instead of calling stat64.
21394 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21395 Pass -1 to __internal_statvfs64 instead of calling stat64.
21397 2014-05-28 Roland McGrath <roland@hack.frob.com>
21399 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21400 that was previously under [RESET_PID].
21401 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21403 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21404 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21406 2014-05-27 Roland McGrath <roland@hack.frob.com>
21408 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21410 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21411 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21413 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21415 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21417 2014-05-27 Andreas Schwab <schwab@suse.de>
21419 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21421 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21422 * elf/rtld.c (init_tls, dl_main): Likewise.
21423 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21424 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21425 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21426 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21427 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21428 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21429 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21430 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21431 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21432 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21433 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21434 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21435 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21436 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21437 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21438 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21439 * sysdeps/generic/tls.h: Update description.
21441 2014-05-27 Will Newton <will.newton@linaro.org>
21444 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21445 and restore r2 rather than just restoring.
21447 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21450 * libio/tst-ftell-append.c: New test case.
21451 * libio/Makefile (tests): Add test case.
21452 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21454 * libio/wfileops.c (do_ftell_wide): Likewise.
21456 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21460 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21464 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21465 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21466 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21467 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21468 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21469 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21476 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21477 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21478 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21479 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21480 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21482 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21485 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21487 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21489 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21490 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21491 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21493 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21494 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21495 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21496 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21504 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21511 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21519 conditional [RESET_PID].
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21529 (__libc_vfork): New strong alias.
21530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21532 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21537 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21538 (__libc_vfork): New strong alias.
21539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21541 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21544 2014-05-26 Carlos O'Donell <carlos@redhat.com>
21546 * malloc/malloc.c (mi_arena): New function.
21547 (malloc_info): Remove nested function mi_arena. Call non-nosted
21550 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21552 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21554 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21555 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21556 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21557 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21559 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21562 2014-05-26 Andreas Schwab <schwab@suse.de>
21565 * locale/programs/repertoire.c (repertoire_read): Add slash
21566 between I18NPATH element and file name.
21567 * locale/programs/locfile.c (locfile_read): Likewise.
21569 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21571 * nptl/pthread_mutexattr_settype.c
21572 (__pthread_mutexattr_settype):
21573 Disable lock elision for PTHREAD_MUTEX_NORMAL.
21575 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21577 * nptl/tst-mutex5 (do_test):
21578 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21580 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21582 * benchtests/README: Document 'init' directive.
21583 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21585 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21586 (parse_file): Recognize 'init' directive.
21588 2014-05-26 Kyle McMartin <kyle@redhat.com>
21591 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21592 alignment of struct pthread.
21594 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21597 * nscd/netgroupcache.c (addgetnetgrentX): Look for
21598 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21599 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
21600 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21602 2014-05-25 Richard Henderson <rth@twiddle.net>
21604 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21605 (SINGLE_THREAD_P_PIC): Remove.
21606 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
21607 (SINGLE_THREAD_P_PIC): Remove.
21609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
21610 branch to syscall error ...
21611 (PSEUDO): ... here.
21612 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
21613 from __local_syscall_error to .Lsyscall_error.
21614 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
21615 (SYSCALL_ERROR): Update label name.
21617 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21618 Do not use DOARGS/UNDOARGS.
21619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
21620 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
21621 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
21622 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
21623 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
21625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
21628 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
21629 define if !NOT_IN_libc.
21630 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
21631 define with non-default symbol versions.
21633 2014-05-23 Richard Henderson <rth@twiddle.net>
21635 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
21636 (vfork, __vfork): Define via compat_symbol.
21638 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
21639 [!HAVE_IFUNC] (vfork_compat): Remove.
21640 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
21642 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21645 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
21646 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
21649 2014-05-23 Richard Henderson <rth@twiddle.net>
21651 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
21652 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
21653 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
21654 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
21656 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
21657 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
21658 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
21659 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
21660 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
21661 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
21662 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
21663 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
21664 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
21665 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
21666 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
21667 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
21668 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21669 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
21670 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
21671 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
21672 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
21673 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
21674 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
21675 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
21676 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
21677 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
21678 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
21679 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
21680 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
21681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
21682 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
21683 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
21684 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
21685 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
21686 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
21687 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
21688 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
21689 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
21690 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
21691 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
21692 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
21693 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
21694 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
21695 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
21696 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
21697 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
21698 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
21699 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
21700 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
21701 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
21702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
21703 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
21704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
21705 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
21706 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
21707 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
21708 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
21709 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
21710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
21711 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
21713 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
21714 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
21715 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
21716 before exiting on error.
21717 (__libc_vfork): New strong alias.
21718 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
21719 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
21721 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
21722 that was previously under [RESET_PID].
21723 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
21725 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
21727 2014-05-23 Joseph Myers <joseph@codesourcery.com>
21730 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
21731 value when x - 1 is zero.
21732 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
21733 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
21734 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
21735 0.0L for an argument of 1.0L.
21736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
21738 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
21739 value when x - 1 is zero.
21740 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
21741 * sysdeps/i386/fpu/libm-test-ulps: Update.
21742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21744 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21746 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
21747 alphasort and versionsort.
21749 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21751 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
21753 [copysignf]: Likewise.
21755 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21757 * crypt/md5-crypt.c: Fix formatting.
21759 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21761 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
21762 (b64_from_24bit): New function.
21764 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
21767 libc_hidden_builtin_def to ifunc.
21768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21769 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
21771 2014-05-21 Roland McGrath <roland@hack.frob.com>
21773 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
21774 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
21776 2014-05-21 Joseph Myers <joseph@codesourcery.com>
21778 * nscd/Depend (linuxthreads): Remove.
21780 * resolv/Depend (linuxthreads): Remove.
21781 * rt/Depend (linuxthreads): Remove.
21783 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
21784 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
21785 $(common-objpfx)elf/.
21786 (link-libc-before-gnulib): Likewise.
21787 (elfobjdir): Remove variable.
21788 * Makefile (install): Use $(elf-objpfx) instead of
21789 $(common-objpfx)elf/.
21790 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
21792 (link-libc-deps): Likewise.
21793 ($(common-objpfx)libc.so): Likewise.
21794 ($(common-objpfx)linkobj/libc.so): Likewise.
21795 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
21796 instead of $(common-objpfx)elf/.
21797 (symbolic-link-list): Likewise.
21798 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21799 [$(cross-compiling) = no]: Likewise.
21800 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
21802 (static-gnulib-arch): Likewise.
21803 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21804 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
21805 $(common-objpfx)elf/.
21807 2014-05-21 Richard Henderson <rth@redhat.com>
21809 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21810 (SINGLE_THREAD_P): Use the correct width load. Fold
21811 into the ldr offset.
21813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
21814 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
21816 2014-05-20 Joseph Myers <joseph@codesourcery.com>
21818 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
21819 (libgcc_s_resume): Use __attribute_used__.
21820 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
21823 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21825 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
21826 optimization when used with float constants.
21828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21830 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
21833 * locale/nl_langinfo_l.c: Make direct reference to every
21834 _nl_current_CATEGORY symbol.
21835 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
21836 (tests-static): Add tst-langinfo-static.
21837 (tests-special): Add tst-langinfo-static.out.
21838 ($(objpfx)tst-langinfo.out): Redirect output.
21839 ($(objpfx)tst-langinfo-static.out): New.
21840 * localedata/tst-langinfo.sh: Send output to stdout.
21841 * localedata/tst-langinfo-static.c: New file.
21844 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
21845 when the shift amount is modulo the limb size.
21847 2014-05-20 Richard Henderson <rth@redhat.com>
21850 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
21851 Change type of sa_flags from unsigned int to int.
21854 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
21856 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
21858 2014-05-20 Will Newton <will.newton@linaro.org>
21860 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21861 Test the return value of the system call in the nocancel case.
21863 2014-05-20 Will Newton <will.newton@linaro.org>
21864 Yvan Roux <yvan.roux@linaro.org>
21866 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
21867 #include of asm/ptrace.h.
21868 (PTRACE_GET_THREAD_AREA): Remove #undef.
21869 (PTRACE_GETHBPREGS): Likewise.
21870 (PTRACE_SETHBPREGS): Likewise.
21871 (struct user_regs_struct): New structure.
21872 (struct user_fpsimd_struct): New structure.
21873 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
21874 #include of asm/ptrace.h and second #include of sys/user.h.
21875 (PTRACE_GET_THREAD_AREA): Remove #undef.
21876 (PTRACE_GETHBPREGS): Likewise.
21877 (PTRACE_SETHBPREGS): Likewise.
21878 (ELF_NGREG): Use new struct user_regs_struct.
21879 (elf_fpregset_t): Use new struct user_fpsimd_struct.
21881 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
21884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
21886 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
21889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
21890 membar to avoid block loads/stores to overlap previous stores.
21892 2014-05-17 Richard Henderson <rth@redhat.com>
21894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
21895 Create the __##syscall_name##_nocancel entry point.
21896 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
21897 Remove; let the sysdep-cancel.h code create it.
21899 2014-05-17 David S. Miller <davem@davemloft.net>
21901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
21902 Protect with __USE_GNU.
21903 (TIOCSET_TEMPT): Likewise.
21904 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21905 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
21906 these are already provided in bits/ioctl-types.h
21908 2014-05-16 Roland McGrath <roland@hack.frob.com>
21910 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
21911 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
21913 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
21914 Use wait4 regardless of [__NR_waitpid].
21916 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21920 (_FP_NANSIGN_Q): Set the quiet bit.
21922 2014-05-16 Joseph Myers <joseph@codesourcery.com>
21924 * benchtests/Makefile
21925 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
21926 not $(common-objpfx)math/libm.so.
21927 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
21928 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
21929 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
21930 $(common-objpfx)dlfcn/libdl.so.
21931 ($(objpfx)tst-audit8): Depend on $(libm), not
21932 $(common-objpfx)math/libm.so.
21933 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
21934 not $(common-objpfx)dlfcn/libdl.so.
21936 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21937 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
21938 [$(build-shared) = yes].
21939 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
21940 $(common-objpfx)nptl/libpthread.so.
21941 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
21942 $(common-objpfx)math/libm.so$(libm.so-version) or
21943 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
21944 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
21945 $(common-objpfx)dlfcn/libdl.so.
21946 * setjmp/Makefile (link-libm): Remove variable.
21947 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
21948 * stdio-common/Makefile (link-libm): Remove variable.
21949 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
21950 * stdlib/Makefile (link-libm): Remove variable.
21951 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
21952 ($(objpfx)tst-strtod-round): Likewise.
21953 ($(objpfx)tst-tininess): Likewise.
21954 ($(objpfx)tst-strtod-underflow): Likewise.
21955 ($(objpfx)tst-strtod6): Likewise.
21956 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21957 $(libdl), not $(common-objpfx)nptl/libpthread.so and
21958 $(common-objpfx)dlfcn/libdl.so.
21960 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21963 BSD terminal modes definitions.
21965 2014-05-16 Roland McGrath <roland@hack.frob.com>
21967 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21968 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21970 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21971 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21972 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21973 Don't do #include_next.
21974 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21975 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21976 Don't do #include_next.
21977 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21978 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21979 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21980 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21982 2014-05-16 Allan McRae <allan@archlinux.org>
21984 * po/sv.po: Update Swedish translation from translation project.
21986 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21989 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
21992 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21993 errno if the TIOCGPTN ioctl fails with an error different than
21995 * login/tst-ptsname.c: New file.
21996 * login/Makefile (tests): Add tst-ptsname.
21999 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22002 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22006 herrno to return EAI_AGAIN.
22008 2014-05-14 Roland McGrath <roland@hack.frob.com>
22010 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22011 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22012 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22013 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22014 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22015 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22016 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22017 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22019 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22020 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22021 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22022 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22023 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22024 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22025 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22026 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22027 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22028 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22029 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22030 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22031 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22032 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22033 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22034 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22035 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22036 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22037 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22038 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22039 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22041 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22043 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22046 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22048 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22050 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22052 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22054 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22058 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22060 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22062 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22064 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22066 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22068 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22070 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22072 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22075 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22077 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22081 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22083 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22087 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22089 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22091 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22093 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22096 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22098 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22100 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22101 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22102 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22103 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22104 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22105 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22106 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22107 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22108 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22109 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22110 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22111 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22112 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22113 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22114 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22115 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22116 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22117 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22118 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22119 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22120 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22121 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22122 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22125 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22126 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22127 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22128 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22129 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22130 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22132 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22133 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22135 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22136 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22137 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22138 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22139 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22140 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22143 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22145 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22146 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22148 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22149 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22152 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22153 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22156 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22157 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22158 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22159 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22160 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22161 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22162 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22163 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22165 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22166 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22170 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22171 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22172 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22173 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22174 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22176 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22178 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22180 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22181 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22182 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22183 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22184 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22185 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22187 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22188 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22190 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22191 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22193 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22194 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22196 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22197 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22198 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22201 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22202 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22203 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22204 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22205 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22206 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22207 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22208 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22210 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22211 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22215 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22216 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22217 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22218 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22219 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22223 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22225 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22226 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22227 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22228 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22229 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22230 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22231 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22232 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22233 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22237 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22239 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22240 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22242 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22243 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22245 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22246 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22247 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22248 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22249 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22250 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22252 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22253 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22254 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22255 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22256 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22257 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22258 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22259 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22261 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22262 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22266 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22267 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22269 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22274 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22276 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22277 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22278 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22279 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22280 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22281 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22282 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22283 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22284 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22285 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22286 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22288 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22289 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22291 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22292 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22294 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22295 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22296 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22297 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22298 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22299 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22300 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22301 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22302 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22303 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22304 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22305 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22306 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22307 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22308 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22309 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22310 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22311 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22313 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22315 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22316 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22318 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22320 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22321 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22322 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22327 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22330 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22331 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22332 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22336 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22338 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22339 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22340 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22341 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22342 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22343 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22344 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22345 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22346 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22348 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22349 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22350 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22351 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22352 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22354 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22355 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22356 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22357 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22358 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22359 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22360 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22361 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22362 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22363 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22368 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22369 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22370 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22371 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22373 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22375 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22376 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22377 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22378 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22379 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22380 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22381 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22407 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22412 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22418 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22419 that was previously under [RESET_PID].
22420 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22421 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22422 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22424 * sysdeps/i386/nptl/Implies: New file.
22425 * sysdeps/x86_64/nptl/Implies: New file.
22426 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22427 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22428 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22429 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22431 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22433 (__libc_vfork): New strong alias.
22434 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22435 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22437 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22438 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22439 (__libc_vfork): New strong alias.
22440 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22441 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22443 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22444 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22445 (__libc_vfork): New strong alias.
22446 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22447 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22448 * nptl/pt-vfork.c: New file.
22449 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22450 (libpthread: GLIBC_2.20): New version set (empty).
22452 2014-05-14 Will Newton <will.newton@linaro.org>
22454 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22457 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22460 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22461 arguments with exponent 65 or above.
22462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22463 arguments 0x1p113L or above.
22464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22465 to arguments 0x1p107L or above.
22466 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22467 positive arguments with exponent 65 or above.
22468 * math/auto-libm-test-in: Add more tests of log1p.
22469 * math/auto-libm-test-out: Regenerated.
22472 * math/s_cacos.c (__cacos): Ensure zero real part of result from
22473 non-finite arguments is +0.
22474 * math/s_cacosf.c (__cacosf): Likewise.
22475 * math/s_cacosl.c (__cacosl): Likewise.
22476 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22477 * sysdeps/i386/fpu/libm-test-ulps: Update.
22478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22481 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22483 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22484 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22485 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22486 for explicit high bit of mantissa when testing for argument equal
22488 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22489 * sysdeps/i386/fpu/libm-test-ulps: Update.
22490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22494 (__erf): Scale by 16 instead of 8 in potentially underflowing
22495 case. Ensure exception if result actually underflows.
22496 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22497 (__erff): Scale by 16 instead of 8 in potentially underflowing
22498 case. Ensure exception if result actually underflows.
22499 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22500 (efx8): Remove variable.
22501 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22502 case. Ensure exception if result actually underflows.
22503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22504 (efx8): Remove variable.
22505 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22506 case. Ensure exception if result actually underflows.
22507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22508 (efx8): Remove variable.
22509 (__erfl): Scale by 16 instead of 8 in potentially underflowing
22510 case. Ensure exception if result actually underflows.
22511 * math/auto-libm-test-in: Add more tests of erf.
22512 * math/auto-libm-test-out: Regenerated.
22514 2014-05-14 Andreas Schwab <schwab@suse.de>
22516 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22517 Remove code conditionalized on USE___THREAD.
22519 * config.h.in (HAVE_PT_CHOWN): Define as 0.
22520 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22523 2014-05-14 Joseph Myers <joseph@codesourcery.com>
22525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22526 Define unconditionally.
22527 (__ASSUME_O_CLOEXEC): Likewise.
22528 (__ASSUME_SOCK_CLOEXEC): Likewise.
22529 (__ASSUME_IN_NONBLOCK): Likewise.
22530 (__ASSUME_PIPE2): Likewise.
22531 (__ASSUME_EVENTFD2): Likewise.
22532 (__ASSUME_SIGNALFD4): Likewise.
22533 (__ASSUME_DUP3): Likewise.
22534 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22535 (__ASSUME_DUP3): Do not define.
22536 (__ASSUME_EVENTFD2): Likewise.
22537 (__ASSUME_IN_NONBLOCK): Likewise.
22538 (__ASSUME_O_CLOEXEC): Likewise.
22539 (__ASSUME_PIPE2): Likewise.
22540 (__ASSUME_SIGNALFD4): Likewise.
22541 (__ASSUME_SOCK_CLOEXEC): Likewise.
22542 (__ASSUME_UTIMES): Undefine.
22543 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22544 (__ASSUME_UTIMES): Do not define.
22545 (__ASSUME_O_CLOEXEC): Likewise.
22546 (__ASSUME_SOCK_CLOEXEC): Likewise.
22547 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22548 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22550 (__ASSUME_PIPE2): Likewise.
22551 (__ASSUME_EVENTFD2): Likewise.
22552 (__ASSUME_SIGNALFD4): Likewise.
22553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22554 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22556 (__ASSUME_EVENTFD2): Likewise.
22557 (__ASSUME_SIGNALFD4): Likewise.
22558 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22559 (__ASSUME_32BITUIDS): Likewise.
22560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22561 (__ASSUME_IPC64): Likewise.
22562 (__ASSUME_ST_INO_64_BIT): Likewise.
22563 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22564 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22565 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22566 (__ASSUME_UTIMES): Do not define.
22567 (__ASSUME_PSELECT): Likewise.
22568 (__ASSUME_PPOLL): Likewise.
22569 (__ASSUME_O_CLOEXEC): Likewise.
22570 (__ASSUME_SOCK_CLOEXEC): Likewise.
22571 (__ASSUME_IN_NONBLOCK): Likewise.
22572 (__ASSUME_PIPE2): Likewise.
22573 (__ASSUME_EVENTFD2): Likewise.
22574 (__ASSUME_SIGNALFD4): Likewise.
22575 (__ASSUME_DUP3): Likewise.
22576 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22577 (__ASSUME_UTIMES): Likewise.
22578 (__ASSUME_O_CLOEXEC): Likewise.
22579 (__ASSUME_SOCK_CLOEXEC): Likewise.
22580 (__ASSUME_IN_NONBLOCK): Likewise.
22581 (__ASSUME_PIPE2): Likewise.
22582 (__ASSUME_EVENTFD2): Likewise.
22583 (__ASSUME_SIGNALFD4): Likewise.
22584 (__ASSUME_DUP3): Likewise.
22585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22586 (__ASSUME_UTIMES): Likewise.
22587 (__ASSUME_O_CLOEXEC): Likewise.
22588 (__ASSUME_SOCK_CLOEXEC): Likewise.
22589 (__ASSUME_IN_NONBLOCK): Likewise.
22590 (__ASSUME_PIPE2): Likewise.
22591 (__ASSUME_EVENTFD2): Likewise.
22592 (__ASSUME_SIGNALFD4): Likewise.
22593 (__ASSUME_DUP3): Likewise.
22594 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22596 (__ASSUME_UTIMES): Likewise.
22597 (__ASSUME_EVENTFD2): Likewise.
22598 (__ASSUME_SIGNALFD4): Likewise.
22599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22600 (__ASSUME_O_CLOEXEC): Likewise.
22601 (__ASSUME_SOCK_CLOEXEC): Likewise.
22602 (__ASSUME_IN_NONBLOCK): Likewise.
22603 (__ASSUME_PIPE2): Likewise.
22604 (__ASSUME_EVENTFD2): Likewise.
22605 (__ASSUME_SIGNALFD4): Likewise.
22606 (__ASSUME_DUP3): Likewise.
22607 (__ASSUME_UTIMES): Undefine.
22609 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
22610 feclearexcept. Remove symbol versioning code.
22611 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
22612 symbol versioning code.
22613 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
22614 symbol versioning code.
22615 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
22616 feupdateenv. Remove symbol versioning code.
22617 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
22618 fegetexceptflag. Remove symbol versioning code.
22619 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
22620 fesetexceptflag. Remove symbol versioning code.
22621 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
22622 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
22623 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
22624 (__posix_fadvise64_l32): Remove prototype.
22625 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
22628 2014-05-13 Roland McGrath <roland@hack.frob.com>
22630 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
22631 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
22632 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
22633 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
22635 2014-05-13 Sami Kerola <kerolasa@iki.fi>
22637 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
22638 current working directory
22640 2014-05-13 Roland McGrath <roland@hack.frob.com>
22642 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
22643 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
22644 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
22645 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
22646 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
22647 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
22648 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
22649 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
22650 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
22651 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
22652 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
22653 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
22654 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
22655 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
22656 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
22657 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
22658 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
22659 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
22660 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
22661 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
22662 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
22663 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
22664 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
22665 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
22666 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
22667 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
22668 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
22669 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
22670 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
22671 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
22672 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
22673 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
22674 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
22675 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
22676 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
22677 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
22678 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
22679 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
22680 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
22681 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
22682 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
22683 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
22685 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
22686 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
22688 * sysdeps/unix/sysv/linux/arm/Makefile
22689 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22690 Add rt-aeabi_unwind_cpp_pr1.
22691 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
22692 Add nptl-aeabi_unwind_cpp_pr1.
22693 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
22694 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
22695 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
22696 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22697 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
22698 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22700 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
22701 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
22702 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
22703 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
22705 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
22706 Deconditionalize the code that was previously under [RESET_PID].
22707 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
22709 * sysdeps/generic/exit-thread.h: New file.
22710 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
22711 * include/unistd.h (__exit_thread): Remove declaration.
22712 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
22713 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
22714 * csu/libc-start.c: Include <exit-thread.h>.
22715 (LIBC_START_MAIN): Pass no argument to __exit_thread.
22716 * nptl/pthread_create.c: Include <exit-thread.h>.
22717 (start_thread): Call __exit_thread in place of __exit_thread_inline.
22718 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
22719 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
22720 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
22721 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
22722 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
22723 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22724 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
22725 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
22726 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
22727 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
22728 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
22729 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
22730 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
22731 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
22732 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
22733 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
22735 2014-05-13 Andreas Schwab <schwab@suse.de>
22737 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
22739 2014-05-12 Joseph Myers <joseph@codesourcery.com>
22741 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22742 (__ASSUME_UTIMES): Do not condition on kernel version.
22743 (__ASSUME_PSELECT): Define unconditionally.
22744 (__ASSUME_PPOLL): Likewise.
22745 (__ASSUME_ATFCTS): Likewise.
22746 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
22747 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
22748 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
22749 (__ASSUME_UTIMENSAT): Define unconditionally.
22750 (__ASSUME_PRIVATE_FUTEX): Likewise.
22751 (__ASSUME_FALLOCATE): Likewise.
22752 (__ASSUME_O_CLOEXEC): Likewise.
22753 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
22754 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
22755 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22756 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
22757 (__ASSUME_IN_NONBLOCK): Likewise.
22758 (__ASSUME_PIPE2): Likewise.
22759 (__ASSUME_EVENTFD2): Likewise.
22760 (__ASSUME_SIGNALFD4): Likewise.
22761 (__ASSUME_DUP3): Likewise.
22762 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22763 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
22764 (__ASSUME_AT_RANDOM): Likewise.
22765 (__ASSUME_PREADV): Likewise.
22766 (__ASSUME_PWRITEV): Likewise.
22767 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
22768 (__ASSUME_F_GETOWN_EX): Define unconditionally.
22769 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
22770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22771 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
22772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22773 (__ASSUME_O_CLOEXEC): Define unconditionally.
22774 (__ASSUME_PSELECT): Do not undefine conditionally.
22775 (__ASSUME_PPOLL): Likewise.
22776 (__ASSUME_ATFCTS): Likewise.
22777 (__ASSUME_SET_ROBUST_LIST): Likewise.
22778 (__ASSUME_UTIMENSAT): Likewise.
22779 (__ASSUME_FDATASYNC): Define unconditionally.
22780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22781 (__ASSUME_SIGFRAME_V2): Likewise.
22782 )__ASSUME_EVENTFD2): Likewise.
22783 (__ASSUME_SIGNALFD4): Likewise.
22784 (__ASSUME_PSELECT): Do not undefine conditionally.
22785 (__ASSUME_PPOLL): Likewise.
22786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22787 (__ASSUME_PSELECT): Define unconditionally.
22788 (__ASSUME_PPOLL): Likewise.
22789 (__ASSUME_O_CLOEXEC): Likewise.
22790 (__ASSUME_SOCK_CLOEXEC): Likewise.
22791 (__ASSUME_IN_NONBLOCK): Likewise.
22792 (__ASSUME_PIPE2): Likewise.
22793 (__ASSUME_EVENTFD2): Likewise.
22794 (__ASSUME_SIGNALFD4): Likewise.
22795 (__ASSUME_DUP3): Likewise.
22796 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22797 (__ASSUME_O_CLOEXEC): Likewise.
22798 (__ASSUME_SOCK_CLOEXEC): Likewise.
22799 (__ASSUME_IN_NONBLOCK): Likewise.
22800 (__ASSUME_PIPE2): Likewise.
22801 (__ASSUME_EVENTFD2): Likewise.
22802 (__ASSUME_SIGNALFD4): Likewise.
22803 (__ASSUME_DUP3): Likewise.
22804 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22805 (__ASSUME_EVENTFD2): Likewise.
22806 (__ASSUME_SIGNALFD4): Likewise.
22807 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22809 2014-05-12 Andreas Schwab <schwab@suse.de>
22812 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
22813 (_nss_nis_gethostbyname4_r): Return error if item length is larger
22814 than maximum RPC packet size.
22815 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
22816 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
22817 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
22818 (_nss_nis_getservbyport_r): Likewise.
22820 2014-05-12 Will Newton <will.newton@linaro.org>
22822 * malloc/Makefile (tests): Add tst-mallopt.
22823 * malloc/tst-mallopt.c: New file.
22825 2014-05-09 Roland McGrath <roland@hack.frob.com>
22827 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
22828 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
22830 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22832 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
22833 (tst-tlsmod6.so): Likewise.
22835 2014-05-09 Roland McGrath <roland@hack.frob.com>
22837 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
22839 2014-05-09 Joseph Myers <joseph@codesourcery.com>
22842 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
22843 and <dl-procinfo.h>.
22844 (__fegetenv): Save SSE state in envp->__eip if supported.
22845 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
22846 envp->__eip if supported.
22847 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
22848 and <dl-procinfo.h>.
22849 (__fesetenv): Always set __eip, __cs_selector, __opcode,
22850 __data_offset and __data_selector in environment to 0. Set SSE
22851 state if supported.
22852 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
22854 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
22856 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
22858 2014-05-09 Will Newton <will.newton@linaro.org>
22860 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
22861 and libc_relro_required for ARM.
22862 * sysdeps/arm/preconfigure: Regenerate.
22864 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
22865 Stefan Liebler <stli@linux.vnet.ibm.com>
22867 * config.make.in (enable-lock-elision): New Makefile variable.
22868 * configure.ac: Likewise.
22869 * configure: Regenerate.
22870 * sysdeps/s390/configure.ac:
22871 Add check for gcc transactions support.
22872 * sysdeps/s390/configure: Regenerate.
22873 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
22874 Build elision files if enabled.
22875 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
22876 Add lock elision support for s390.
22877 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22878 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
22879 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
22880 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
22881 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
22882 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
22887 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
22889 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
22891 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
22892 (__lll_timedlock_elision, __lll_lock_elision)
22893 (__lll_unlock_elision, __lll_trylock_elision)
22894 (lll_timedlock_elision, lll_lock_elision)
22895 (lll_unlock_elision, lll_trylock_elision): Add.
22896 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22897 (pthread_mutex_t): Add lock elision support for s390.
22899 2014-05-14 Wilco <wdijkstr@arm.com>
22901 * sysdeps/arm/fclrexcpt.c: Cleanup.
22902 * sysdeps/arm/fedisblxcpt.c: Cleanup.
22903 * sysdeps/arm/feenablxcpt.c: Cleanup.
22904 * sysdeps/arm/fegetenv.c: Cleanup.
22905 * sysdeps/arm/fegetexcept.c: Cleanup.
22906 * sysdeps/arm/fegetround.c: Cleanup.
22907 * sysdeps/arm/feholdexcpt.c: Cleanup.
22908 * sysdeps/arm/fesetenv.c: Cleanup.
22909 * sysdeps/arm/fesetround.c: Cleanup.
22910 * sysdeps/arm/feupdateenv.c: Cleanup.
22911 * sysdeps/arm/fgetexcptflg.c: Cleanup.
22912 * sysdeps/arm/fraiseexcpt.c: Cleanup.
22913 * sysdeps/arm/fsetexcptflg.c: Cleanup.
22914 * sysdeps/arm/ftestexcept.c: Cleanup.
22915 * sysdeps/arm/get-rounding-mode.h: Cleanup.
22916 * sysdeps/arm/setfpucw.c: Cleanup.
22918 2014-05-09 Will Newton <will.newton@linaro.org>
22920 * sysdeps/arm/armv7/strcmp.S: New file.
22921 * NEWS: Mention addition of ARMv7 optimized strcmp.
22923 2014-05-08 Roland McGrath <roland@hack.frob.com>
22925 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
22926 look for %.ac rather than %.in.
22928 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
22929 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
22930 * sysdeps/mach/hurd/configure: Regenerated.
22931 * sysdeps/unix/sysv/linux/configure: Regenerated.
22933 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
22935 2014-05-07 Steve Ellcey <sellcey@mips.com>
22938 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
22942 2014-05-07 Andreas Schwab <schwab@suse.de>
22944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
22945 when skipping over non-matching result from nscd.
22947 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
22950 * nptl/sockperf.c (client): Check socket return value.
22953 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
22954 nscd security class.
22956 2014-05-06 Roland McGrath <roland@hack.frob.com>
22958 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22959 * sysdeps/arm/unwind.h: ... here.
22961 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
22964 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22967 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22969 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22970 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22971 multiarch strncpy for PPC64.
22972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22975 multiarch optimizations.
22976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22977 (__libc_ifunc_impl_list): Likewise.
22978 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22979 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22980 multiarch stpncpy for PPC64.
22981 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22982 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22984 2014-05-06 Andreas Schwab <schwab@suse.de>
22987 * gmon/mcount.c (_MCOUNT_DECL): Use
22988 atomic_compare_and_exchange_bool_acq instead of
22989 catomic_compare_and_exchange_bool_acq.
22991 2014-05-05 Roland McGrath <roland@hack.frob.com>
22993 * elf/Makefile (others, install-bin): Remove pldd.
22994 (pldd-modules): Variable removed.
22995 ($(objpfx)pldd): Target removed.
22996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22997 (others, install-bin): Append pldd here.
22998 ($(objpfx)pldd): New target.
23000 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23001 to 0, so the first #if test emitted later doesn't see it undefined.
23002 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23003 * sysdeps/gnu/errlist.c: Regenerated.
23005 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23007 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23008 [libc_hidden_builtin_def]: Define to empty value.
23009 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23010 [libc_hidden_builtin_def]: Likewise.
23011 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23012 [libc_hidden_builtin_def]: Likewise.
23013 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23014 [libc_hidden_builtin_def]: Likewise.
23015 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23016 __redirect_memcpy and define ifunc as default hidden symbol.
23017 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23018 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23020 2014-05-04 Adam Conrad <adconrad@0c3.net>
23022 * locale/iso-4217.def: Reintroduce XDR currency.
23024 2014-05-04 Allan McRae <allan@archlinux.org>
23026 * po/eo.po: Update Esperanto translation from translation project.
23028 2014-05-02 Carlos O'Donell <carlos@redhat.com>
23030 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23031 and FEATURE_INDEX_MAX to 1.
23032 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23034 2014-05-01 Steve Ellcey <sellcey@mips.com>
23036 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23037 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23038 * iconvdata/big5.c (ONE_DIRECTION): Define.
23039 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23040 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23041 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23042 * iconvdata/cp932.c (ONE_DIRECTION): Define.
23043 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23044 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23045 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23046 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23047 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23048 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23049 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23050 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23051 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23052 * iconvdata/gbk.c (ONE_DIRECTION): Define.
23053 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23054 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23055 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23056 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23057 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23058 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23059 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23060 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23061 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23062 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23063 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23064 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23065 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23066 * iconvdata/iso646.c (ONE_DIRECTION): Define.
23067 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23068 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23069 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23070 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23071 * iconvdata/johab.c (ONE_DIRECTION): Define.
23072 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23073 * iconvdata/sjis.c (ONE_DIRECTION): Define.
23074 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23075 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23076 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23077 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23078 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23079 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23080 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23081 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23083 2014-05-01 Roland McGrath <roland@hack.frob.com>
23085 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23086 (_IO_JUMPS_OFFSET): Define to 0.
23088 * nptl/sysdeps/pthread/bits/libc-lock.h
23089 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23090 (__libc_lock_define_initialized_recursive): Always define using
23091 initializer. Modern compilers treat uninitialized (implicit zero) and
23092 explicit zero initializers the same (i.e. put the datum in bss).
23094 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23096 * nscd/nscd-client.h: Include <string.h>.
23098 2014-05-01 David S. Miller <davem@davemloft.net>
23101 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23102 multiple zero bytes exist at the end of a string.
23103 Reported by Aurelien Jarno <aurelien@aurel32.net>
23105 * string/test-strcmp.c (check): Add explicit test for situations where
23106 there are multiple zero bytes after the first.
23108 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23111 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23112 when compiling wprintf.
23113 * stdio-common/tstdiomisc.c (t3): New function.
23116 2014-05-01 Steve Ellcey <sellcey@mips.com>
23118 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23119 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23120 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23121 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23123 2014-05-01 Steve Ellcey <sellcey@mips.com>
23125 * stdlib/longlong.h: Updated from GCC.
23127 2014-05-01 Will Newton <will.newton@linaro.org>
23128 Bernard Ogden <bernie.ogden@linaro.org>
23130 * NEWS: Update fixed bug list.
23133 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23135 2014-04-30 David S. Miller <davem@davemloft.net>
23137 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23138 (libc_feholdexcept_setround_sparc_ctx): New function.
23139 (libc_fesetenv_sparc_ctx): Likewise.
23140 (libc_feupdateenv_sparc_ctx): Likewise.
23141 (libc_feholdsetround_sparc_ctx): Likewise.
23142 (libc_feholdexcept_setround_ctx): Define.
23143 (libc_feholdexcept_setroundf_ctx): Likewise.
23144 (libc_feholdexcept_setroundl_ctx): Likewise.
23145 (libc_fesetenv_ctx): Likewise.
23146 (libc_fesetenvf_ctx): Likewise.
23147 (libc_fesetenvl_ctx): Likewise.
23148 (libc_feupdateenv_ctx): Likewise.
23149 (libc_feupdateenvf_ctx): Likewise.
23150 (libc_feupdateenvl_ctx): Likewise.
23151 (libc_feresetround_ctx): Likewise.
23152 (libc_feresetroundf_ctx): Likewise.
23153 (libc_feresetroundl_ctx): Likewise.
23154 (libc_feholdsetround_ctx): Likewise.
23155 (libc_feholdsetroundf_ctx): Likewise.
23156 (libc_feholdsetroundl_ctx): Likewise.
23158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23159 with __USE_GNU instead of XOPEN cpp guards.
23161 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23165 with XOPEN cpp guards.
23167 2014-04-30 Julian Brown <julian@codesourcery.com>
23170 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23173 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23176 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23178 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23179 * sysdeps/unix/sysv/linux/configure: Regenerated.
23180 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23181 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23182 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23183 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23184 * README: Update reference to required Linux kernel version.
23185 * manual/install.texi (Linux): Update reference to required Linux
23186 kernel headers version.
23187 * INSTALL: Regenerated.
23189 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23191 [POSIX] (limits.h): Likewise.
23192 [POSIX] (math.h): Likewise.
23193 [POSIX] (sys/wait.h): Likewise.
23194 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23196 [POSIX] (stddef.h): Do not allow header inclusion.
23198 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23200 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23202 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23204 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23205 Return immediately after lll_futex_wake.
23207 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23210 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23212 (datahead_init_pos): Call datahead_init_common early.
23213 (datahead_init_neg): Likewise.
23215 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23216 datahead_init_neg): New functions.
23217 * nscd/aicache.c (addhstaiX): Use them.
23218 * nscd/grpcache.c (cache_addgr): Likewise.
23219 * nscd/hstcache.c (cache_addhst): Likewise.
23220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23221 * nscd/netgroupcache.c (do_notfound): Likewise.
23222 (addgetnetgrentX): Likewise.
23223 (addinnetgrX): Likewise.
23224 * nscd/pwdcache.c (cache_addpw): Likewise.
23225 * nscd/servicescache.c (cache_addserv): Likewise.
23227 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23228 Atsushi Onoe <atsushi@onoe.org>
23233 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23234 one response is valid.
23235 * resolv/res_send.c (send_dg): Check for validity of other
23236 response if the current response is a referral.
23238 2014-04-29 Steve Ellcey <sellcey@mips.com>
23240 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23242 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23245 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23246 Always divide by positive zero when computing -Inf result.
23247 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23248 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23250 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23252 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23253 FPSCR if value do not change.
23254 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23255 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23256 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23257 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23258 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23259 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23262 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23264 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23265 * sysdeps/unix/sysv/linux/hppa: Move directory from
23266 ports/systeps/unix/sysv/linux/hppa.
23267 * README: Update listing for hppa-*-linux-gnu.
23269 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23272 * manual/stdio.texi (Hook functions): Fix types of stream hook
23275 * socket/sys/socket.h: Fix typo in comment.
23277 2014-04-28 Wilco <wdijkstr@arm.com>
23279 * sysdeps/arm/fenv_private.h: New file.
23280 * sysdeps/arm/math_private.h: New file.
23281 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23283 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23285 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23287 (La_x86_64_retval): Likewise.
23289 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23291 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23292 fpsr if value didn't change.
23293 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23294 to fpcr if value didn't change.
23295 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23296 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23297 fpsr or fpcr if value didn't change.
23298 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23299 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23300 fpcr if value didn't change.
23301 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23302 to fpsr if value didn't change.
23304 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23306 * nptl/tst-sem3.c: Use test-skeleton.c
23307 (main): Rename to do_test. Use return instead of
23309 * nptl/tst-sem4.c: Use test-skeleton.c
23310 (main): Rename to do_test.
23312 2014-04-22 David S. Miller <davem@davemloft.net>
23314 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23315 (struct sigaction): New struct member __glibc_reserved0, change
23316 type of sa_flags to int.
23318 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23320 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23321 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23323 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23325 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23326 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23328 2014-04-22 Will Newton <will.newton@linaro.org>
23329 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23331 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23332 (__longjmp): Add longjmp and longjmp_target SystemTap
23334 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23335 (__sigsetjmp): Add setjmp SystemTap probe.
23337 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23339 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23340 match manual order.
23342 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23344 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23346 * sysdeps/powerpc/fpu/fenv_private.h
23347 (libc_feholdexcept_setroundl_ctx): Define to
23348 libc_feholdexcept_setround_ppc_ctx.
23349 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23350 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23351 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23352 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23354 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23356 * sysdeps/aarch64/math-tests.h: New file.
23358 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23360 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23363 Check and set bit_AVX2_Usable.
23364 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23366 (bit_AVX2): Likewise.
23367 (index_AVX2_Usable): Likewise.
23368 (CPUID_AVX2): Likewise.
23369 (HAS_AVX2): Likewise.
23371 2014-04-17 Will Newton <will.newton@linaro.org>
23373 * manual/setjmp.texi (System V contexts): Add note that
23374 calling setcontext on a context created by a call to a
23375 signal handler is undefined. Update text to note that
23376 setcontext from a signal handler is possible but not
23380 * stdlib/tst-setcontext.c: Include signal.h.
23381 (main): Check that the signal stack before and
23382 after swapcontext is the same.
23384 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23385 Re-implement to restore registers in user code and avoid
23386 rt_sigreturn system call.
23388 2014-04-17 Wilco <wdijkstr@arm.com>
23390 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23391 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23392 * math/test-fenv.c: Skip exception trap tests on targets which only
23393 support non-stop mode.
23395 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23396 Wilco Dijkstra <wilco.dijkstra@arm.com>
23398 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23399 (libc_feholdsetround_aarch64_ctx)
23400 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23401 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23402 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23403 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23404 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23405 (libc_feresetround_noexl_ctx): Define.
23407 2014-04-16 Richard Henderson <rth@redhat.com>
23409 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23411 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23414 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23415 const from the non-libc, non-ldso copy.
23417 * sysdeps/alpha/libm-test-ulps: Regenerate.
23419 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23420 Wilco Dijkstra <wilco.dijkstra@arm.com>
23422 * sysdeps/aarch64/fpu/math_private.h: New file.
23424 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23426 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23428 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23431 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23432 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23434 Intel MPX bound registers before _dl_profile_fixup.
23435 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23436 registers after _dl_profile_fixup. Save and restore bound
23437 registers bnd0/bnd1 when calling _dl_call_pltexit.
23438 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23439 (LR_BND_OFFSET): Likewise.
23440 (LRV_BND0_OFFSET): Likewise.
23441 (LRV_BND1_OFFSET): Likewise.
23443 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23445 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23447 * sysdeps/mach/hurd/i386/tls.h: ... here.
23448 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23449 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23452 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23454 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23456 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23458 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23460 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23463 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23464 * sysdeps/s390/configure: Regenerate.
23467 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23468 Set round-to-nearest internally to reduce error accumulation.
23470 2014-04-16 Alan Modra <amodra@gmail.com>
23474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23475 * math/libm-test.inc (frexp_test_data): Add tests.
23476 * NEWS: Update fixed bug list.
23478 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23480 * benchtests/Makefile: Depend on libraries in build directory.
23481 (bench-math): Separate out math tests.
23482 (bench-pthread): Separate out pthread tests.
23483 (bench): Include math and pthread tests.
23485 2014-04-14 Carlos O'Donell <carlos@redhat.com>
23488 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23489 _dl_debug_initialize.
23491 * configure.ac: Remove SELinux header check.
23492 * configure: Regenerate.
23493 * nscd/selinux.c (perms): Array of const char* to permission names.
23494 (nscd_request_avc_has_perm): Call security_deny_unknown to find
23495 default policy. Call string_to_security_class and string_to_av_perm to
23496 translate strings. Enforce default policy and call avs_has_perm with
23497 results of translated strings.
23499 2014-04-13 David S. Miller <davem@davemloft.net>
23501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23503 2014-04-12 Allan McRae <allan@archlinux.org>
23506 * manual/string.texi (Collation Functions): Fix qsort argument
23508 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23510 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
23512 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23513 Make the test a no-op if there are no exceptions defined.
23515 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23517 * elf/Makefile (tests): make tst-dlopen-aout conditional on
23518 enable-hardcoded-path-in-tests
23520 2014-04-11 Will Newton <will.newton@linaro.org>
23522 * benchtests/Makefile (extra-objs): Add json-lib.o.
23523 (bench-func): Tidy up JSON output.
23524 * benchtests/bench-skeleton.c: Include json-lib.h.
23525 (main): Use JSON library functions to do output of
23527 * benchtests/bench-timing-type.c (main): Output the
23528 timing type simply, leaving formatting to the user.
23529 * benchtests/json-lib.c: New file.
23530 * benchtests/json-lib.h: Likewise.
23532 2014-04-11 Torvald Riegel <triegel@redhat.com>
23535 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23536 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
23537 memory barriers. Add comments.
23538 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23539 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23540 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23541 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23542 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23543 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23545 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23547 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23548 * sysdeps/s390/s390-64/configure.ac: ... this ...
23549 * sysdeps/s390/configure.ac: ... to here.
23550 * sysdeps/s390/s390-32/configure: Delete file.
23551 * sysdeps/s390/s390-64/configure: Delete file.
23552 * sysdeps/s390/configure: Regenerate.
23554 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
23556 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23558 2014-04-11 Will Newton <will.newton@linaro.org>
23560 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23561 to zero if it is not defined elsewhere. (mtrim): Test
23562 the value of MALLOC_DEBUG with #if rather than #ifdef.
23564 2014-04-10 Torvald Riegel <triegel@redhat.com>
23566 * benchtests/pthread_once-inputs: New file.
23567 * benchtests/pthread_once-source.c: New file.
23568 * benchtests/README: Update documentation.
23570 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
23571 H.J. Lu <hongjiu.lu@intel.com>
23574 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23575 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23576 * sysdeps/x86_64/configure: Regenerated.
23577 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23579 (REGISTER_SAVE_RAX): Likewise.
23580 (REGISTER_SAVE_RCX): Likewise.
23581 (REGISTER_SAVE_RDX): Likewise.
23582 (REGISTER_SAVE_RSI): Likewise.
23583 (REGISTER_SAVE_RDI): Likewise.
23584 (REGISTER_SAVE_R8): Likewise.
23585 (REGISTER_SAVE_R9): Likewise.
23586 (REGISTER_SAVE_BND0): Likewise.
23587 (REGISTER_SAVE_BND1): Likewise.
23588 (REGISTER_SAVE_BND2): Likewise.
23589 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
23590 bound registers when calling _dl_fixup.
23592 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23594 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23595 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23597 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23598 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23599 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
23600 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
23601 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
23602 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
23603 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
23605 2014-04-09 Peter Brett <peter@peter-b.co.uk>
23608 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
23609 pathconf(_PC_NAME_MAX).
23611 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23613 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
23614 Remove macro usage.
23615 (__PTHREAD_SPINS): Move definition to ...
23616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23617 (__PTHREAD_SPINS): ... here.
23618 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23619 (__PTHREAD_SPIN): Likewise.
23620 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
23621 (__PTHREAD_SPIN): Likewise.
23622 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
23623 (__PTHREAD_SPIN): Likewise.
23624 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
23625 (__PTHREAD_SPIN): Likewise.
23626 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23627 (__PTHREAD_SPIN): Likewise.
23628 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23629 (__PTHREAD_SPIN): Likewise.
23630 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
23631 (__PTHREAD_SPIN): Likewise.
23632 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23633 (__PTHREAD_SPIN): Likewise.
23634 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23635 (__PTHREAD_SPIN): Likewise.
23636 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23637 (__PTHREAD_SPIN): Likewise.
23638 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23639 (__PTHREAD_SPIN): Likewise.
23640 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
23641 (__PTHREAD_SPIN): Likewise.
23643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
23644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
23645 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
23646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
23648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
23649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
23650 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
23651 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
23652 correct imply path.
23653 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
23654 strlen symbol for non multi-arch builds.
23655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
23656 missing hidden_def and weak_alias.
23658 2014-04-08 Carlos O'Donell <carlos@redhat.com>
23660 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
23662 2014-04-07 Will Newton <will.newton@linaro.org>
23664 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
23665 and contents. [!_LIBC] Remove #ifndef and contents.
23666 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
23667 * string/memccpy.c (__memccpy): Use ANSI prototype.
23668 * string/memfrob.c (memfrob): Likewise.
23669 * string/strcoll.c (STRCOLL): Likewise.
23670 * string/strlen.c (strlen): Likewise.
23671 * string/strtok.c (STRTOK): Likewise.
23672 * string/strcat.c: Remove unused #include of memcopy.h.
23673 (strcat): Use ANSI prototype.
23674 * string/strchr.c: Remove unused #include of memcopy.h.
23675 (strchr): Use ANSI prototype.
23676 * string/strcmp.c: Remove unused #include of memcopy.h.
23677 (strcmp): Use ANSI prototype.
23678 * string/strcpy.c: Remove unused #include of memcopy.h.
23679 (strcpy): Use ANSI prototype.
23681 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23683 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
23684 * config.make.in (config-extra-cppflags): Set it from
23685 libc_extra_cppflags.
23686 * configure.ac (libc_extra_cflags): Make it accumulate over
23687 configure fragments.
23688 (libc_extra_cppflags): New flag.
23689 * configure. Regenerate.
23690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23691 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
23692 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
23697 result for FE_DOWNWARD rounding mode.
23698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23702 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
23704 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
23705 in function argument name.
23707 2014-04-03 David Svoboda <svoboda@cert.org>
23710 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
23713 2014-04-03 Roland McGrath <roland@hack.frob.com>
23715 * elf/dl-unmap-segments.h: New file.
23716 * sysdeps/generic/ldsodefs.h
23717 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
23718 * elf/dl-close.c: Include <dl-unmap-segments.h>.
23719 * elf/dl-fptr.c: Likewise.
23720 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
23721 * sysdeps/aarch64/tlsdesc.c: Likewise.
23722 * sysdeps/arm/tlsdesc.c: Likewise.
23723 * sysdeps/i386/tlsdesc.c: Likewise.
23724 * sysdeps/tile/dl-runtime.c: Likewise.
23725 * sysdeps/x86_64/tlsdesc.c: Likewise.
23726 * elf/dl-load.h: New file.
23727 * elf/dl-load.c: Include it.
23728 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
23729 Macros moved to dl-load.h.
23730 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
23731 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
23732 Use _dl_unmap_segments in place of __munmap.
23733 Break out segment-mapping loop into ...
23734 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
23736 2014-04-03 Will Newton <will.newton@linaro.org>
23738 * elf/dl-lookup.c (do_lookup_x): Remove comment
23739 referring to nested function and move variable
23740 declarations down to before first use.
23742 2014-04-02 Joseph Myers <joseph@codesourcery.com>
23746 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
23748 * math/s_catanf.c (__catanf): Likewise.
23749 * math/s_catanh.c (__catanh): Likewise.
23750 * math/s_catanhf.c (__catanhf): Likewise.
23751 * math/s_catanhl.c (__catanhl): Likewise.
23752 * math/s_catanl.c (__catanl): Likewise.
23753 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
23754 by positive zero when computing -Inf result.
23755 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
23756 (catanh_test): Likewise.
23757 * sysdeps/i386/fpu/libm-test-ulps: Update.
23758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23761 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
23762 instead of using underflowing value in computing result.
23763 * math/s_clog10.c (__clog10): Likewise.
23764 * math/s_clog10f.c (__clog10f): Likewise.
23765 * math/s_clog10l.c (__clog10l): Likewise.
23766 * math/s_clogf.c (__clogf): Likewise.
23767 * math/s_clogl.c (__clogl): Likewise.
23768 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
23769 (clog10_test): Likewise.
23770 * sysdeps/i386/fpu/libm-test-ulps: Update.
23771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23773 2014-04-02 Alan Modra <amodra@gmail.com>
23776 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
23777 output when value is near a power of two. Use int64_t for lx and
23778 remove casts. Use decimal rather than hex exponent constants.
23779 Don't use long double multiplication when double will suffice.
23780 * math/libm-test.inc (nextafter_test_data): Add tests.
23781 * NEWS: Add 16739 and 16786 to bug list.
23783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
23785 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
23787 2014-04-01 Will Newton <will.newton@linaro.org>
23789 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
23790 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
23792 2014-04-01 Florian Weimer <fweimer@redhat.com>
23795 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
23796 * nptl/tst-setuid2.c: New file.
23797 * nptl/Makefile (xtests): Add tst-setuid2.
23799 2014-04-01 Alan Modra <amodra@gmail.com>
23802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
23804 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23808 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
23809 set errno as appropriate.
23810 * math/w_scalbf.c (__scalbf): Likewise.
23811 * math/w_scalbl.c (__scalbl): Likewise.
23812 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
23813 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
23814 * math/libm-test.inc (scalb_test_data): Add errno expectations.
23815 Add more NaN tests.
23818 * math/w_atan2.c: Include <errno.h>.
23819 (__atan2): Set errno for result underflowing to zero.
23820 * math/w_atan2f.c: Include <errno.h>.
23821 (__atan2f): Set errno for result underflowing to zero.
23822 * math/w_atan2l.c: Include <errno.h>.
23823 (__atan2l): Set errno for result underflowing to zero.
23824 * math/auto-libm-test-in: Don't allow missing errno for some atan2
23826 * math/auto-libm-test-out: Regenerated.
23828 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23830 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23831 Encode instruction correctly in little endian.
23832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23836 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23838 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23841 2014-03-31 Joseph Myers <joseph@codesourcery.com>
23844 * sysdeps/unix/sysv/linux/kernel-features.h
23845 [__sparc__ && !__arch64__ && !__sparc_v9__]
23846 (__ASSUME_SET_ROBUST_LIST): Do not define.
23847 [__sparc__ && !__arch64__ && !__sparc_v9__]
23848 (__ASSUME_FUTEX_LOCK_PI): Likewise.
23849 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
23851 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23852 (__ASSUME_FUTEX_LOCK_PI): Undefine.
23853 (__ASSUME_REQUEUE_PI): Likewise.
23854 (__ASSUME_SET_ROBUST_LIST): Likewise.
23855 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23856 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
23858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
23861 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
23863 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
23865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23866 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
23868 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
23869 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
23873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
23875 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
23877 2014-03-31 Will Newton <will.newton@linaro.org>
23879 * benchtests/Makefile (bench): Add ffs and ffsll to list
23881 * benchtests/ffs-inputs: New file.
23882 * benchtests/ffsll-inputs: Likewise.
23884 2014-03-29 Joseph Myers <joseph@codesourcery.com>
23887 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
23888 too large before casting to int.
23889 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
23890 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
23891 * math/libm-test.inc (scalb_test_data): Add more tests.
23893 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23895 * benchtests/Makefile (DETAILED_OPT): New make option.
23896 (bench-func): Run benchmark program with -d if DETAILED_OPT is
23898 * benchtests/bench-skeleton.c: Include stdbool.h.
23899 (main): Store and print timings per input.
23900 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
23901 member to each argument value.
23902 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
23903 (_print_arg_data): Initialize per-input timing to 0.
23905 * benchtests/Makefile (timing-type): New binary.
23906 (bench-clean): Also remove bench-timing-type.
23907 (bench): New target for timing-type.
23908 (bench-func): Print output in JSON format.
23909 * benchtests/bench-skeleton.c (main): Print output in JSON
23911 * benchtests/bench-timing-type.c: New file.
23912 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
23913 (TIMING_PRINT_STATS): Remove.
23914 * benchtests/scripts/bench.py (_print_arg_data): Store variant
23917 * benchtests/bench-modf.c: Remove.
23918 * benchtests/modf-inputs: New inputs file.
23920 2014-03-28 Joseph Myers <joseph@codesourcery.com>
23923 * math/s_clog10.c (M_PI_LOG10E): New macro.
23924 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
23925 imaginary parts are 0.
23926 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
23927 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
23928 imaginary parts are 0.
23929 * math/s_clog10l.c (M_PI_LOG10El): New macro.
23930 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
23931 imaginary parts are 0.
23932 * math/libm-test.inc (clog10_test_data): Update expected results
23933 for when real and imaginary parts are 0.
23935 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
23937 * elf/dl-load.c: Finish conversion of __builtin_expect into
23938 __glibc_{un}likely.
23940 2014-03-27 Joseph Myers <joseph@codesourcery.com>
23943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
23944 1+x for argument with exponent below -67.
23945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
23947 * math/auto-libm-test-in: Add more tests of exp.
23948 * math/auto-libm-test-out: Regenerated.
23950 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23953 * inet/getnetgrent_r.c (get_nonempty_val): New function.
23954 (nscd_getnetgrent): Use it.
23957 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23960 2014-03-27 Andi Kleen <ak@linux.intel.com>
23962 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23963 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23964 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23965 (lll_robust_unlock): Remove out of line section. Use cfi
23967 (LLL_STUB_UNWIND_INFO*): Remove.
23968 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23969 (lll_robust_lock, lll_cond_lock, lll_timedlock)
23970 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23971 (lll_robust_unlock): Remove out of line section. Use cfi
23973 (LLL_STUB_UNWIND_INFO*): Remove.
23975 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23978 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23981 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
23983 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23985 2014-03-26 Joseph Myers <joseph@codesourcery.com>
23988 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23990 * math/test-fenv-preserve.c: New file.
23991 * math/Makefile (tests): Add test-fenv-preserve.
23993 2014-03-26 Will Newton <will.newton@linaro.org>
23995 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23997 2014-03-25 Roland McGrath <roland@hack.frob.com>
23999 * scripts/versionlist.awk: Partition the version sets and emit all
24000 GLIBC_* (sorted) before all others (sorted).
24002 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24004 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24005 GLIBC_2.2.5 version.
24007 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24009 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24012 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24017 2014-03-25 Andreas Schwab <schwab@suse.de>
24019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24020 label to be used after in6ailist is initialized.
24022 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24024 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24025 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24027 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24031 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24033 (fp_formats): Update initializers.
24034 (init_fp_formats): Initialize new field.
24035 (output_for_one_input_case): Allow underflow for results up to
24037 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24038 * math/auto-libm-test-in: Don't mark some underflows from asin and
24040 * math/auto-libm-test-out: Regenerated.
24041 * sysdeps/i386/fpu/libm-test-ulps: Update.
24042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24044 2014-03-25 Andreas Schwab <schwab@suse.de>
24046 * libio/Makefile (tst-ftell-partial-wide-ENV)
24047 (tst-ftell-active-handler-ENV): Define.
24049 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24051 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24053 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24055 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24057 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24059 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24060 * sysdeps/x86_64/fpu/multiarch/e_exp.c
24061 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24063 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24066 * elf/dl-load.c (open_verify): Add mode parameter.
24067 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24068 (open_path): Change from boolean 'secure' to complete flag 'mode'
24069 (_dl_map_object): Adjust.
24070 * elf/Makefile (tests): Add tst-dlopen-aout.
24071 * elf/tst-dlopen-aout.c: New test.
24073 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24076 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24077 (struct stat): Rename member pad0 to __glibc_reserved0.
24080 * sysdeps/s390/s390-32/bits/wordsize.h
24081 (__WORDSIZE32_SIZE_ULONG): New define.
24082 * sysdeps/s390/s390-64/bits/wordsize.h
24083 (__WORDSIZE32_SIZE_ULONG): Likewise.
24084 * sysdeps/generic/stdint.h (SIZE_MAX):
24085 Define as UL if __WORDSIZE32_SIZE_ULONG.
24088 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24089 (__glibc_reserved0): New variable.
24090 (sa_flags): Change type to int.
24092 * posix/Makefile (before-compile): Use += before-compile instead
24095 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24096 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24098 2014-03-20 Andreas Schwab <schwab@suse.de>
24101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24102 non-matching result from nscd.
24104 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24106 * scripts/bench.py: Moved to ...
24107 * benchtests/scripts/bench.py: ... here.
24108 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24110 2014-03-24 Andreas Schwab <schwab@suse.de>
24113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24114 alloca_account and account alloca use for struct in6ailist.
24116 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24119 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24120 rounding mode to recompute results that overflow to infinity or
24122 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24124 * math/auto-libm-test-out: Regenerated.
24125 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24126 (ccosh_test): Likewise.
24127 (csin_test_data): Use plus_oflow.
24128 (csin_test): Use ALL_RM_TEST.
24129 (csinh_test_data): Use plus_oflow.
24130 (csinh_test): Use ALL_RM_TEST.
24131 * sysdeps/i386/fpu/libm-test-ulps: Update.
24132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24134 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24136 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24137 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24138 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24141 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24142 when x - 1 is zero.
24143 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24144 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24145 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24148 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24149 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24151 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24152 * sysdeps/i386/fpu/libm-test-ulps: Update.
24153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24155 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24157 * scripts/bench.pl: Remove file.
24158 * scripts/bench.py: New benchmark script.
24159 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24160 * benchtests/README: Mention python dependency.
24161 * scripts/pylintrc: New file.
24162 * scripts/pylint: New file.
24164 * bits/mathdef.h: Use #ifdef instead of #if.
24165 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24166 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24167 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24168 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24169 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24170 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24172 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24173 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24175 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24177 and strpbrk-ppc64 objects.
24178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24179 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24180 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24181 multiarch strpbrk for POWER7.
24182 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24183 multiarch strpbrk for PPC64.
24184 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24186 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24187 strpbrk for POWER7.
24189 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24191 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24192 (atan_test): Likewise.
24193 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24194 (atanh_test): Use ALL_RM_TEST.
24195 (atan2_test_data): Likewise.
24196 (cabs_test): Likewise.
24197 (cacosh_test): Likewise.
24198 (carg_test): Likewise.
24199 (casin_test): Likewise.
24200 (casinh_test): Likewise.
24201 (cbrt_test): Likewise.
24202 (csqrt_test): Likewise.
24203 (erf_test): Likewise.
24204 (erfc_test): Likewise.
24205 (pow10_test): Likewise.
24206 (exp2_test): Likewise.
24207 (hypot_test): Likewise.
24208 (j0_test): Likewise.
24209 (j1_test): Likewise.
24210 (lgamma_test): Likewise.
24211 (gamma_test): Likewise.
24212 (sincos_test): Likewise.
24213 (tanh_test): Likewise.
24214 (y0_test): Likewise.
24215 (y1_test): Likewise.
24216 * sysdeps/i386/fpu/libm-test-ulps: Update.
24217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24219 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24221 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24223 and strcspn-ppc64 objects.
24224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24225 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24226 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24227 multiarch strcspn for POWER7.
24228 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24229 multiarch strcspn for PPC64.
24230 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24232 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24233 strcspn for POWER7.
24235 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24237 * math/gen-libm-test.pl (generate_testfile): Expect only function
24238 name as argument to AUTO_TESTS_* and pass results for all rounding
24239 modes to parse_args.
24240 (parse_auto_input): Separate inputs of automatic tests from
24241 outputs before storing in %auto_tests.
24242 * math/libm-test.inc (acos_test_data): Update call to
24244 (acos_test): Use ALL_RM_TEST.
24245 (acos_tonearest_test_data): Remove.
24246 (acos_test_tonearest): Likewise.
24247 (acos_towardzero_test_data): Likewise.
24248 (acos_test_towardzero): Likewise.
24249 (acos_downward_test_data): Likewise.
24250 (acos_test_downward): Likewise.
24251 (acos_upward_test_data): Likewise.
24252 (acos_test_upward): Likewise.
24253 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24254 (asin_test_data): Likewise.
24255 (asin_test): Use ALL_RM_TEST.
24256 (asin_tonearest_test_data): Remove.
24257 (asin_test_tonearest): Likewise.
24258 (asin_towardzero_test_data): Likewise.
24259 (asin_test_towardzero): Likewise.
24260 (asin_downward_test_data): Likewise.
24261 (asin_test_downward): Likewise.
24262 (asin_upward_test_data): Likewise.
24263 (asin_test_upward): Likewise.
24264 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24265 (atan_test_data): Likewise.
24266 (atanh_test_data): Likewise.
24267 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24268 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24269 (carg_test_data): Likewise.
24270 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24271 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24272 (ccosh_test_data): Likewise.
24273 (cexp_test_data): Likewise.
24274 (clog_test_data): Likewise.
24275 (clog10_test_data): Likewise.
24276 (cos_test_data): Update call to AUTO_TESTS_f_f.
24277 (cos_test): Use ALL_RM_TEST.
24278 (cos_tonearest_test_data): Remove.
24279 (cos_test_tonearest): Likewise.
24280 (cos_towardzero_test_data): Likewise.
24281 (cos_test_towardzero): Likewise.
24282 (cos_downward_test_data): Likewise.
24283 (cos_test_downward): Likewise.
24284 (cos_upward_test_data): Likewise.
24285 (cos_test_upward): Likewise.
24286 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24287 (cosh_test): Use ALL_RM_TEST.
24288 (cosh_tonearest_test_data): Remove.
24289 (cosh_test_tonearest): Likewise.
24290 (cosh_towardzero_test_data): Likewise.
24291 (cosh_test_towardzero): Likewise.
24292 (cosh_downward_test_data): Likewise.
24293 (cosh_test_downward): Likewise.
24294 (cosh_upward_test_data): Likewise.
24295 (cosh_test_upward): Likewise.
24296 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24297 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24298 (ctan_test_data): Likewise.
24299 (ctan_test): Use ALL_RM_TEST.
24300 (ctan_tonearest_test_data): Remove.
24301 (ctan_test_tonearest): Likewise.
24302 (ctan_towardzero_test_data): Likewise.
24303 (ctan_test_towardzero): Likewise.
24304 (ctan_downward_test_data): Likewise.
24305 (ctan_test_downward): Likewise.
24306 (ctan_upward_test_data): Likewise.
24307 (ctan_test_upward): Likewise.
24308 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24309 (ctanh_test): Use ALL_RM_TEST.
24310 (ctanh_tonearest_test_data): Remove.
24311 (ctanh_test_tonearest): Likewise.
24312 (ctanh_towardzero_test_data): Likewise.
24313 (ctanh_test_towardzero): Likewise.
24314 (ctanh_downward_test_data): Likewise.
24315 (ctanh_test_downward): Likewise.
24316 (ctanh_upward_test_data): Likewise.
24317 (ctanh_test_upward): Likewise.
24318 (erf_test_data): Update call to AUTO_TESTS_f_f.
24319 (erfc_test_data): Likewise.
24320 (exp_test_data): Likewise.
24321 (exp_test): Use ALL_RM_TEST.
24322 (exp_tonearest_test_data): Remove.
24323 (exp_test_tonearest): Likewise.
24324 (exp_towardzero_test_data): Likewise.
24325 (exp_test_towardzero): Likewise.
24326 (exp_downward_test_data): Likewise.
24327 (exp_test_downward): Likewise.
24328 (exp_upward_test_data): Likewise.
24329 (exp_test_upward): Likewise.
24330 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24331 (exp10_test): Use ALL_RM_TEST.
24332 (exp10_tonearest_test_data): Remove.
24333 (exp10_test_tonearest): Likewise.
24334 (exp10_towardzero_test_data): Likewise.
24335 (exp10_test_towardzero): Likewise.
24336 (exp10_downward_test_data): Likewise.
24337 (exp10_test_downward): Likewise.
24338 (exp10_upward_test_data): Likewise.
24339 (exp10_test_upward): Likewise.
24340 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24341 (expm1_test_data): Likewise.
24342 (expm1_test): Use ALL_RM_TEST.
24343 (expm1_tonearest_test_data): Remove.
24344 (expm1_test_tonearest): Likewise.
24345 (expm1_towardzero_test_data): Likewise.
24346 (expm1_test_towardzero): Likewise.
24347 (expm1_downward_test_data): Likewise.
24348 (expm1_test_downward): Likewise.
24349 (expm1_upward_test_data): Likewise.
24350 (expm1_test_upward): Likewise.
24351 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24352 (fma_test): Use ALL_RM_TEST.
24353 (fma_towardzero_test_data): Remove.
24354 (fma_test_towardzero): Likewise.
24355 (fma_downward_test_data): Likewise.
24356 (fma_test_downward): Likewise.
24357 (fma_upward_test_data): Likewise.
24358 (fma_test_upward): Likewise.
24359 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24360 (j0_test_data): Update call to AUTO_TESTS_f_f.
24361 (j1_test_data): Likewise.
24362 (jn_test_data): Update call to AUTO_TESTS_if_f.
24363 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24364 (log_test_data): Update call to AUTO_TESTS_f_f.
24365 (log10_test_data): Likewise.
24366 (log1p_test_data): Likewise.
24367 (log2_test_data): Likewise.
24368 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24369 (pow_tonearest_test_data): Likewise.
24370 (sin_test_data): Update call to AUTO_TESTS_f_f.
24371 (sin_test): Use ALL_RM_TEST.
24372 (sin_tonearest_test_data): Remove.
24373 (sin_test_tonearest): Likewise.
24374 (sin_towardzero_test_data): Likewise.
24375 (sin_test_towardzero): Likewise.
24376 (sin_downward_test_data): Likewise.
24377 (sin_test_downward): Likewise.
24378 (sin_upward_test_data): Likewise.
24379 (sin_test_upward): Likewise.
24380 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24381 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24382 (sinh_test): Use ALL_RM_TEST.
24383 (sinh_tonearest_test_data): Remove.
24384 (sinh_test_tonearest): Likewise.
24385 (sinh_towardzero_test_data): Likewise.
24386 (sinh_test_towardzero): Likewise.
24387 (sinh_downward_test_data): Likewise.
24388 (sinh_test_downward): Likewise.
24389 (sinh_upward_test_data): Likewise.
24390 (sinh_test_upward): Likewise.
24391 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24392 (sqrt_test): Use ALL_RM_TEST.
24393 (sqrt_tonearest_test_data): Remove.
24394 (sqrt_test_tonearest): Likewise.
24395 (sqrt_towardzero_test_data): Likewise.
24396 (sqrt_test_towardzero): Likewise.
24397 (sqrt_downward_test_data): Likewise.
24398 (sqrt_test_downward): Likewise.
24399 (sqrt_upward_test_data): Likewise.
24400 (sqrt_test_upward): Likewise.
24401 (tan_test_data): Update call to AUTO_TESTS_f_f.
24402 (tan_test): Use ALL_RM_TEST.
24403 (tan_tonearest_test_data): Remove.
24404 (tan_test_tonearest): Likewise.
24405 (tan_towardzero_test_data): Likewise.
24406 (tan_test_towardzero): Likewise.
24407 (tan_downward_test_data): Likewise.
24408 (tan_test_downward): Likewise.
24409 (tan_upward_test_data): Likewise.
24410 (tan_test_upward): Likewise.
24411 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24412 (tgamma_test_data): Likewise.
24413 (y0_test_data): Likewise.
24414 (y1_test_data): Likewise.
24415 (yn_test_data): Update call to AUTO_TESTS_if_f.
24416 (main): Do not call removed functions.
24418 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24420 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24421 (ldexp_test_data): Remove.
24422 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24424 (scalb_test): Use ALL_RM_TEST.
24426 2014-03-19 Andreas Schwab <schwab@suse.de>
24428 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24430 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24433 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24434 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24437 (__ASSUME_PREADV): Undefine.
24438 (__ASSUME_PWRITEV): Likewise.
24440 2014-03-18 Roland McGrath <roland@hack.frob.com>
24442 * bits/mman-linux.h: Add comment about non-Linux use.
24443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24444 bits/mman-linux.h resting place.
24446 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24447 * bits/mman-linux.h: ... here.
24449 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24451 * conform/conformtest.pl: Add standard definition when calling C
24452 preprocessor on data files.
24453 (checknamespace): Remove unused variable.
24455 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24457 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24458 minus_oflow, plus_uflow and minus_uflow in expected results.
24459 * math/libm-test.inc (scalbn_test_data): Add more tests of
24460 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
24462 (scalbn_test): Use ALL_RM_TEST.
24463 (scalbln_test_data): Add more tests of negative arguments. Use
24464 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24465 (scalbln_test): Use ALL_RM_TEST.
24467 2014-03-18 Roland McGrath <roland@hack.frob.com>
24469 * scripts/abilist.awk: Ignore symbols marked with .hidden.
24471 2014-03-18 Will Newton <will.newton@linaro.org>
24473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24474 inaccurate comment.
24476 2014-03-18 Joseph Myers <joseph@codesourcery.com>
24478 * Makerules [!subdir] (check-abi): Exit with error status if a
24481 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24483 * math/libm-test.inc (nearbyint_test_data): Include all tests used
24484 for rint. Include results for all rounding modes.
24485 (nearbyint_test): Use ALL_RM_TEST.
24486 (rint_test_data): Include all tests used for nearbyint.
24488 2014-03-17 Will Newton <will.newton@linaro.org>
24490 * nptl/sysdeps/pthread/pthread.h: Revert previous
24493 * sysdeps/generic/ldsodefs.h: Revert previous
24496 * libio/genops.c: Revert previous change.
24497 * libio/libioP.h: Likewise.
24498 * stdio-common/vfprintf.c: Likewise.
24500 * sysdeps/generic/math_private.h: Revert previous
24503 * sysdeps/generic/math_private.h: Check whether
24504 HAVE_RM_CTX is defined with #ifdef rather
24507 * argp/argp-fmtstream.h: Check whether
24508 __STRICT_ANSI__ is defined with #ifdef rather
24510 * argp/argp.h: Likewise.
24512 * libio/genops.c: Check whether
24513 _IO_JUMPS_OFFSET is defined with #ifdef rather
24515 * libio/libioP.h: Likewise.
24516 * stdio-common/vfprintf.c: Likewise.
24518 * sysdeps/generic/ldsodefs.h: Check whether
24519 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24522 * nptl/sysdeps/pthread/pthread.h: Check
24523 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24526 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24528 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24530 * libio/tst-ftell-active-handler.c (do_append_test): Add a
24534 * libio/fileops.c (_IO_file_open): Seek to end of file but
24535 don't cache the offset.
24536 (get_file_offset): Remove function.
24537 (do_ftell): Use cached offset when available.
24538 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24539 don't cache the offset.
24540 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24542 (do_one_test): Call it.
24543 (do_ftell_test): Fix up expected old offset for a+ mode.
24544 * libio/wfileops.c (do_ftell_wide): Used cached offset when
24547 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24548 up test status with function return status.
24549 (do_write_test): Likewise.
24550 (do_append_test): Likewise.
24552 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24553 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24556 2014-03-17 Joseph Myers <joseph@codesourcery.com>
24558 * math/gen-libm-test.pl (parse_args): Handle results specified for
24559 each rounding mode separately.
24560 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24561 tests and results from lrint_tonearest_test_data,
24562 lrint_towardzero_test_data, lrint_downward_test_data and
24563 lrint_upward_test_data.
24564 (lrint_test): Use ALL_RM_TEST.
24565 (lrint_tonearest_test_data): Remove.
24566 (lrint_test_tonearest): Likewise.
24567 (lrint_towardzero_test_data): Likewise.
24568 (lrint_test_towardzero): Likewise.
24569 (lrint_downward_test_data): Likewise.
24570 (lrint_test_downward): Likewise.
24571 (lrint_upward_test_data): Likewise.
24572 (lrint_test_upward): Likewise.
24573 (llrint_test_data): Merge in per-rounding-mode tests and results
24574 from llrint_tonearest_test_data, llrint_towardzero_test_data,
24575 llrint_downward_test_data and llrint_upward_test_data.
24576 (llrint_test): Use ALL_RM_TEST.
24577 (llrint_tonearest_test_data): Remove.
24578 (llrint_test_tonearest): Likewise.
24579 (llrint_towardzero_test_data): Likewise.
24580 (llrint_test_towardzero): Likewise.
24581 (llrint_downward_test_data): Likewise.
24582 (llrint_test_downward): Likewise.
24583 (llrint_upward_test_data): Likewise.
24584 (llrint_test_upward): Likewise.
24585 (rint_test_data): Merge in per-rounding-mode tests and results
24586 from rint_tonearest_test_data, rint_towardzero_test_data,
24587 rint_downward_test_data and rint_upward_test_data. Add
24588 per-rounding-mode results for tests not in those arrays.
24589 (rint_test): Use ALL_RM_TEST.
24590 (rint_tonearest_test_data): Remove.
24591 (rint_test_tonearest): Likewise.
24592 (rint_towardzero_test_data): Likewise.
24593 (rint_test_towardzero): Likewise.
24594 (rint_downward_test_data): Likewise.
24595 (rint_test_downward): Likewise.
24596 (rint_upward_test_data): Likewise.
24597 (rint_test_upward): Likewise.
24598 (main): Don't call removed functions.
24600 2014-03-14 Roland McGrath <roland@hack.frob.com>
24602 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
24603 "Compiled on ..." crapola. It is anti-useful.
24605 2014-03-14 Joseph Myers <joseph@codesourcery.com>
24607 * scripts/evaluate-test.sh: Handle fourth argument to determine
24608 whether test run should stop on failure.
24609 * Makeconfig (stop-on-test-failure): New variable.
24610 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
24611 $(stop-on-test-failure).
24612 * Makefile (tests): Give a summary of results from testing and
24613 exit with failure status if they include an ERROR or FAIL.
24614 (xtests): Likewise.
24615 * manual/install.texi (Configuring and compiling): Mention
24616 stop-on-test-failure=y.
24617 * INSTALL: Regenerated.
24619 2014-03-14 Roland McGrath <roland@hack.frob.com>
24621 * scripts/versionlist.awk: New file.
24622 * Makerules [$(build-shared) = yes]
24623 (postclean-generated): Add Versions.def, not Versions.def.v and
24625 ($(common-objpfx)Versions.def.v.i): Target removed.
24626 ($(common-objpfx)Versions.def): New target.
24627 ($(common-objpfx)Versions.all): Depend on that rather that
24628 $(common-objpfx)Versions.def.v.
24629 * Versions.def: File removed.
24631 * Makeconfig (+gccwarn): Add -Wundef.
24632 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
24633 a dl-sysdep.h breaking its contract.
24634 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
24635 * include/stackinfo.h: New file.
24636 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
24637 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
24638 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
24639 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
24640 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
24641 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24642 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24643 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24644 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24645 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24646 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24647 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
24648 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24649 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24650 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
24652 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24655 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
24657 * math/libm-test.inc (round_test_data): Add more tests.
24660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
24662 * math/libm-test.inc (nearbyint_test_data): Add more tests.
24665 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
24667 * math/libm-test.inc (ceil_test_data): Add more tests.
24669 * math/libm-test.inc (trunc_test_data): Add more tests related to
24672 2014-03-14 Roland McGrath <roland@hack.frob.com>
24674 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
24675 with #if rather than #ifdef.
24676 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
24678 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
24680 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
24681 first. Disable AVX-512 GCC support if assembler doesn't support
24683 * sysdeps/x86_64/configure: Regenerated.
24685 2014-03-13 Carlos O'Donell <carlos@redhat.com>
24687 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
24688 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
24689 (__old_pthread_attr_setstack): Likewise.
24690 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
24691 [!_STACK_GROWS_DOWN]: Likewise.
24693 2014-03-13 Mike Frysinger <vapier@gentoo.org>
24695 * config.make.in (have-bash2): Delete.
24696 * configure.ac (libc_cv_have_bash2): Delete.
24697 * configure: Regenerate.
24698 * elf/Makefile (common-ldd-rewrite): Rename to ...
24699 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
24700 (sh-ldd-rewrite): Delete.
24701 (bash-ldd-rewrite): Delete.
24702 (have-bash2): Delete checks.
24703 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
24706 * config.make.in (have-ksh): Delete.
24708 * configure.ac (libc_cv_have_ksh): Delete.
24709 * configure: Regenerate.
24711 * elf/Makefile: Delete $(have-ksh) check.
24712 ($(objpfx)sotruss): Change KSH to BASH.
24713 * elf/sotruss.ksh: Rename to ...
24714 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
24715 function style to match POSIX. Drop ksh vim mode setting.
24717 * manual/time.texi (Specifying the Time Zone with TZ): Change
24718 Tuesday to Thursday.
24720 * debug/tst-longjmp_chk2.c: Update header comment.
24721 (stackoverflow_handler): Add comment. Call assert on pass value.
24723 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
24726 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
24727 (HAVE_AVX512_ASM_SUPPORT): Likewise.
24728 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24729 (La_x86_64_vector): Add zmm.
24730 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
24731 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
24732 ($(objpfx)tst-audit10): New target.
24733 ($(objpfx)tst-audit10.out): Likewise.
24734 (tst-audit10-ENV): New.
24735 (AVX512-CFLAGS): Likewise.
24736 (CFLAGS-tst-audit10.c): Likewise.
24737 (CFLAGS-tst-auditmod10a.c): Likewise.
24738 (CFLAGS-tst-auditmod10b.c): Likewise.
24739 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
24740 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
24741 * sysdeps/x86_64/configure: Regenerated.
24742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
24743 AVX-512 zmm register support.
24744 (_dl_x86_64_save_sse): Likewise.
24745 (_dl_x86_64_restore_sse): Likewise.
24746 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
24747 size vector registers.
24748 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
24749 (ZMM_SIZE): Likewise.
24750 * sysdeps/x86_64/tst-audit10.c: New file.
24751 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
24752 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
24754 2014-03-13 Roland McGrath <roland@hack.frob.com>
24756 * configure.ac (HAVE_EHDR_START): New check.
24757 * configure: Regenerated.
24758 * config.h.in (HAVE_EHDR_START): New #undef.
24759 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
24760 assuming the lowest-addressed segment maps the start of the file.
24762 2014-03-13 Joseph Myers <joseph@codesourcery.com>
24764 * INSTALL: Regenerated.
24766 2014-03-13 Will Newton <will.newton@linaro.org>
24768 * manual/setjmp.texi (System V contexts): Improve
24769 clarity and grammar of documentation.
24771 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
24774 * elf/Makefile (tests): Add tst-pie2.
24775 (tests-pie): Add tst-pie2.
24776 * elf/tst-pie2.c: New file.
24777 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
24779 * elf/rtld.c (map_doit): Load executable as lt_executable.
24780 (dl_main): Likewise.
24782 2014-03-12 Joseph Myers <joseph@codesourcery.com>
24785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24786 (__ASSUME_PSELECT): Undefine.
24788 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24791 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
24792 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
24794 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
24795 selector for static builds.
24797 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24800 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
24803 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24805 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
24806 IFUNC selector for static builds.
24808 2014-03-11 Joseph Myers <joseph@codesourcery.com>
24810 * sysdeps/mips/math_private.h [__mips_hard_float]
24811 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
24812 libc_feresetround_mips_ctx.
24813 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
24814 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
24815 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
24818 * math/s_nextafter.c (__nextafter): Do not return value from
24819 overflowing computation.
24820 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
24821 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
24822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
24824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24826 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
24827 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
24829 2014-03-11 Roland McGrath <roland@hack.frob.com>
24831 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
24832 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
24833 Move sfi_sp use from the load-multiple (that no longer sets sp) to
24834 the new mov targetting sp.
24836 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24839 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
24840 Define it for static builds as well.
24841 (NO_BZERO_IMPL): Likewise.
24843 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24845 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
24846 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
24847 multiarch strspn for PPC64.
24848 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
24849 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
24850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24851 (__libc_ifunc_impl_list): Likewise.
24852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
24853 multiarch optimizations
24854 * string/strspn.c (strspn): Using macro to redefine symbol name.
24856 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24857 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24859 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
24860 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
24861 multiarch strncat for PPC64.
24862 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
24863 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
24864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24865 (__libc_ifunc_impl_list): Likewise.
24866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
24867 multiarch optimizations
24869 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24872 * nscd/nscd.service: Make service type forking.
24874 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24876 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
24877 sign in non default rounding modes.
24878 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
24880 2014-03-08 Joseph Myers <joseph@codesourcery.com>
24882 * math/libm-test.inc (ALL_RM_TEST): New macro.
24883 (ceil_test): Use ALL_RM_TEST.
24884 (cimag_test): Likewise.
24885 (conj_test): Likewise.
24886 (copysign_test): Likewise.
24887 (cproj_test): Likewise.
24888 (creal_test): Likewise.
24889 (fabs_test): Likewise.
24890 (floor_test): Likewise.
24891 (fmax_test): Likewise.
24892 (fmin_test): Likewise.
24893 (fmod_test): Likewise.
24894 (fpclassify_test): Likewise.
24895 (frexp_test): Likewise.
24896 (ilogb_test): Likewise.
24897 (isfinite_test): Likewise.
24898 (finite_test): Likewise.
24899 (isgreater_test): Likewise.
24900 (isgreaterequal_test): Likewise.
24901 (isinf_test): Likewise.
24902 (isless_test): Likewise.
24903 (islessequal_test): Likewise.
24904 (islessgreater_test): Likewise.
24905 (isnan_test): Likewise.
24906 (isnormal_test): Likewise.
24907 (issignaling_test): Likewise.
24908 (isunordered_test): Likewise.
24909 (logb_test): Likewise.
24910 (logb_downward_test_data): Remove.
24911 (logb_test_downward): Likewise.
24912 (lround_test): Use ALL_RM_TEST.
24913 (llround_test): Likewise.
24914 (modf_test): Likewise.
24915 (nexttoward_test): Likewise.
24916 (remainder_test): Likewise.
24917 (drem_test): Likewise.
24918 (remainder_tonearest_test_data): Likewise.
24919 (remainder_test_tonearest): Likewise.
24920 (drem_test_tonearest): Likewise.
24921 (remainder_towardzero_test_data): Likewise.
24922 (remainder_test_towardzero): Likewise.
24923 (drem_test_towardzero): Likewise.
24924 (remainder_downward_test_data): Likewise.
24925 (remainder_test_downward): Likewise.
24926 (drem_test_downward): Likewise.
24927 (remainder_upward_test_data): Likewise.
24928 (remainder_test_upward): Likewise.
24929 (drem_test_upward): Likewise.
24930 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
24931 (round_test): Use ALL_RM_TEST.
24932 (signbit_test): Likewise.
24933 (trunc_test): Likewise.
24934 (significand_test): Likewise.
24935 (main): Don't call removed functions.
24937 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24940 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
24941 || __USE_XOPEN2K8].
24942 (ILL_ILLOPN): Likewise.
24943 (ILL_ILLADR): Likewise.
24944 (ILL_ILLTRP): Likewise.
24945 (ILL_PRVOPC): Likewise.
24946 (ILL_PRVREG): Likewise.
24947 (ILL_COPROC): Likewise.
24948 (ILL_BADSTK): Likewise.
24949 (FPE_INTDIV): Likewise.
24950 (FPE_INTOVF): Likewise.
24951 (FPE_FLTDIV): Likewise.
24952 (FPE_FLTOVF): Likewise.
24953 (FPE_FLTUND): Likewise.
24954 (FPE_FLTRES): Likewise.
24955 (FPE_FLTINV): Likewise.
24956 (FPE_FLTSUB): Likewise.
24957 (SEGV_MAPERR): Likewise.
24958 (SEGV_ACCERR): Likewise.
24959 (BUS_ADRALN): Likewise.
24960 (BUS_ADRERR): Likewise.
24961 (BUS_OBJERR): Likewise.
24962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24963 (TRAP_TRACE): Likewise.
24964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24966 (CLD_KILLED): Likewise.
24967 (CLD_DUMPED): Likewise.
24968 (CLD_TRAPPED): Likewise.
24969 (CLD_STOPPED): Likewise.
24970 (CLD_CONTINUED): Likewise.
24971 (POLL_IN): Likewise.
24972 (POLL_OUT): Likewise.
24973 (POLL_MSG): Likewise.
24974 (POLL_ERR): Likewise.
24975 (POLL_PRI): Likewise.
24976 (POLL_HUP): Likewise.
24977 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24979 (ILL_ILLOPN): Likewise.
24980 (ILL_ILLADR): Likewise.
24981 (ILL_ILLTRP): Likewise.
24982 (ILL_PRVOPC): Likewise.
24983 (ILL_PRVREG): Likewise.
24984 (ILL_COPROC): Likewise.
24985 (ILL_BADSTK): Likewise.
24986 (FPE_INTDIV): Likewise.
24987 (FPE_INTOVF): Likewise.
24988 (FPE_FLTDIV): Likewise.
24989 (FPE_FLTOVF): Likewise.
24990 (FPE_FLTUND): Likewise.
24991 (FPE_FLTRES): Likewise.
24992 (FPE_FLTINV): Likewise.
24993 (FPE_FLTSUB): Likewise.
24994 (SEGV_MAPERR): Likewise.
24995 (SEGV_ACCERR): Likewise.
24996 (BUS_ADRALN): Likewise.
24997 (BUS_ADRERR): Likewise.
24998 (BUS_OBJERR): Likewise.
24999 (BUS_MCEERR_AR): Likewise.
25000 (BUS_MCEERR_AO): Likewise.
25001 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25002 (TRAP_TRACE): Likewise.
25003 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25005 (CLD_KILLED): Likewise.
25006 (CLD_DUMPED): Likewise.
25007 (CLD_TRAPPED): Likewise.
25008 (CLD_STOPPED): Likewise.
25009 (CLD_CONTINUED): Likewise.
25010 (POLL_IN): Likewise.
25011 (POLL_OUT): Likewise.
25012 (POLL_MSG): Likewise.
25013 (POLL_ERR): Likewise.
25014 (POLL_PRI): Likewise.
25015 (POLL_HUP): Likewise.
25016 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25017 (ILL_ILLOPN): Likewise.
25018 (ILL_ILLADR): Likewise.
25019 (ILL_ILLTRP): Likewise.
25020 (ILL_PRVOPC): Likewise.
25021 (ILL_PRVREG): Likewise.
25022 (ILL_COPROC): Likewise.
25023 (ILL_BADSTK): Likewise.
25024 (FPE_INTDIV): Likewise.
25025 (FPE_INTOVF): Likewise.
25026 (FPE_FLTDIV): Likewise.
25027 (FPE_FLTOVF): Likewise.
25028 (FPE_FLTUND): Likewise.
25029 (FPE_FLTRES): Likewise.
25030 (FPE_FLTINV): Likewise.
25031 (FPE_FLTSUB): Likewise.
25032 (SEGV_MAPERR): Likewise.
25033 (SEGV_ACCERR): Likewise.
25034 (BUS_ADRALN): Likewise.
25035 (BUS_ADRERR): Likewise.
25036 (BUS_OBJERR): Likewise.
25037 (BUS_MCEERR_AR): Likewise.
25038 (BUS_MCEERR_AO): Likewise.
25039 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25040 (TRAP_TRACE): Likewise.
25041 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25043 (CLD_KILLED): Likewise.
25044 (CLD_DUMPED): Likewise.
25045 (CLD_TRAPPED): Likewise.
25046 (CLD_STOPPED): Likewise.
25047 (CLD_CONTINUED): Likewise.
25048 (POLL_IN): Likewise.
25049 (POLL_OUT): Likewise.
25050 (POLL_MSG): Likewise.
25051 (POLL_ERR): Likewise.
25052 (POLL_PRI): Likewise.
25053 (POLL_HUP): Likewise.
25054 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25056 (ILL_ILLOPN): Likewise.
25057 (ILL_ILLADR): Likewise.
25058 (ILL_ILLTRP): Likewise.
25059 (ILL_PRVOPC): Likewise.
25060 (ILL_PRVREG): Likewise.
25061 (ILL_COPROC): Likewise.
25062 (ILL_BADSTK): Likewise.
25063 (ILL_BADIADDR): Likewise.
25064 (ILL_BREAK): Likewise.
25065 (FPE_INTDIV): Likewise.
25066 (FPE_INTOVF): Likewise.
25067 (FPE_FLTDIV): Likewise.
25068 (FPE_FLTOVF): Likewise.
25069 (FPE_FLTUND): Likewise.
25070 (FPE_FLTRES): Likewise.
25071 (FPE_FLTINV): Likewise.
25072 (FPE_FLTSUB): Likewise.
25073 (FPE_DECOVF): Likewise.
25074 (FPE_DECDIV): Likewise.
25075 (FPE_DECERR): Likewise.
25076 (FPE_INVASC): Likewise.
25077 (FPE_INVDEC): Likewise.
25078 (SEGV_MAPERR): Likewise.
25079 (SEGV_ACCERR): Likewise.
25080 (SEGV_PSTKOVF): Likewise.
25081 (BUS_ADRALN): Likewise.
25082 (BUS_ADRERR): Likewise.
25083 (BUS_OBJERR): Likewise.
25084 (BUS_MCEERR_AR): Likewise.
25085 (BUS_MCEERR_AO): Likewise.
25086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25087 (TRAP_TRACE): Likewise.
25088 (TRAP_BRANCH): Likewise.
25089 (TRAP_HWBKPT): Likewise.
25090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25092 (CLD_KILLED): Likewise.
25093 (CLD_DUMPED): Likewise.
25094 (CLD_TRAPPED): Likewise.
25095 (CLD_STOPPED): Likewise.
25096 (CLD_CONTINUED): Likewise.
25097 (POLL_IN): Likewise.
25098 (POLL_OUT): Likewise.
25099 (POLL_MSG): Likewise.
25100 (POLL_ERR): Likewise.
25101 (POLL_PRI): Likewise.
25102 (POLL_HUP): Likewise.
25103 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25104 (ILL_ILLOPN): Likewise.
25105 (ILL_ILLADR): Likewise.
25106 (ILL_ILLTRP): Likewise.
25107 (ILL_PRVOPC): Likewise.
25108 (ILL_PRVREG): Likewise.
25109 (ILL_COPROC): Likewise.
25110 (ILL_BADSTK): Likewise.
25111 (FPE_INTDIV): Likewise.
25112 (FPE_INTOVF): Likewise.
25113 (FPE_FLTDIV): Likewise.
25114 (FPE_FLTOVF): Likewise.
25115 (FPE_FLTUND): Likewise.
25116 (FPE_FLTRES): Likewise.
25117 (FPE_FLTINV): Likewise.
25118 (FPE_FLTSUB): Likewise.
25119 (SEGV_MAPERR): Likewise.
25120 (SEGV_ACCERR): Likewise.
25121 (BUS_ADRALN): Likewise.
25122 (BUS_ADRERR): Likewise.
25123 (BUS_OBJERR): Likewise.
25124 (BUS_MCEERR_AR): Likewise.
25125 (BUS_MCEERR_AO): Likewise.
25126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25127 (TRAP_TRACE): Likewise.
25128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25130 (CLD_KILLED): Likewise.
25131 (CLD_DUMPED): Likewise.
25132 (CLD_TRAPPED): Likewise.
25133 (CLD_STOPPED): Likewise.
25134 (CLD_CONTINUED): Likewise.
25135 (POLL_IN): Likewise.
25136 (POLL_OUT): Likewise.
25137 (POLL_MSG): Likewise.
25138 (POLL_ERR): Likewise.
25139 (POLL_PRI): Likewise.
25140 (POLL_HUP): Likewise.
25141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25142 (ILL_ILLOPN): Likewise.
25143 (ILL_ILLADR): Likewise.
25144 (ILL_ILLTRP): Likewise.
25145 (ILL_PRVOPC): Likewise.
25146 (ILL_PRVREG): Likewise.
25147 (ILL_COPROC): Likewise.
25148 (ILL_BADSTK): Likewise.
25149 (FPE_INTDIV): Likewise.
25150 (FPE_INTOVF): Likewise.
25151 (FPE_FLTDIV): Likewise.
25152 (FPE_FLTOVF): Likewise.
25153 (FPE_FLTUND): Likewise.
25154 (FPE_FLTRES): Likewise.
25155 (FPE_FLTINV): Likewise.
25156 (FPE_FLTSUB): Likewise.
25157 (SEGV_MAPERR): Likewise.
25158 (SEGV_ACCERR): Likewise.
25159 (BUS_ADRALN): Likewise.
25160 (BUS_ADRERR): Likewise.
25161 (BUS_OBJERR): Likewise.
25162 (BUS_MCEERR_AR): Likewise.
25163 (BUS_MCEERR_AO): Likewise.
25164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25165 (TRAP_TRACE): Likewise.
25166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25168 (CLD_KILLED): Likewise.
25169 (CLD_DUMPED): Likewise.
25170 (CLD_TRAPPED): Likewise.
25171 (CLD_STOPPED): Likewise.
25172 (CLD_CONTINUED): Likewise.
25173 (POLL_IN): Likewise.
25174 (POLL_OUT): Likewise.
25175 (POLL_MSG): Likewise.
25176 (POLL_ERR): Likewise.
25177 (POLL_PRI): Likewise.
25178 (POLL_HUP): Likewise.
25179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25180 (ILL_ILLOPN): Likewise.
25181 (ILL_ILLADR): Likewise.
25182 (ILL_ILLTRP): Likewise.
25183 (ILL_PRVOPC): Likewise.
25184 (ILL_PRVREG): Likewise.
25185 (ILL_COPROC): Likewise.
25186 (ILL_BADSTK): Likewise.
25187 (FPE_INTDIV): Likewise.
25188 (FPE_INTOVF): Likewise.
25189 (FPE_FLTDIV): Likewise.
25190 (FPE_FLTOVF): Likewise.
25191 (FPE_FLTUND): Likewise.
25192 (FPE_FLTRES): Likewise.
25193 (FPE_FLTINV): Likewise.
25194 (FPE_FLTSUB): Likewise.
25195 (SEGV_MAPERR): Likewise.
25196 (SEGV_ACCERR): Likewise.
25197 (BUS_ADRALN): Likewise.
25198 (BUS_ADRERR): Likewise.
25199 (BUS_OBJERR): Likewise.
25200 (BUS_MCEERR_AR): Likewise.
25201 (BUS_MCEERR_AO): Likewise.
25202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25203 (TRAP_TRACE): Likewise.
25204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25206 (CLD_KILLED): Likewise.
25207 (CLD_DUMPED): Likewise.
25208 (CLD_TRAPPED): Likewise.
25209 (CLD_STOPPED): Likewise.
25210 (CLD_CONTINUED): Likewise.
25211 (POLL_IN): Likewise.
25212 (POLL_OUT): Likewise.
25213 (POLL_MSG): Likewise.
25214 (POLL_ERR): Likewise.
25215 (POLL_PRI): Likewise.
25216 (POLL_HUP): Likewise.
25217 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25218 (ILL_ILLOPN): Likewise.
25219 (ILL_ILLADR): Likewise.
25220 (ILL_ILLTRP): Likewise.
25221 (ILL_PRVOPC): Likewise.
25222 (ILL_PRVREG): Likewise.
25223 (ILL_COPROC): Likewise.
25224 (ILL_BADSTK): Likewise.
25225 (ILL_DBLFLT): Likewise.
25226 (ILL_HARDWALL): Likewise.
25227 (FPE_INTDIV): Likewise.
25228 (FPE_INTOVF): Likewise.
25229 (FPE_FLTDIV): Likewise.
25230 (FPE_FLTOVF): Likewise.
25231 (FPE_FLTUND): Likewise.
25232 (FPE_FLTRES): Likewise.
25233 (FPE_FLTINV): Likewise.
25234 (FPE_FLTSUB): Likewise.
25235 (SEGV_MAPERR): Likewise.
25236 (SEGV_ACCERR): Likewise.
25237 (BUS_ADRALN): Likewise.
25238 (BUS_ADRERR): Likewise.
25239 (BUS_OBJERR): Likewise.
25240 (BUS_MCEERR_AR): Likewise.
25241 (BUS_MCEERR_AO): Likewise.
25242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25243 (TRAP_TRACE): Likewise.
25244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25246 (CLD_KILLED): Likewise.
25247 (CLD_DUMPED): Likewise.
25248 (CLD_TRAPPED): Likewise.
25249 (CLD_STOPPED): Likewise.
25250 (CLD_CONTINUED): Likewise.
25251 (POLL_IN): Likewise.
25252 (POLL_OUT): Likewise.
25253 (POLL_MSG): Likewise.
25254 (POLL_ERR): Likewise.
25255 (POLL_PRI): Likewise.
25256 (POLL_HUP): Likewise.
25257 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25258 (ILL_ILLOPN): Likewise.
25259 (ILL_ILLADR): Likewise.
25260 (ILL_ILLTRP): Likewise.
25261 (ILL_PRVOPC): Likewise.
25262 (ILL_PRVREG): Likewise.
25263 (ILL_COPROC): Likewise.
25264 (ILL_BADSTK): Likewise.
25265 (FPE_INTDIV): Likewise.
25266 (FPE_INTOVF): Likewise.
25267 (FPE_FLTDIV): Likewise.
25268 (FPE_FLTOVF): Likewise.
25269 (FPE_FLTUND): Likewise.
25270 (FPE_FLTRES): Likewise.
25271 (FPE_FLTINV): Likewise.
25272 (FPE_FLTSUB): Likewise.
25273 (SEGV_MAPERR): Likewise.
25274 (SEGV_ACCERR): Likewise.
25275 (BUS_ADRALN): Likewise.
25276 (BUS_ADRERR): Likewise.
25277 (BUS_OBJERR): Likewise.
25278 (BUS_MCEERR_AR): Likewise.
25279 (BUS_MCEERR_AO): Likewise.
25280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25281 (TRAP_TRACE): Likewise.
25282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25284 (CLD_KILLED): Likewise.
25285 (CLD_DUMPED): Likewise.
25286 (CLD_TRAPPED): Likewise.
25287 (CLD_STOPPED): Likewise.
25288 (CLD_CONTINUED): Likewise.
25289 (POLL_IN): Likewise.
25290 (POLL_OUT): Likewise.
25291 (POLL_MSG): Likewise.
25292 (POLL_ERR): Likewise.
25293 (POLL_PRI): Likewise.
25294 (POLL_HUP): Likewise.
25295 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25296 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25299 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25300 before #include of <time.h>.
25301 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25302 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25303 (test-xfail-UNIX98/sched.h/conform): Likewise.
25305 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25307 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25308 error absence of trapping exception support.
25309 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25311 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25313 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25314 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25315 * timezone/Makefile (testdata): Move definition above include of
25317 (test-zones): New variable.
25318 (tests-special): Add zone files.
25319 (build-testdata): Use $(evaluate-test).
25321 * elf/Makefile (tests-special): Rename tests to end with .out.
25322 ($(objpfx)noload-mem): Likewise.
25323 ($(objpfx)tst-leaks1-mem): Likewise.
25324 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25325 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25326 $(objpfx)test-iconvconfig.out.
25327 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25328 set -e inside subshell and redirect output to file.
25329 * iconvdata/Makefile (generated): Rename tests to end with .out.
25331 (tests-special): Rename tests to end with .out.
25332 ($(objpfx)mtrace-tst-loading): Likewise.
25333 * intl/Makefile (generated): Likewise.
25334 (tests-special): Likewise.
25335 ($(objpfx)mtrace-tst-gettext): Likewise.
25336 * misc/Makefile (generated): Likewise.
25337 (tests-special): Likewise.
25338 ($(objpfx)tst-error1-mem): Likewise.
25339 * nptl/Makefile (tests-special): Likewise.
25340 ($(objpfx)tst-stack3-mem): Likewise.
25341 (generated): Likewise.
25342 * posix/Makefile (generated): Likewise.
25343 (tests-special): Likewise.
25344 (xtests-special): Likewise.
25345 ($(objpfx)tst-fnmatch-mem): Likewise.
25346 ($(objpfx)bug-regex2-mem): Likewise.
25347 ($(objpfx)bug-regex14-mem): Likewise.
25348 ($(objpfx)bug-regex21-mem): Likewise.
25349 ($(objpfx)bug-regex31-mem): Likewise.
25350 ($(objpfx)tst-vfork3-mem): Likewise.
25351 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25352 ($(objpfx)tst-pcre-mem): Likewise.
25353 ($(objpfx)tst-boost-mem): Likewise.
25354 ($(objpfx)bug-ga2-mem): Likewise.
25355 ($(objpfx)bug-glob2-mem): Likewise.
25356 * resolv/Makefile (generate): Likewise.
25357 (tests-special): Likewise.
25358 (xtests-special): Likewise.
25359 (generated): Likewise.
25360 ($(objpfx)mtrace-tst-leaks): Likewise.
25361 ($(objpfx)mtrace-tst-leaks2): Likewise.
25363 * scripts/merge-test-results.sh: New file.
25364 * Makefile (tests-special-notdir): New variable.
25365 (tests): Run merge-test-results.sh.
25366 (xtests): Likewise.
25367 * Rules (tests-special-notdir): New variable.
25368 (xtests-special-notdir): Likewise.
25369 (tests): Run merge-test-results.sh
25370 (xtests): Likewise.
25372 * Makeconfig (test-xfail-name): New variable.
25373 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25374 compute variable name for expected failures.
25375 * conform/Makefile (conformtest-headers-data): New variable.
25376 (conformtest-standards): Likewise.
25377 (conformtest-headers-ISO): Likewise.
25378 (conformtest-headers-ISO99): Likewise.
25379 (conformtest-headers-ISO11): Likewise.
25380 (conformtest-headers-POSIX): Likewise.
25381 (conformtest-headers-XPG3): Likewise.
25382 (conformtest-headers-XPG4): Likewise.
25383 (conformtest-headers-UNIX98): Likewise.
25384 (conformtest-headers-XOPEN2K): Likewise.
25385 (conformtest-headers-POSIX2008): Likewise.
25386 (conformtest-headers-XOPEN2K8): Likewise.
25387 (conformtest-header-list-base): Likewise.
25388 (conformtest-header-list-tests): Likewise.
25389 (conformtest-header-base): Likewise.
25390 (conformtest-header-tests): Likewise.
25391 (tests-special): Add $(conformtest-header-list-tests). If
25392 [$(fast-check) && !$(cross-compiling)], add
25393 $(conformtest-header-tests) instead of
25394 $(objpfx)run-conformtest.out.
25395 (generated): Add $(conformtest-header-list-base). If
25396 [$(fast-check) && !$(cross-compiling)], add
25397 $(conformtest-header-base). Remove previous setting.
25398 ($(conformtest-header-list-tests)): New target.
25399 (test-xfail-run-conformtest): Remove variable.
25400 ($(objpfx)run-conformtest.out): Remove target.
25401 (test-xfail-ISO11/complex.h/conform): New variable.
25402 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25403 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25404 (test-xfail-XPG3/varargs.h/conform): Likewise.
25405 (test-xfail-XPG4/varargs.h/conform): Likewise.
25406 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25407 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25408 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25409 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25410 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25411 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25412 (test-xfail-XPG3/ftw.h/conform): Likewise.
25413 (test-xfail-XPG3/grp.h/conform): Likewise.
25414 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25415 (test-xfail-XPG3/limits.h/conform): Likewise.
25416 (test-xfail-XPG3/pwd.h/conform): Likewise.
25417 (test-xfail-XPG3/search.h/conform): Likewise.
25418 (test-xfail-XPG3/signal.h/conform): Likewise.
25419 (test-xfail-XPG3/stdio.h/conform): Likewise.
25420 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25421 (test-xfail-XPG3/string.h/conform): Likewise.
25422 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25423 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25424 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25425 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25426 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25427 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25428 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25429 (test-xfail-XPG3/termios.h/conform): Likewise.
25430 (test-xfail-XPG3/time.h/conform): Likewise.
25431 (test-xfail-XPG3/unistd.h/conform): Likewise.
25432 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25433 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25434 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25435 (test-xfail-XPG4/netdb.h/conform): Likewise.
25436 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25437 (test-xfail-XPG4/signal.h/conform): Likewise.
25438 (test-xfail-XPG4/stdio.h/conform): Likewise.
25439 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25440 (test-xfail-XPG4/stropts.h/conform): Likewise.
25441 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25442 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25443 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25444 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25445 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25446 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25447 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25448 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25449 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25450 (test-xfail-XPG4/termios.h/conform): Likewise.
25451 (test-xfail-XPG4/ucontext.h/conform): Likewise.
25452 (test-xfail-XPG4/unistd.h/conform): Likewise.
25453 (test-xfail-XPG4/utmpx.h/conform): Likewise.
25454 (test-xfail-POSIX/sched.h/conform): Likewise.
25455 (test-xfail-POSIX/signal.h/conform): Likewise.
25456 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25457 (test-xfail-POSIX/tar.h/conform): Likewise.
25458 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25459 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25460 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25461 (test-xfail-UNIX98/netdb.h/conform): Likewise.
25462 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25463 (test-xfail-UNIX98/sched.h/conform): Likewise.
25464 (test-xfail-UNIX98/signal.h/conform): Likewise.
25465 (test-xfail-UNIX98/stdio.h/conform): Likewise.
25466 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25467 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25468 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25469 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25470 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25471 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25472 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25473 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25474 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25475 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25476 (test-xfail-UNIX98/unistd.h/conform): Likewise.
25477 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25478 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25479 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25480 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25481 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25482 (test-xfail-XOPEN2K/math.h/conform): Likewise.
25483 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25484 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25485 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25486 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25487 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25488 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25489 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25490 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25491 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25492 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25493 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25494 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25495 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25496 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25497 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25498 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25499 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25500 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25501 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25502 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25503 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25504 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25505 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25506 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25507 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25508 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25509 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25510 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25511 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25512 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25513 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25514 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25515 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25516 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25517 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25518 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25519 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25520 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25521 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25522 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25523 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25524 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25525 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25526 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25527 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25528 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25529 (conformtest-cc-flags): Likewise.
25530 ($(conformtest-header-tests): New target.
25531 * conform/check-header-lists.sh: New file.
25532 * conform/run-conformtest.sh: Remove.
25534 * conform/conformtest.pl: Allow ' and \ in values given for
25536 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25538 [POSIX] (sys/types.h): Likewise.
25539 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25541 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25543 * conform/data/signal.h-data (SIGIO): Remove expectation.
25544 [XPG3] (SIGBUS): Do not expect.
25545 [POSIX || XPG3] (SIGPOLL): Likewise.
25546 [POSIX || XPG3] (SIGPROF): Likewise.
25547 [POSIX || XPG3] (SIGSYS): Likewise.
25548 [XPG3] (SIGTRAP): Likewise.
25549 [POSIX || XPG3] (SIGURG): Likewise.
25550 [POSIX || XPG3] (SIGVTALRM): Likewise.
25551 [POSIX || XPG3] (SIGXCPU): Likewise.
25552 [POSIX || XPG3] (SIGXFSZ): Likewise.
25553 [POSIX] (SA_SIGINFO): Expect.
25554 [XPG3] (siginfo_t): Do not expect type or contents.
25555 [POSIX] (si_pid): Do not expect element.
25556 [POSIX] (si_uid): Likewise.
25557 [POSIX] (si_addr): Likewise.
25558 [POSIX] (si_status): Likewise.
25559 [POSIX] (si_band): Likewise.
25560 [XPG4] (si_value): Likewise.
25561 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25562 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25563 [POSIX || XPG3] (ILL_ILLADR): Likewise.
25564 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25565 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25566 [POSIX || XPG3] (ILL_PRVREG): Likewise.
25567 [POSIX || XPG3] (ILL_COPROC): Likewise.
25568 [POSIX || XPG3] (ILL_BADSTK): Likewise.
25569 [POSIX || XPG3] (FPE_INTDIV): Likewise.
25570 [POSIX || XPG3] (FPE_INTOVF): Likewise.
25571 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25572 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25573 [POSIX || XPG3] (FPE_FLTUND): Likewise.
25574 [POSIX || XPG3] (FPE_FLTRES): Likewise.
25575 [POSIX || XPG3] (FPE_FLTINV): Likewise.
25576 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25577 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25578 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25579 [POSIX || XPG3] (BUS_ADRALN): Likewise.
25580 [POSIX || XPG3] (BUS_ADRERR): Likewise.
25581 [POSIX || XPG3] (BUS_OBJERR): Likewise.
25582 [POSIX || XPG3] (CLD_EXITED): Likewise.
25583 [POSIX || XPG3] (CLD_KILLED): Likewise.
25584 [POSIX || XPG3] (CLD_DUMPED): Likewise.
25585 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25586 [POSIX || XPG3] (CLD_STOPPED): Likewise.
25587 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25588 [POSIX || XPG3] (POLL_IN): Likewise.
25589 [POSIX || XPG3] (POLL_OUT): Likewise.
25590 [POSIX || XPG3] (POLL_MSG): Likewise.
25591 [POSIX || XPG3] (POLL_ERR): Likewise.
25592 [POSIX || XPG3] (POLL_PRI): Likewise.
25593 [POSIX || XPG3] (POLL_HUP): Likewise.
25594 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25595 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25596 (SIG*): Do not allow.
25597 [XPG3] (si_*): Likewise.
25598 [XPG3] (SI_*): Likewise.
25599 [XPG3 || XPG4] (sigev_*): Likewise.
25600 [XPG3 || XPG4] (SIGEV_*): Likewise.
25601 [XPG3 || XPG4] (sival_*): Likewise.
25602 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
25603 [POSIX || XPG3] (BUS_*): Likewise.
25604 [POSIX || XPG3] (CLD_*): Likewise.
25605 [POSIX || XPG3] (FPE_*): Likewise.
25606 [POSIX || XPG3] (ILL_*): Likewise.
25607 [POSIX || XPG3] (POLL_*): Likewise.
25608 [POSIX || XPG3] (SEGV_*): Likewise.
25609 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
25610 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
25611 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
25612 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
25613 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
25614 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
25615 Specify type and value.
25616 (TVERSLEN): Likewise.
25617 (REGTYPE): Likewise.
25618 (AREGTYPE): Likewise.
25619 (LNKTYPE): Likewise.
25620 (SYMTYPE): Likewise.
25621 (CHRTYPE): Likewise.
25622 (BLKTYPE): Likewise.
25623 (DIRTYPE): Likewise.
25624 (FIFOTYPE): Likewise.
25625 (CONTTYPE): Likewise.
25629 (TUREAD): Likewise.
25630 (TUWRITE): Likewise.
25631 (TUEXEC): Likewise.
25632 (TGREAD): Likewise.
25633 (TGWRITE): Likewise.
25634 (TGEXEC): Likewise.
25635 (TOREAD): Likewise.
25636 (TOWRITE): Likewise.
25637 (TOEXEC): Likewise.
25638 [POSIX] (TSVTX): Expect constant.
25640 2014-03-06 Joseph Myers <joseph@codesourcery.com>
25642 * Makefile (tests): Change dependencies to ....
25643 (tests-special): ... additions to this variable.
25644 (tests): Depend on $(tests-special).
25645 * Makerules (check-abi-list): New variable.
25646 (check-abi): Depend on $(check-abi-list).
25647 [$(subdir) = elf] (tests-special): Add
25648 $(objpfx)check-abi-libc.out.
25649 [$(build-shared) = yes && subdir] (tests-special): Add
25651 [$(build-shared) = yes && subdir] (tests): Do not depend on
25653 * Rules (tests): Depend on $(tests-special).
25654 (xtests): Depend on $(xtests-special).
25655 * catgets/Makefile (tests): Change dependencies to ....
25656 (tests-special): ... additions to this variable.
25657 * conform/Makefile (tests): Change dependencies to ....
25658 (tests-special): ... additions to this variable.
25659 * elf/Makefile (tests): Change dependencies to ....
25660 (tests-special): ... additions to this variable.
25661 * grp/Makefile (tests): Change dependencies to ....
25662 (tests-special): ... additions to this variable.
25663 * iconv/Makefile (xtests): Change dependencies to ....
25664 (xtests-special): ... additions to this variable.
25665 * iconvdata/Makefile (tests): Change dependencies to ....
25666 (tests-special): ... additions to this variable.
25667 * intl/Makefile (tests): Change dependencies to ....
25668 (tests-special): ... additions to this variable. Also add
25669 $(objpfx)tst-gettext.out.
25670 * io/Makefile (tests): Change dependencies to ....
25671 (tests-special): ... additions to this variable.
25672 * libio/Makefile (tests): Change dependencies to ....
25673 (tests-special): ... additions to this variable.
25674 * malloc/Makefile (tests): Change dependencies to ....
25675 (tests-special): ... additions to this variable.
25676 * misc/Makefile (tests): Change dependencies to ....
25677 (tests-special): ... additions to this variable.
25678 * nptl/Makefile (tests): Change dependencies to ....
25679 (tests-special): ... additions to this variable.
25680 * nptl_db/Makefile (tests): Change dependencies to ....
25681 (tests-special): ... additions to this variable.
25682 * posix/Makefile (tests): Change dependencies to ....
25683 (tests-special): ... additions to this variable.
25684 (xtests): Change dependencies to ....
25685 (xtests-special): ... additions to this variable.
25686 * resolv/Makefile (tests): Change dependencies to ....
25687 (tests-special): ... additions to this variable.
25688 (xtests): Change dependencies to ....
25689 (xtests-special): ... additions to this variable.
25690 * stdio-common/Makefile (tests): Change dependencies to ....
25691 (tests-special): ... additions to this variable.
25692 (do-tst-unbputc): Remove target.
25693 (do-tst-printf): Likewise.
25694 * stdlib/Makefile (tests): Change dependencies to ....
25695 (tests-special): ... additions to this variable.
25696 * string/Makefile (tests): Change dependencies to ....
25697 (tests-special): ... additions to this variable.
25698 * sysdeps/x86/Makefile (tests): Change dependencies to ....
25699 (tests-special): ... additions to this variable.
25701 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
25703 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
25705 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
25706 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
25708 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
25709 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
25710 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
25711 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
25712 * conform/data/libgen.h-data [XPG3]: Likewise.
25713 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
25714 * conform/data/ndbm.h-data [XPG3]: Likewise.
25715 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25716 * conform/data/netdb.h-data [XPG3]: Likewise.
25717 * conform/data/netinet/in.h-data [XPG3]: Likewise.
25718 * conform/data/poll.h-data [XPG3]: Likewise.
25719 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
25720 * conform/data/strings.h-data [XPG3]: Likewise.
25721 * conform/data/stropts.h-data [XPG3]: Likewise.
25722 * conform/data/sys/mman.h-data [XPG3]: Likewise.
25723 * conform/data/sys/resource.h-data [XPG3]: Likewise.
25724 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
25726 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
25727 * conform/data/sys/time.h-data [XPG3]: Likewise.
25728 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
25729 * conform/data/sys/uio.h-data [XPG3]: Likewise.
25730 * conform/data/sys/un.h-data [XPG3]: Likewise.
25731 * conform/data/syslog.h-data [XPG3]: Likewise.
25732 * conform/data/ucontext.h-data [XPG3]: Likewise.
25733 * conform/data/utmpx.h-data [XPG3]: Likewise.
25734 * conform/data/varargs.h-data [UNIX98]: Enable file.
25736 * manual/Makefile (INSTALL_INFO): Remove variable setting.
25738 * math/libm-test.inc (struct test_f_f_data): Move expected results
25739 into structure for each rounding mode.
25740 (struct test_ff_f_data): Likewise.
25741 (struct test_ff_f_data_nexttoward): Likewise.
25742 (struct test_fi_f_data): Likewise.
25743 (struct test_fl_f_data): Likewise.
25744 (struct test_if_f_data): Likewise.
25745 (struct test_fff_f_data): Likewise.
25746 (struct test_c_f_data): Likewise.
25747 (struct test_f_f1_data): Likewise.
25748 (struct test_fF_f1_data): Likewise.
25749 (struct test_ffI_f1_data): Likewise.
25750 (struct test_c_c_data): Likewise.
25751 (struct test_cc_c_data): Likewise.
25752 (struct test_f_i_data): Likewise.
25753 (struct test_ff_i_data): Likewise.
25754 (struct test_f_l_data): Likewise.
25755 (struct test_f_L_data): Likewise.
25756 (struct test_fFF_11_data): Likewise.
25758 (RM_FE_DOWNWARD): Likewise.
25759 (RM_FE_TONEAREST): Likewise.
25760 (RM_FE_TOWARDZERO): Likewise.
25761 (RM_FE_UPWARD): Likewise.
25762 (RUN_TEST_LOOP_f_f): Update references to expected results.
25763 (RUN_TEST_LOOP_2_f): Likewise.
25764 (RUN_TEST_LOOP_fff_f): Likewise.
25765 (RUN_TEST_LOOP_c_f): Likewise.
25766 (RUN_TEST_LOOP_f_f1): Likewise.
25767 (RUN_TEST_LOOP_fF_f1): Likewise.
25768 (RUN_TEST_LOOP_fI_f1): Likewise.
25769 (RUN_TEST_LOOP_ffI_f1): Likewise.
25770 (RUN_TEST_LOOP_c_c): Likewise.
25771 (RUN_TEST_LOOP_cc_c): Likewise.
25772 (RUN_TEST_LOOP_f_i): Likewise.
25773 (RUN_TEST_LOOP_f_i_tg): Likewise.
25774 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25775 (RUN_TEST_LOOP_f_b): Likewise.
25776 (RUN_TEST_LOOP_f_b_tg): Likewise.
25777 (RUN_TEST_LOOP_f_l): Likewise.
25778 (RUN_TEST_LOOP_f_L): Likewise.
25779 (RUN_TEST_LOOP_fFF_11): Likewise.
25780 * math/gen-libm-test.pl (parse_args): Output four copies of
25781 expected results for each test.
25783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25784 (__ASSUME_UTIMES): Remove.
25785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25786 (__ASSUME_UTIMES): Likewise.
25788 * math/gen-auto-libm-tests.c: Update comment on output format.
25789 (output_for_one_input_case): Generate before-rounding and
25790 after-rounding information as conditions on output flags not
25791 floating-point format.
25792 * math/auto-libm-test-out: Regenerated.
25793 * math/gen-libm-test.pl (cond_value): New function.
25794 (or_cond_value): Use cond_value.
25795 (generate_testfile): Handle conditional exceptions.
25797 2014-03-05 Joseph Myers <joseph@codesourcery.com>
25799 * math/libm-test.inc (max_valid_error): New variable.
25800 (init_max_error): Take new argument specifying whether function
25801 results are exactly determined. Set max_valid_error and bound
25802 other variables for errors based on this argument.
25803 (set_max_error): Do not record results above max_valid_error.
25804 (check_float_internal): Only accept errors of up to 0.5ulps if
25805 also at most max_valid_error.
25806 (START): Take new argument EXACT and pass it to init_max_error.
25807 (acos_test): Update call to START.
25808 (acos_test_tonearest): Likewise.
25809 (acos_test_towardzero): Likewise.
25810 (acos_test_downward): Likewise.
25811 (acos_test_upward): Likewise.
25812 (acosh_test): Likewise.
25813 (asin_test): Likewise.
25814 (asin_test_tonearest): Likewise.
25815 (asin_test_towardzero): Likewise.
25816 (asin_test_downward): Likewise.
25817 (asin_test_upward): Likewise.
25818 (asinh_test): Likewise.
25819 (atan_test): Likewise.
25820 (atanh_test): Likewise.
25821 (atan2_test): Likewise.
25822 (cabs_test): Likewise.
25823 (cacos_test): Likewise.
25824 (cacosh_test): Likewise.
25825 (carg_test): Likewise.
25826 (casin_test): Likewise.
25827 (casinh_test): Likewise.
25828 (catan_test): Likewise.
25829 (catanh_test): Likewise.
25830 (cbrt_test): Likewise.
25831 (ccos_test): Likewise.
25832 (ccosh_test): Likewise.
25833 (ceil_test): Likewise.
25834 (cexp_test): Likewise.
25835 (cimag_test): Likewise.
25836 (clog_test): Likewise.
25837 (clog10_test): Likewise.
25838 (conj_test): Likewise.
25839 (copysign_test): Likewise.
25840 (cos_test): Likewise.
25841 (cos_test_tonearest): Likewise.
25842 (cos_test_towardzero): Likewise.
25843 (cos_test_downward): Likewise.
25844 (cos_test_upward): Likewise.
25845 (cosh_test): Likewise.
25846 (cosh_test_tonearest): Likewise.
25847 (cosh_test_towardzero): Likewise.
25848 (cosh_test_downward): Likewise.
25849 (cosh_test_upward): Likewise.
25850 (cpow_test): Likewise.
25851 (cproj_test): Likewise.
25852 (creal_test): Likewise.
25853 (csin_test): Likewise.
25854 (csinh_test): Likewise.
25855 (csqrt_test): Likewise.
25856 (ctan_test): Likewise.
25857 (ctan_test_tonearest): Likewise.
25858 (ctan_test_towardzero): Likewise.
25859 (ctan_test_downward): Likewise.
25860 (ctan_test_upward): Likewise.
25861 (ctanh_test): Likewise.
25862 (ctanh_test_tonearest): Likewise.
25863 (ctanh_test_towardzero): Likewise.
25864 (ctanh_test_downward): Likewise.
25865 (ctanh_test_upward): Likewise.
25866 (erf_test): Likewise.
25867 (erfc_test): Likewise.
25868 (exp_test): Likewise.
25869 (exp_test_tonearest): Likewise.
25870 (exp_test_towardzero): Likewise.
25871 (exp_test_downward): Likewise.
25872 (exp_test_upward): Likewise.
25873 (exp10_test): Likewise.
25874 (exp10_test_tonearest): Likewise.
25875 (exp10_test_towardzero): Likewise.
25876 (exp10_test_downward): Likewise.
25877 (exp10_test_upward): Likewise.
25878 (pow10_test): Likewise.
25879 (exp2_test): Likewise.
25880 (expm1_test): Likewise.
25881 (expm1_test_tonearest): Likewise.
25882 (expm1_test_towardzero): Likewise.
25883 (expm1_test_downward): Likewise.
25884 (expm1_test_upward): Likewise.
25885 (fabs_test): Likewise.
25886 (fdim_test): Likewise.
25887 (floor_test): Likewise.
25888 (fma_test): Likewise.
25889 (fma_test_towardzero): Likewise.
25890 (fma_test_downward): Likewise.
25891 (fma_test_upward): Likewise.
25892 (fmax_test): Likewise.
25893 (fmin_test): Likewise.
25894 (fmod_test): Likewise.
25895 (fpclassify_test): Likewise.
25896 (frexp_test): Likewise.
25897 (hypot_test): Likewise.
25898 (ilogb_test): Likewise.
25899 (isfinite_test): Likewise.
25900 (finite_test): Likewise.
25901 (isgreater_test): Likewise.
25902 (isgreaterequal_test): Likewise.
25903 (isinf_test): Likewise.
25904 (isless_test): Likewise.
25905 (islessequal_test): Likewise.
25906 (islessgreater_test): Likewise.
25907 (isnan_test): Likewise.
25908 (isnormal_test): Likewise.
25909 (issignaling_test): Likewise.
25910 (isunordered_test): Likewise.
25911 (j0_test): Likewise.
25912 (j1_test): Likewise.
25913 (jn_test): Likewise.
25914 (ldexp_test): Likewise.
25915 (lgamma_test): Likewise.
25916 (gamma_test): Likewise.
25917 (lrint_test): Likewise.
25918 (lrint_test_tonearest): Likewise.
25919 (lrint_test_towardzero): Likewise.
25920 (lrint_test_downward): Likewise.
25921 (lrint_test_upward): Likewise.
25922 (llrint_test): Likewise.
25923 (llrint_test_tonearest): Likewise.
25924 (llrint_test_towardzero): Likewise.
25925 (llrint_test_downward): Likewise.
25926 (llrint_test_upward): Likewise.
25927 (log_test): Likewise.
25928 (log10_test): Likewise.
25929 (log1p_test): Likewise.
25930 (log2_test): Likewise.
25931 (logb_test): Likewise.
25932 (logb_test_downward): Likewise.
25933 (lround_test): Likewise.
25934 (llround_test): Likewise.
25935 (modf_test): Likewise.
25936 (nearbyint_test): Likewise.
25937 (nextafter_test): Likewise.
25938 (nexttoward_test): Likewise.
25939 (pow_test): Likewise.
25940 (pow_test_tonearest): Likewise.
25941 (pow_test_towardzero): Likewise.
25942 (pow_test_downward): Likewise.
25943 (pow_test_upward): Likewise.
25944 (remainder_test): Likewise.
25945 (drem_test): Likewise.
25946 (remainder_test_tonearest): Likewise.
25947 (drem_test_tonearest): Likewise.
25948 (remainder_test_towardzero): Likewise.
25949 (drem_test_towardzero): Likewise.
25950 (remainder_test_downward): Likewise.
25951 (drem_test_downward): Likewise.
25952 (remainder_test_upward): Likewise.
25953 (drem_test_upward): Likewise.
25954 (remquo_test): Likewise.
25955 (rint_test): Likewise.
25956 (rint_test_tonearest): Likewise.
25957 (rint_test_towardzero): Likewise.
25958 (rint_test_downward): Likewise.
25959 (rint_test_upward): Likewise.
25960 (round_test): Likewise.
25961 (scalb_test): Likewise.
25962 (scalbn_test): Likewise.
25963 (scalbln_test): Likewise.
25964 (signbit_test): Likewise.
25965 (sin_test): Likewise.
25966 (sin_test_tonearest): Likewise.
25967 (sin_test_towardzero): Likewise.
25968 (sin_test_downward): Likewise.
25969 (sin_test_upward): Likewise.
25970 (sincos_test): Likewise.
25971 (sinh_test): Likewise.
25972 (sinh_test_tonearest): Likewise.
25973 (sinh_test_towardzero): Likewise.
25974 (sinh_test_downward): Likewise.
25975 (sinh_test_upward): Likewise.
25976 (sqrt_test): Likewise.
25977 (sqrt_test_tonearest): Likewise.
25978 (sqrt_test_towardzero): Likewise.
25979 (sqrt_test_downward): Likewise.
25980 (sqrt_test_upward): Likewise.
25981 (tan_test): Likewise.
25982 (tan_test_tonearest): Likewise.
25983 (tan_test_towardzero): Likewise.
25984 (tan_test_downward): Likewise.
25985 (tan_test_upward): Likewise.
25986 (tanh_test): Likewise.
25987 (tgamma_test): Likewise.
25988 (trunc_test): Likewise.
25989 (y0_test): Likewise.
25990 (y1_test): Likewise.
25991 (yn_test): Likewise.
25992 (significand_test): Likewise.
25994 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25995 individual tests in comment.
25996 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25997 (prev_max_error): New variable.
25998 (prev_real_max_error): Likewise.
25999 (prev_imag_max_error): Likewise.
26000 (compare_ulp_data): Don't refer to test names in comment.
26001 (find_test_ulps): Remove function.
26002 (find_function_ulps): Likewise.
26003 (find_complex_function_ulps): Likewise.
26004 (init_max_error): Take function name as argument. Look up ulps
26006 (print_ulps): Remove function.
26007 (print_max_error): Use prev_max_error instead of calling
26008 find_function_ulps.
26009 (print_complex_max_error): Use prev_real_max_error and
26010 prev_imag_max_error instead of calling find_complex_function_ulps.
26011 (check_float_internal): Take max_ulp parameter instead of calling
26012 find_test_ulps. Don't call print_ulps.
26013 (check_float): Update call to check_float_internal.
26014 (check_complex): Update calls to check_float_internal.
26015 (START): Pass argument to init_max_error.
26016 * math/gen-libm-test.pl (%results): Don't include "kind"
26018 (parse_ulps): Don't handle ulps of individual tests.
26019 (print_ulps_file): Likewise.
26020 (output_ulps): Likewise.
26021 * math/README.libm-test: Update.
26022 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26024 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26025 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26026 * sysdeps/arm/libm-test-ulps: Likewise.
26027 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26028 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26029 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26030 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26031 * sysdeps/microblaze/libm-test-ulps: Likewise.
26032 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26033 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26035 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26036 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26037 * sysdeps/sh/libm-test-ulps: Likewise.
26038 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26039 * sysdeps/tile/libm-test-ulps: Likewise.
26040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26042 2014-03-04 Joseph Myers <joseph@codesourcery.com>
26044 * math/libm-test.inc (print_complex_max_error): Check separately
26045 whether real and imaginary errors are within allowed range and
26046 pass 0 to print_complex_function_ulps instead of value within
26049 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26051 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26053 (get_handles_fopen): Likewise.
26054 (do_write_test): Likewise.
26056 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26058 * libio/fileops.c (do_ftell): Use cached offset when
26060 * libio/iofwide.c (do_ftell_wide): Likewise.
26061 * libio/iofdopen.c (_IO_new_fdopen): Don't use
26063 * libio/wfileops.c (_IO_fwide): Don't cache offset.
26066 * libio/libioP.h (get_file_offset): New function.
26067 * libio/fileops.c (get_file_offset): Likewise.
26068 (do_ftell): Likewise.
26069 (_IO_new_file_seekoff): Split out ftell logic.
26070 * libio/wfileops.c (do_ftell_wide): Likewise.
26071 (_IO_wfile_seekoff): Split out ftell logic.
26072 * libio/tst-ftell-active-handler.c: New test case.
26073 * libio/Makefile (tests): Add it.
26075 2014-03-03 Roland McGrath <roland@hack.frob.com>
26077 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26078 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26080 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26083 * nscd/connections.c (nscd_init): Call do_exit.
26084 (start_threads): Call do_exit and notify_parent.
26085 (begin_drop_privileges): Call do_exit.
26086 (finish_drop_privileges): Likewise.
26087 * nscd/selinux.c (preserve_capabilities): Likewise.
26088 (install_real_capabilities): Likewise.
26089 (nscd_selinux_enabled): Likewise.
26090 (avc_create_thread): Likewise.
26091 (avc_alloc_lock): Likewise.
26092 (nscd_avc_init): Likewise.
26093 * nscd/nscd.c (parent_fd): New static variable.
26094 (main): Create a pipe between parent and child processes.
26095 Skip closing parent_fd.
26096 (monitor_child): New function.
26097 (do_exit): Likewise.
26098 (notify_parent): Likewise.
26099 * nscd/nscd.h (notify_parent): Likewise.
26100 (do_exit): Likewise.
26102 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26104 * malloc/malloc.c (__libc_calloc): Revert last change.
26106 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26110 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26112 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26116 (__libc_ifunc_impl_list): Likewise.
26117 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26118 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26119 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26120 * string/strrchr.c: Define STRRCHR.
26122 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26124 * benchtest/bench-strtok.c (simple_strtok): Delete.
26125 (strtok_string): Use as benchmark.
26126 * string/strtok (STRTOK): New macro.
26128 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26130 * manual/threads.texi: Add header and standard comments to all
26133 * elf/dl-lookup.c (check_match): New function.
26134 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26135 (do_lookup_x): Remove nested function check_match. Use non-nested
26136 function check_match.
26138 2014-02-28 Roland McGrath <roland@hack.frob.com>
26140 * csu/Makefile (generated, before-compile): Use += rather than =.
26141 * catgets/Makefile (generated, generated-dirs): Likewise.
26142 * debug/Makefile (generated): Likewise.
26143 * dlfcn/Makefile (generated): Likewise.
26144 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26145 * iconvdata/Makefile (before-compile, generated): Likewise.
26146 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26147 * libio/Makefile (generated): Likewise.
26148 * malloc/Makefile (generated): Likewise.
26149 * manual/Makefile (generated, generated-dirs): Likewise.
26150 * misc/Makefile (generated): Likewise.
26151 * posix/Makefile (generated): Likewise.
26152 * resolv/Makefile (generated): Likewise.
26153 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26154 * timezone/Makefile (generated, generated-dirs): Likewise.
26156 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26158 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26161 power8 implementation.
26162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26163 file: POWER8 llround ifunc implementation.
26164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26165 (__lllround): Add POWER8 implementation.
26166 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26167 POWER8 llround implementation.
26169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26170 power8 implementation.
26171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26172 file: POWER8 llrint ifunc implementation.
26173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26174 Add POWER8 implementation.
26175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26176 POWER8 llrint implementation.
26178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26179 power8 implementation.
26180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26181 file: POWER8 finite ifunc implementation.
26182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26183 Add POWER8 implementation.
26184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26186 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26187 POWER8 finite implementation.
26188 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26191 power8 implementation.
26192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26193 file: POWER8 isinf ifunc implementation.
26194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26195 POWER8 implementation.
26196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26198 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26199 isinf implementation.
26200 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26202 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26203 (INIT_ARCH): Add hwcap2 initialization.
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26205 power8 implementation.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26207 file: POWER8 isnan ifunc implementation.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26209 POWER8 implementation.
26210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26213 isnan implementation.
26214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26216 2014-02-27 Joey Ye <joey.ye@arm.com>
26218 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26219 (_FP_NANFRAC_Q): Set to zero.
26221 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26224 * math/auto-libm-test-in: New test inputs.
26225 * math/auto-libm-test-out: Regenerate.
26226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26231 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26233 * scripts/evaluate-test.sh: Take new argument indicating whether
26234 failure is expected.
26235 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26236 indicating whether failure is expected.
26237 * conform/Makefile (test-xfail-run-conformtest): New variable.
26238 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26240 * posix/Makefile (test-xfail-annexc): New variable.
26241 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26243 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26245 * argp/Makefile: Include Makeconfig immediately after defining
26247 * assert/Makefile: Likewise.
26248 * benchtests/Makefile: Likewise.
26249 * catgets/Makefile: Likewise.
26250 * conform/Makefile: Likewise.
26251 * crypt/Makefile: Likewise.
26252 * csu/Makefile: Likewise.
26253 (all): Remove target.
26254 * ctype/Makefile: Include Makeconfig immediately after defining
26256 * debug/Makefile: Likewise.
26257 * dirent/Makefile: Likewise.
26258 * dlfcn/Makefile: Likewise.
26259 * gmon/Makefile: Likewise.
26260 * gnulib/Makefile: Likewise.
26261 * grp/Makefile: Likewise.
26262 * gshadow/Makefile: Likewise.
26263 * hesiod/Makefile: Likewise.
26264 * hurd/Makefile: Likewise.
26265 (all): Remove target.
26266 * iconvdata/Makefile: Include Makeconfig immediately after
26268 * inet/Makefile: Likewise.
26269 * intl/Makefile: Likewise.
26270 * io/Makefile: Likewise.
26271 * libio/Makefile: Likewise.
26272 (all): Remove target.
26273 * locale/Makefile: Include Makeconfig immediately after defining
26275 * login/Makefile: Likewise.
26276 * mach/Makefile: Likewise.
26277 (all): Remove target.
26278 * malloc/Makefile: Include Makeconfig immediately after defining
26280 (all): Remove target.
26281 * manual/Makefile: Include Makeconfig immediately after defining
26283 * math/Makefile: Likewise.
26284 * misc/Makefile: Likewise.
26285 * nis/Makefile: Likewise.
26286 * nss/Makefile: Likewise.
26287 * po/Makefile: Likewise.
26288 (all): Remove target.
26289 * posix/Makefile: Include Makeconfig immediately after defining
26291 * pwd/Makefile: Likewise.
26292 * resolv/Makefile: Likewise.
26293 * resource/Makefile: Likewise.
26294 * rt/Makefile: Likewise.
26295 * setjmp/Makefile: Likewise.
26296 * shadow/Makefile: Likewise.
26297 * signal/Makefile: Likewise.
26298 * socket/Makefile: Likewise.
26299 * soft-fp/Makefile: Likewise.
26300 * stdio-common/Makefile: Likewise.
26301 * stdlib/Makefile: Likewise.
26302 * streams/Makefile: Likewise.
26303 * string/Makefile: Likewise.
26304 * sunrpc/Makefile: Likewise.
26305 (all): Remove target.
26306 * sysvipc/Makefile: Include Makeconfig immediately after defining
26308 * termios/Makefile: Likewise.
26309 * time/Makefile: Likewise.
26310 * timezone/Makefile: Likewise.
26311 (all): Remove target.
26312 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26314 * wctype/Makefile: Likewise.
26316 2014-02-26 Steve Ellcey <sellcey@mips.com>
26318 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26319 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26320 (libc_feholdexcept_setround_mips): Ditto.
26321 (libc_feholdsetround): New.
26322 (libc_feholdsetroundf): New.
26323 (libc_feholdsetroundl): New.
26324 (libc_feupdateenv_test_mips): New.
26325 (libc_feupdateenv_test): New.
26326 (libc_feupdateenv_testf): New.
26327 (libc_feupdateenv_testl): New.
26328 (libc_feresetround): New.
26329 (libc_feresetroundf): New.
26330 (libc_feresetroundl): New.
26331 (libc_fetestexcept_mips): New.
26332 (libc_fetestexcept): New.
26333 (libc_fetestexceptf): New.
26334 (libc_fetestexceptl): New.
26335 (HAVE_RM_CTX): New.
26336 (libc_feholdexcept_setround_mips_ctx): New.
26337 (libc_feholdexcept_setround_ctx): New.
26338 (libc_feholdexcept_setroundf_ctx): New.
26339 (libc_feholdexcept_setroundl_ctx): New.
26340 (libc_fesetenv_mips_ctx): New.
26341 (libc_fesetenv_ctx): New.
26342 (libc_fesetenv_ctxf): New.
26343 (libc_fesetenv_ctxl): New.
26344 (libc_feupdateenv_mips_ctx): New.
26345 (libc_feupdateenv_ctx): New.
26346 (libc_feupdateenvf_ctx): New.
26347 (libc_feupdateenvl_ctx): New.
26348 (libc_feholdsetround_mips_ctx): New.
26349 (libc_feholdsetround_ctx): New.
26350 (libc_feholdsetroundf_ctx): New.
26351 (libc_feholdsetroundl_ctx): New.
26352 (libc_feresetround_mips_ctx): New.
26353 (libc_feresetround_ctx): New.
26354 (libc_feresetroundf_ctx): New.
26355 (libc_feresetroundl_ctx): New.
26357 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26359 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26361 * manual/ipc.texi: New file.
26362 * manual/Makefile (chapters): Add ipc.
26363 * manual/job.texi: Add "Inter-Process Communication" to next.
26364 * manual/process.texi: Add "Inter-Process Communication" to prev.
26366 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26370 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26372 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26374 * manual/arith.texi: Fix spaces after sentences.
26375 * manual/charset.texi: Likewise.
26376 * manual/errno.texi: Likewise.
26377 * manual/install.texi: Likewise.
26378 * manual/llio.texi: Likewise.
26379 * manual/locale.texi: Likewise.
26380 * manual/maint.texi: Likewise.
26381 * manual/math.texi: Likewise.
26382 * manual/memory.texi: Likewise.
26383 * manual/message.texi: Likewise.
26384 * manual/probes.texi: Likewise.
26385 * manual/resource.texi: Likewise.
26386 * manual/signal.texi: Likewise.
26387 * manual/socket.texi: Likewise.
26388 * manual/stdio.texi: Likewise.
26389 * manual/string.texi: Likewise.
26390 * manual/time.texi: Likewise.
26391 * manual/users.texi: Likewise.
26393 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26396 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26397 _DEFAULT_SOURCE is defined.
26399 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26400 Carlos O'Donell <carlos@redhat.com>
26403 * elf/dl-tls.c (_dl_count_modids): New function.
26404 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26405 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26406 audit library and increment generation counter.
26407 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26408 * elf/tst-audit9.c: New file.
26409 * elf/tst-auditmod9a.c: New file.
26410 * elf/tst-auditmod9b.c: New file.
26411 * elf/Makefile: Add rules to build and run tst-audit9.
26413 2014-02-25 Florian Weimer <fweimer@redhat.com>
26416 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26418 2014-02-25 Will Newton <will.newton@linaro.org>
26420 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26421 (__longjmp): Restore sp and lr before restoring callee
26422 saved registers. Add longjmp and longjmp_target
26423 SystemTap probe point.
26424 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26425 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26426 Define to zero to match jmpbuf layout.
26427 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26428 (__sigsetjmp): Save sp and lr before saving callee
26429 saved registers. Add setjmp SystemTap probe point.
26431 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26433 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26435 2014-02-24 Andreas Schwab <schwab@suse.de>
26438 * elf/pldd.c (wait_for_ptrace_stop): New function.
26439 (main): Call it after attaching.
26441 2014-02-22 Roland McGrath <roland@hack.frob.com>
26443 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26444 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26445 Versions files is now verboten.
26446 * hurd/Versions (libc: GLIBC_2.0):
26447 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26448 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26449 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26450 * mach/Versions: Likewise.
26452 * csu/Versions: Remove unused %include.
26453 * resolv/Versions: Likewise.
26455 2014-02-21 Joseph Myers <joseph@codesourcery.com>
26457 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26458 ($(objpfx)check-local-headers.out): Likewise.
26459 ($(objpfx)begin-end-check.out): Likewise.
26460 * Makerules (check-abi-%.out): Likewise.
26461 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26462 ($(objpfx)test2.cat): Likewise.
26463 ($(objpfx)de/libc.cat): Likewise.
26464 ($(objpfx)test-gencat.out): Likewise.
26465 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26466 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26467 ($(objpfx)noload-mem): Likewise.
26468 ($(objpfx)tst-pathopt.out): Likewise.
26469 ($(objpfx)tst-rtld-load-self.out): Likewise.
26470 ($(objpfx)tst-array1-cmp.out): Likewise.
26471 ($(objpfx)tst-array1-static-cmp.out): Likewise.
26472 ($(objpfx)tst-array2-cmp.out): Likewise.
26473 ($(objpfx)tst-array3-cmp.out): Likewise.
26474 ($(objpfx)tst-array4-cmp.out): Likewise.
26475 ($(objpfx)tst-array5-cmp.out): Likewise.
26476 ($(objpfx)tst-array5-static-cmp.out): Likewise.
26477 ($(objpfx)check-textrel.out): Likewise.
26478 ($(objpfx)check-execstack.out): Likewise.
26479 ($(objpfx)check-localplt.out): Likewise.
26480 ($(objpfx)order2-cmp.out): Likewise.
26481 ($(objpfx)tst-leaks1-mem): Likewise.
26482 ($(objpfx)tst-leaks1-static-mem): Likewise.
26483 ($(objpfx)tst-initorder-cmp.out): Likewise.
26484 ($(objpfx)tst-initorder2-cmp.out): Likewise.
26485 ($(objpfx)tst-unused-dep.out): Likewise.
26486 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26487 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26488 * iconv/Makefile (test-iconvconfig): Likewise.
26489 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26490 ($(objpfx)iconv-test.out): Likewise.
26491 ($(objpfx)tst-tables.out): Likewise.
26492 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26493 ($(objpfx)tst-gettext.out): Likewise.
26494 ($(objpfx)tst-translit.out): Likewise.
26495 ($(objpfx)tst-gettext2.out): Likewise.
26496 ($(objpfx)tst-gettext4.out): Likewise.
26497 ($(objpfx)tst-gettext6.out): Likewise.
26498 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26499 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26500 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26501 ($(objpfx)tst-fopenloc-mem.out): Likewise.
26502 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26503 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26504 * posix/Makefile ($(objpfx)globtest.out): Likewise.
26505 ($(objpfx)wordexp-tst.out): Likewise.
26506 ($(objpfx)annexc.out): Likewise.
26507 ($(objpfx)tst-fnmatch-mem): Likewise.
26508 ($(objpfx)bug-regex2-mem): Likewise.
26509 ($(objpfx)bug-regex14-mem): Likewise.
26510 ($(objpfx)bug-regex21-mem): Likewise.
26511 ($(objpfx)bug-regex31-mem): Likewise.
26512 ($(objpfx)tst-vfork3-mem): Likewise.
26513 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26514 ($(objpfx)tst-pcre-mem): Likewise.
26515 ($(objpfx)tst-boost-mem): Likewise.
26516 ($(objpfx)tst-getconf.out): Likewise.
26517 ($(objpfx)bug-ga2-mem): Likewise.
26518 ($(objpfx)bug-glob2-mem): Likewise.
26519 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26520 ($(objpfx)mtrace-tst-leaks2): Likewise.
26521 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26522 ($(objpfx)tst-printf.out): Likewise.
26523 ($(objpfx)tst-setvbuf1.out): Likewise.
26524 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26525 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26526 ($(objpfx)tst-fmtmsg.out): Likewise.
26527 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26528 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26530 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26531 * bits/sigaction.h [__USE_MISC]: Likewise.
26532 * bits/waitstatus.h: Update #endif comments.
26533 * ctype/ctype.h: Likewise.
26534 * dirent/dirent.h: Likewise.
26535 [__USE_MISC]: Remove redundant conditionals.
26536 * grp/grp.h: Update #endif comments.
26537 [__USE_GNU]: Remove redundant conditionals.
26538 [__USE_MISC]: Likewise.
26539 * inet/netinet/in.h [__USE_GNU]: Likewise.
26540 * io/sys/stat.h [__USE_MISC]: Likewise.
26541 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26542 * libio/bits/stdio.h: Update #endif comments.
26543 [__USE_MISC]: Remove redundant conditionals.
26544 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26545 * libio/stdio.h: Update #endif comments.
26546 [__USE_MISC]: Remove redundant conditionals.
26547 * math/bits/math-finite.h [__USE_MISC]: Likewise.
26548 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26549 * math/math.h: Update #else and #endif comments.
26550 [__USE_MISC]: Remove redundant conditionals.
26551 * misc/sys/uio.h: Update #endif comments.
26552 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26553 * posix/glob.h [__USE_MISC]: Likewise.
26554 * posix/sys/types.h: Update #endif comments.
26555 [__USE_MISC]: Remove redundant conditionals.
26556 * posix/sys/wait.h: Update #endif comments.
26557 [__USE_MISC]: Remove redundant conditionals.
26558 * posix/unistd.h: Update #endif comments.
26559 [__USE_MISC]: Remove redundant conditionals.
26560 * pwd/pwd.h [__USE_GNU]: Likewise.
26561 [__USE_MISC]: Likewise.
26562 * resolv/netdb.h [__USE_GNU]: Likewise.
26563 * signal/signal.h: Update #endif comments.
26564 [__USE_MISC]: Remove redundant conditionals.
26565 * stdlib/stdlib.h: Update #else and #endif comments.
26566 [__USE_MISC]: Remove redundant conditionals.
26567 [__USE_GNU]: Likewise.
26568 * string/bits/string2.h [__USE_MISC]: Likewise.
26569 * string/string.h: Update #endif comments.
26570 [__USE_MISC]: Remove redundant conditionals.
26571 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26573 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26574 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26575 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26577 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26579 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26581 [__USE_MISC]: Remove redundant conditionals.
26582 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26583 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26584 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26585 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26586 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26588 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26589 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26591 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26594 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26596 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26597 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26599 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
26601 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
26602 * sysdeps/x86/bits/string.h: Update #endif comments.
26603 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
26605 * time/sys/time.h: Update #endif comments.
26606 * time/time.h: Likewise.
26607 [__USE_MISC]: Remove redundant conditionals.
26609 2014-02-21 Yury Gribov <y.gribov@samsung.com>
26612 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
26614 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
26616 * Versions.def (librt): Add GLIBC_2.17.
26618 2014-02-21 Adam Conrad <adconrad@0c3.net>
26620 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
26621 synonym for _SYS_AUXV_H to allow direct inclusion.
26622 * sysdeps/sparc/bits/hwcap.h: Likewise.
26623 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
26624 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
26625 * sysdeps/sparc/sysdep.h: Likewise.
26627 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26629 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
26631 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26633 * benchtests/bench-strrchr.c: Print length instead of position.
26635 2014-02-20 Joseph Myers <joseph@codesourcery.com>
26638 * sysdeps/unix/sysv/linux/kernel-features.h
26639 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
26640 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
26641 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
26642 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
26644 [__i386__ || __powerpc__ || __sh__ || __sparc__]
26645 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26646 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
26647 (__ASSUME_SENDMMSG): Define instead of using previous
26648 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
26649 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26650 (__ASSUME_SENDMMSG_SYSCALL): Define.
26651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26652 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
26654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26655 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26658 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
26661 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26662 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26663 [__ASSUME_SENDMMSG]: Change conditionals to
26664 [__ASSUME_SENDMMSG_SOCKETCALL].
26665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26666 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
26668 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26669 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
26671 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
26672 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
26673 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
26674 [!__ASSUME_SENDMMSG]: Change conditional to
26675 [!__ASSUME_SENDMMSG_SOCKETCALL].
26676 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26677 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26681 * sysdeps/unix/sysv/linux/kernel-features.h
26682 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
26683 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
26684 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
26685 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
26686 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26687 [__i386__ || __sparc__]
26688 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26689 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
26690 (__ASSUME_RECVMMSG): Define instead of using previous
26691 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
26692 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26693 (__ASSUME_RECVMMSG_SYSCALL): Define.
26694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26695 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26698 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26700 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26701 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26703 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
26704 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26705 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26706 [__ASSUME_RECVMMSG]: Change condition to
26707 [__ASSUME_RECVMMSG_SOCKETCALL].
26708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26711 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26713 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
26715 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
26716 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
26717 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
26718 [!__ASSUME_RECVMMSG]: Change condition to
26719 [!__ASSUME_RECVMMSG_SOCKETCALL].
26720 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26721 (__ASSUME_RECVMMSG_SYSCALL): Define.
26724 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
26725 __powerpc__ || __s390__ || __sh__ || __sparc__]
26726 (__ASSUME_SOCKETCALL): Define.
26727 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
26728 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
26729 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
26730 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
26731 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26732 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26733 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
26734 (__ASSUME_ACCEPT4): Define instead of using previous
26735 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
26736 __powerpc__ || __sparc__ || __s390__)] condition.
26737 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26738 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26739 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
26740 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26741 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26742 [!__ASSUME_ACCEPT4]: Change condition to
26743 [!__ASSUME_ACCEPT4_SOCKETCALL].
26744 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26745 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
26746 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
26747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26748 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
26749 __ASSUME_ACCEPT4_SYSCALL.
26750 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
26751 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
26752 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26753 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
26754 __ASSUME_ACCEPT4_SYSCALL.
26755 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
26756 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
26757 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
26758 [__ASSUME_ACCEPT4]: Change condition to
26759 [__ASSUME_ACCEPT4_SOCKETCALL].
26760 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26761 (__ASSUME_SOCKETCALL): Define.
26762 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
26763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26764 (__ASSUME_SOCKETCALL): Define.
26765 (__ASSUME_ACCEPT4): Remove.
26766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
26768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
26769 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
26771 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26772 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
26774 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
26776 (HWCAP_ARM_LPAE): Likewise.
26777 (HWCAP_ARM_EVTSTRM): Likewise.
26778 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
26779 Add vpfd32, lpae and evtstrm.
26780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
26783 2014-02-19 Joseph Myers <joseph@codesourcery.com>
26785 * math/auto-libm-test-in: Add tests of clog10.
26786 * math/auto-libm-test-out: Regenerated.
26787 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
26788 * sysdeps/i386/fpu/libm-test-ulps: Update.
26789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26791 2014-02-18 Andreas Schwab <schwab@suse.de>
26794 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
26795 Store non-zero if the second buffer was newly allocated.
26796 (send_dg): Likewise.
26797 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
26798 to send_vc and send_dg.
26799 (res_nsend): Pass NULL for ansp2_malloced.
26800 * resolv/res_query.c (__libc_res_nquery): Add parameter
26801 answerp2_malloced and pass it down to __libc_res_nsend.
26802 (res_nquery): Pass additional NULL to __libc_res_nquery.
26803 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
26804 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
26805 second answer buffer if answerp2_malloced was set.
26806 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
26807 (__libc_res_nquerydomain): Add parameter
26808 answerp2_malloced and pass it down to __libc_res_nquery.
26809 (res_nquerydomain): Pass additional NULL to
26810 __libc_res_nquerydomain.
26811 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
26812 additional NULL to __libc_res_nsend and __libc_res_nquery.
26813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
26814 additional NULL to __libc_res_nsearch.
26815 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26816 parameter of __libc_res_nsearch to check for separately allocated
26818 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
26820 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
26821 additional NULL to __libc_res_nquery.
26822 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
26823 __libc_res_nsearch.
26824 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
26825 * include/resolv.h: Update prototypes of __libc_res_nquery,
26826 __libc_res_nsearch, __libc_res_nsend.
26828 2014-02-18 Joseph Myers <joseph@codesourcery.com>
26830 * math/auto-libm-test-in: Add tests of fma.
26831 * math/auto-libm-test-out: Regenerated.
26832 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
26833 (fma_towardzero_test_data): Likewise.
26834 (fma_downward_test_data): Likewise.
26835 (fma_upward_test_data): Likewise.
26836 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
26838 (rounding_modes): Add values for new field.
26839 (func_calc_method): Add value mpfr_fff_f.
26840 (func_calc_desc): Add mpfr_fff_f union field.
26841 (test_function): Add field exact_args.
26842 (FUNC): Add macro argument EXACT_ARGS.
26843 (FUNC_mpfr_f_f): Update call to FUNC.
26844 (FUNC_mpfr_f_f): Likewise.
26845 (FUNC_mpfr_ff_f): Likewise.
26846 (FUNC_mpfr_if_f): Likewise.
26847 (FUNC_mpc_c_f): Likewise.
26848 (FUNC_mpc_c_c): Likewise.
26849 (test_functions): Add fma. Update calls to FUNC.
26850 (handle_input_arg): Add argument exact_args.
26851 (add_test): Update call to handle_input_arg.
26852 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
26853 (output_for_one_input_case): Update call to calc_generic_results.
26854 Recalculate exact zero results in each rounding mode.
26856 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
26857 non-negative before setting low bit.
26858 * math/auto-libm-test-in: Mark one asin test possibly having
26859 spurious underflow.
26860 * math/auto-libm-test-out: Regenerated.
26861 * sysdeps/i386/fpu/libm-test-ulps: Update.
26862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26864 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
26866 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
26867 * sysdeps/unix/sysv/linux/microblaze: Move directory from
26868 ports/sysdeps/unix/sysv/linux/microblaze.
26869 * README: Add missing listing for microblaze*-*-linux-gnu.
26871 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
26873 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
26876 2014-02-16 Mike Frysinger <vapier@gentoo.org>
26878 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
26879 * sysdeps/unix/sysv/linux/ia64: Move directory from
26880 ports/sysdeps/unix/sysv/linux/ia64.
26881 * README: Update listing for ia64-*-linux-gnu.
26883 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
26884 Joseph Myers <joseph@codesourcery.com>
26886 * Makeconfig (test-name): New variable.
26887 (evaluate-test): Likewise.
26888 * Makerules (do-test-clean): Remove .test-result files.
26889 (common-mostlyclean): Likewise.
26890 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
26891 * scripts/evaluate-test.sh: New file.
26893 2014-02-14 Joseph Myers <joseph@codesourcery.com>
26895 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
26896 separate $(objpfx)tst-fopenloc-cmp.out and
26897 $(objpfx)tst-fopenloc-mem.out targets.
26898 (tests): Update dependencies.
26899 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
26900 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
26901 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
26902 (tst-rxspencer-no-utf8-ARGS): New variable.
26903 (tst-rxspencer-no-utf8-ENV): Likewise.
26904 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
26905 instead of $(objpfx)tst-rxspencer-mem.
26906 ($(objpfx)tst-rxspencer-mem): Change target to
26907 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
26908 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
26909 * posix/tst-rxspencer-no-utf8.c: New file.
26911 * elf/Makefile ($(objpfx)order.out): Remove rule.
26912 [$(run-built-tests) = yes] (tests): Depend on
26913 $(objpfx)order-cmp.out.
26914 ($(objpfx)order-cmp.out): New rule.
26915 [$(run-built-tests) = yes] (tests): Depend on
26916 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
26917 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26918 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
26919 $(objpfx)tst-array5-static-cmp.out.
26920 ($(objpfx)tst-array1.out): Remove rule.
26921 ($(objpfx)tst-array1-cmp.out): New rule.
26922 ($(objpfx)tst-array1-static.out): Remove rule.
26923 ($(objpfx)tst-array1-static-cmp.out): New rule.
26924 ($(objpfx)tst-array2.out): Remove rule.
26925 ($(objpfx)tst-array2-cmp.out): New rule.
26926 ($(objpfx)tst-array3.out): Remove rule.
26927 ($(objpfx)tst-array3-cmp.out): New rule.
26928 ($(objpfx)tst-array4.out): Remove rule.
26929 ($(objpfx)tst-array4-cmp.out): New rule.
26930 ($(objpfx)tst-array5.out): Remove rule.
26931 ($(objpfx)tst-array5-cmp.out): New rule.
26932 ($(objpfx)tst-array5-static.out): Remove rule.
26933 ($(objpfx)tst-array5-static-cmp.out): New rule.
26934 [$(run-built-tests) = yes] (tests): Depend on
26935 $(objpfx)order2-cmp.out.
26936 ($(objpfx)order2.out): Remove rule.
26937 ($(objpfx)order2-cmp.out): New rule.
26938 ($(objpfx)tst-initorder.out): Remove rule.
26939 [$(run-built-tests) = yes] (tests): Depend on
26940 $(objpfx)tst-initorder-cmp.out.
26941 ($(objpfx)tst-initorder-cmp.out): New rule.
26942 ($(objpfx)tst-initorder2.out): Remove rule.
26943 [$(run-built-tests) = yes] (tests): Depend on
26944 $(objpfx)tst-initorder2-cmp.out.
26945 ($(objpfx)tst-initorder2-cmp.out): New rule.
26946 [$(run-built-tests) = yes] (tests): Depend on
26947 $(objpfx)tst-unused-dep-cmp.out.
26948 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
26949 ($(objpfx)tst-unused-dep-cmp.out): New rule.
26950 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
26951 on $(objpfx)tst-setvbuf1-cmp.out.
26952 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
26953 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
26954 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
26955 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26956 ($(objpfx)tst-svc.out): Remove rule.
26957 ($(objpfx)tst-svc-cmp.out): New rule.
26959 2014-02-13 Joseph Myers <joseph@codesourcery.com>
26961 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26962 * ctype/ctype.h [__USE_MISC]: Likewise.
26963 * dirent/dirent.h [__USE_MISC]: Likewise.
26964 * grp/grp.h [__USE_MISC]: Likewise.
26965 * io/fcntl.h [__USE_MISC]: Likewise.
26966 * io/sys/stat.h [__USE_MISC]: Likewise.
26967 * libio/stdio.h [__USE_MISC]: Likewise.
26968 * posix/unistd.h [__USE_MISC]: Likewise.
26969 * pwd/pwd.h [__USE_MISC]: Likewise.
26970 * stdlib.h [__USE_MISC]: Likewise.
26971 * string/bits/string2.h [__USE_MISC]: Likewise.
26972 * string/string.h [__USE_MISC]: Likewise.
26973 * time/time.h [__USE_MISC]: Likewise.
26975 2014-02-13 Andreas Schwab <schwab@suse.de>
26978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26979 second answer buffer if it was separately allocated.
26981 2014-02-12 Joseph Myers <joseph@codesourcery.com>
26983 * sysdeps/mips/math-tests.h: Include <features.h>.
26984 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26985 (ROUNDING_TESTS_long_double): Do not define.
26986 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26987 (EXCEPTION_TESTS_long_double): Likewise.
26988 * sysdeps/mips/mips64/libm-test-ulps: Update.
26990 * include/features.h (__USE_BSD): Remove macro definitions.
26991 (__USE_SVID): Likewise.
26992 (_BSD_SOURCE): Likewise.
26993 (_SVID_SOURCE): Likewise.
26994 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26995 from definition of _DEFAULT_SOURCE.
26996 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26998 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26999 * bits/mman.h [__USE_BSD]: Likewise.
27000 * bits/termios.h [__USE_BSD]: Likewise.
27001 * bits/waitstatus.h [__USE_BSD]: Likewise.
27002 * ctype/ctype.h [__USE_SVID]: Likewise.
27003 * dirent/dirent.h [__USE_BSD]: Likewise.
27004 * grp/grp.h [__USE_SVID]: Likewise.
27005 [__USE_BSD]: Likewise.
27006 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27007 * io/fcntl.h [__USE_BSD]: Likewise.
27008 * io/ftw.h [__USE_BSD]: Likewise.
27009 * io/sys/stat.h [__USE_BSD]: Likewise.
27010 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27011 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27012 * libio/stdio.h [__USE_SVID]: Likewise.
27013 [__USE_BSD]: Likewise.
27014 * math/math.h [__USE_SVID]: Likewise.
27015 [__USE_BSD]: Likewise.
27016 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27017 * misc/bits/syslog.h [__USE_BSD]: Likewise.
27018 * misc/search.h [__USE_SVID]: Likewise.
27019 * misc/sys/mman.h [__USE_BSD]: Likewise.
27020 * misc/sys/syslog.h [__USE_BSD]: Likewise.
27021 * misc/sys/uio.h [__USE_BSD]: Likewise.
27022 * posix/bits/unistd.h [__USE_BSD]: Likewise.
27023 * posix/glob.h [__USE_BSD]: Likewise.
27024 * posix/regex.h [__USE_BSD]: Likewise.
27025 * posix/sys/types.h [__USE_BSD]: Likewise.
27026 [__USE_SVID]: Likewise.
27027 * posix/sys/utsname.h [__USE_SVID]: Likewise.
27028 * posix/sys/wait.h [__USE_BSD]: Likewise.
27029 [__USE_SVID]: Likewise.
27030 * posix/unistd.h [__USE_BSD]: Likewise.
27031 [__USE_SVID]: Likewise.
27032 * pwd/pwd.h [__USE_SVID]: Likewise.
27033 * resolv/netdb.h [__USE_BSD]: Likewise.
27034 * setjmp/setjmp.h [__USE_BSD]: Likewise.
27035 * signal/signal.h [__USE_BSD]: Likewise.
27036 [__USE_SVID]: Likewise.
27037 * socket/sys/socket.h [__USE_BSD]: Likewise.
27038 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27039 * stdlib/stdlib.h [__USE_BSD]: Likewise.
27040 [__USE_SVID]: Likewise.
27041 * string/bits/string2.h [__USE_BSD]: Likewise.
27042 [__USE_SVID]: Likewise.
27043 * string/bits/string3.h [__USE_BSD]: Likewise.
27044 * string/endian.h [__USE_BSD]: Likewise.
27045 * string/string.h [__USE_SVID]: Likewise.
27046 [__USE_BSD]: Likewise.
27047 * string/strings.h [__USE_BSD]: Likewise.
27048 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27049 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27050 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27051 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27052 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27053 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27057 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27058 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27060 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27061 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27063 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27065 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27066 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27069 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27071 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27072 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27073 * termios/termios.h [__USE_BSD]: Likewise.
27074 * time/sys/time.h [__USE_BSD]: Likewise.
27075 * time/time.h [__USE_BSD]: Likewise.
27076 [__USE_SVID]: Likewise.
27078 * Makefile (subdir_targets): Remove subdir_lint.out.
27080 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27081 (do-tst-printf): Likewise.
27082 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27083 $(objpfx)tst-printf.out.
27085 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27087 * Makerules (check-abi-%): Change target to
27088 $(objpfx)check-abi-%.out.
27089 (check-abi target): Update dependencies.
27090 (check-abi-pattern variable): Redirect output of diff to $@.
27091 (check-abi variable): Likewise.
27092 * elf/Makefile (check-abi): Update dependencies.
27094 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27096 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27097 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27099 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27100 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27101 value has largest subnormal exponent.
27102 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27103 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27104 * sysdeps/aarch64/soft-fp/sfp-machine.h
27105 (_FP_TININESS_AFTER_ROUNDING): New macro.
27106 * sysdeps/alpha/soft-fp/sfp-machine.h
27107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27108 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27110 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27111 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27112 * sysdeps/mips/soft-fp/sfp-machine.h
27113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27114 * sysdeps/powerpc/soft-fp/sfp-machine.h
27115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27116 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27118 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27119 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27122 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27125 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27128 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27131 2014-02-12 Richard Henderson <rth@redhat.com>
27133 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27134 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27135 * sysdeps/unix/sysv/linux/alpha: Move directory from
27136 ports/sysdeps/unix/sysv/linux/alpha.
27137 * README: Update listing for alpha-*-linux-gnu.
27139 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27141 * include/features.h: Update comment documenting feature test
27143 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27145 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27146 (_SVID_SOURCE): Likewise.
27147 (_DEFAULT_SOURCE): Update description of default features.
27148 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27150 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27151 (S_ISVTX): Likewise.
27152 * manual/math.texi (Mathematical Constants): Likewise.
27153 * manual/signal.texi (Interrupted Primitives): Likewise.
27154 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27155 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27156 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27157 Don't refer to _SVID_SOURCE in warning text.
27159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27161 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27163 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27164 * sysdeps/mips/dl-lookup.c: Remove.
27165 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27167 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27170 * math/auto-libm-test-in: Add testcase for expl.
27171 * math/auto-libm-test-out: Regenerate.
27172 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27173 calculation of unsafe.
27174 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27176 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27178 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27179 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27180 ports/sysdeps/unix/sysv/linux/aarch64.
27181 * README: Update listing for aarch64*-*-linux-gnu.
27183 2014-02-11 Will Newton <will.newton@linaro.org>
27185 * manual/probes.texi (Mathematical Function Probes): Use
27186 "triggered" instead of "hit".
27188 * manual/probes.texi (Internal Probes): Add documentation
27189 of setjmp, longjmp and longjmp_target probes.
27191 * include/stap-probe.h: Add comment about probe argument
27194 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27195 definition. (tr_where, tr_freehook, tr_mallochook,
27196 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27198 2014-02-11 David S. Miller <davem@davemloft.net>
27200 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27201 processing int_tests.
27203 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27205 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27206 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27207 * sysdeps/unix/sysv/linux/mips: Move directory from
27208 ports/sysdeps/unix/sysv/linux/mips.
27209 * README: Update listing for mips-*-linux-gnu and
27210 mips64-*-linux-gnu.
27212 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27214 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27215 * sysdeps/unix/sysv/linux/m68k: Move directory from
27216 ports/sysdeps/unix/sysv/linux/m68k.
27217 * README: Update listing for m68k-*-linux-gnu.
27219 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27221 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27222 * sysdeps/unix/sysv/linux/generic: Move directory from
27223 ports/sysdeps/unix/sysv/linux/generic.
27224 * sysdeps/unix/sysv/linux/tile: Move directory from
27225 ports/sysdeps/unix/sysv/linux/tile.
27226 * README: Update listing for tile*-*-linux-gnu.
27228 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27230 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27232 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27233 * catgets/open_catalog.c (__open_catalog): Likewise.
27234 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27235 * debug/confstr_chk.c: Likewise.
27236 * debug/fread_chk.c (__fread_chk): Likewise.
27237 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27238 * debug/getgroups_chk.c: Likewise.
27239 * debug/mbsnrtowcs_chk.c: Likewise.
27240 * debug/mbsrtowcs_chk.c: Likewise.
27241 * debug/mbstowcs_chk.c: Likewise.
27242 * debug/memcpy_chk.c: Likewise.
27243 * debug/memmove_chk.c: Likewise.
27244 * debug/mempcpy_chk.c: Likewise.
27245 * debug/memset_chk.c: Likewise.
27246 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27247 * debug/strcat_chk.c (__strcat_chk): Likewise.
27248 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27249 * debug/strncat_chk.c (__strncat_chk): Likewise.
27250 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27251 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27252 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27253 * debug/wcpncpy_chk.c: Likewise.
27254 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27255 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27256 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27257 * debug/wcsncpy_chk.c: Likewise.
27258 * debug/wcsnrtombs_chk.c: Likewise.
27259 * debug/wcsrtombs_chk.c: Likewise.
27260 * debug/wcstombs_chk.c: Likewise.
27261 * debug/wmemcpy_chk.c: Likewise.
27262 * debug/wmemmove_chk.c: Likewise.
27263 * debug/wmempcpy_chk.c: Likewise.
27264 * debug/wmemset_chk.c: Likewise.
27265 * dirent/scandirat.c (SCANDIRAT): Likewise.
27266 * dlfcn/dladdr1.c (dladdr1): Likewise.
27267 * dlfcn/dladdr.c (dladdr): Likewise.
27268 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27269 * dlfcn/dlerror.c (__dlerror): Likewise.
27270 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27271 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27272 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27273 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27274 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27275 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27276 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27277 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27279 * elf/dl-conflict.c: Likewise.
27280 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27281 * elf/dl-dst.h: Likewise.
27282 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27283 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27284 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27285 * elf/dl-init.c (call_init, _dl_init): Likewise.
27286 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27287 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27288 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27290 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27292 * elf/dl-minimal.c (__libc_memalign): Likewise.
27293 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27294 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27295 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27296 * elf/dl-sym.c (do_sym): Likewise.
27297 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27298 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27299 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27300 * elf/dl-writev.h (_dl_writev): Likewise.
27301 * elf/ldconfig.c (search_dir): Likewise.
27302 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27303 (dl_main): Likewise.
27304 * elf/setup-vdso.h (setup_vdso): Likewise.
27305 * grp/compat-initgroups.c (compat_call): Likewise.
27306 * grp/fgetgrent.c (fgetgrent): Likewise.
27307 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27308 * grp/putgrent.c (putgrent): Likewise.
27309 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27311 * hurd/hurdinit.c: Likewise.
27312 * iconvdata/8bit-gap.c (struct): Likewise.
27313 * iconvdata/ansi_x3.110.c : Likewise.
27314 * iconvdata/big5.c : Likewise.
27315 * iconvdata/big5hkscs.c : Likewise.
27316 * iconvdata/cp1255.c: Likewise.
27317 * iconvdata/cp1258.c : Likewise.
27318 * iconvdata/cp932.c : Likewise.
27319 * iconvdata/euc-cn.c: Likewise.
27320 * iconvdata/euc-jisx0213.c : Likewise.
27321 * iconvdata/euc-jp.c: Likewise.
27322 * iconvdata/euc-jp-ms.c : Likewise.
27323 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27324 * iconvdata/gb18030.c : Likewise.
27325 * iconvdata/gbbig5.c (const): Likewise.
27326 * iconvdata/gbgbk.c: Likewise.
27327 * iconvdata/gbk.c : Likewise.
27328 * iconvdata/ibm1364.c : Likewise.
27329 * iconvdata/ibm930.c : Likewise.
27330 * iconvdata/ibm932.c: Likewise.
27331 * iconvdata/ibm933.c : Likewise.
27332 * iconvdata/ibm935.c : Likewise.
27333 * iconvdata/ibm937.c : Likewise.
27334 * iconvdata/ibm939.c : Likewise.
27335 * iconvdata/ibm943.c: Likewise.
27336 * iconvdata/iso_11548-1.c: Likewise.
27337 * iconvdata/iso-2022-cn.c : Likewise.
27338 * iconvdata/iso-2022-cn-ext.c : Likewise.
27339 * iconvdata/iso-2022-jp-3.c: Likewise.
27340 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27341 * iconvdata/iso-2022-kr.c : Likewise.
27342 * iconvdata/iso646.c (gconv_end): Likewise.
27343 * iconvdata/iso_6937-2.c : Likewise.
27344 * iconvdata/iso_6937.c : Likewise.
27345 * iconvdata/iso8859-1.c: Likewise.
27346 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27347 * iconvdata/shift_jisx0213.c : Likewise.
27348 * iconvdata/sjis.c : Likewise.
27349 * iconvdata/t.61.c : Likewise.
27350 * iconvdata/tcvn5712-1.c : Likewise.
27351 * iconvdata/tscii.c: Likewise.
27352 * iconvdata/uhc.c : Likewise.
27353 * iconvdata/unicode.c (gconv_end): Likewise.
27354 * iconvdata/utf-16.c (gconv_end): Likewise.
27355 * iconvdata/utf-32.c (gconv_end): Likewise.
27356 * iconvdata/utf-7.c (base64): Likewise.
27357 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27358 * iconv/gconv_close.c (__gconv_close): Likewise.
27359 * iconv/gconv_open.c (__gconv_open): Likewise.
27360 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27361 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27362 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27363 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27364 (ucs4le_internal_loop_single): Likewise.
27365 * iconv/iconv.c (iconv): Likewise.
27366 * iconv/iconv_close.c: Likewise.
27367 * iconv/loop.c (SINGLE): Likewise.
27368 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27369 * include/atomic.h: Likewise.
27370 * inet/inet6_option.c (option_alloc): Likewise.
27371 * intl/bindtextdom.c (set_binding_values): Likewise.
27372 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27373 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27374 * intl/localealias.c (read_alias_file): Likewise.
27375 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27376 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27377 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27378 * libio/fmemopen.c (fmemopen): Likewise.
27379 * libio/iofgets.c (_IO_fgets): Likewise.
27380 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27381 * libio/iofgetws.c (fgetws): Likewise.
27382 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27383 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27384 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27385 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27386 * locale/findlocale.c (_nl_find_locale): Likewise.
27387 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27388 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27390 * locale/setlocale.c (setlocale): Likewise.
27391 * login/programs/pt_chown.c (main): Likewise.
27392 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27393 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27394 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27395 (mmap, mmap64, mremap, munmap): Likewise.
27396 * math/e_exp2l.c: Likewise.
27397 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27398 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27399 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27400 * math/s_catan.c (__catan): Likewise.
27401 * math/s_catanf.c (__catanf): Likewise.
27402 * math/s_catanh.c (__catanh): Likewise.
27403 * math/s_catanhf.c (__catanhf): Likewise.
27404 * math/s_catanhl.c (__catanhl): Likewise.
27405 * math/s_catanl.c (__catanl): Likewise.
27406 * math/s_ccosh.c (__ccosh): Likewise.
27407 * math/s_ccoshf.c (__ccoshf): Likewise.
27408 * math/s_ccoshl.c (__ccoshl): Likewise.
27409 * math/s_cexp.c (__cexp): Likewise.
27410 * math/s_cexpf.c (__cexpf): Likewise.
27411 * math/s_cexpl.c (__cexpl): Likewise.
27412 * math/s_clog10.c (__clog10): Likewise.
27413 * math/s_clog10f.c (__clog10f): Likewise.
27414 * math/s_clog10l.c (__clog10l): Likewise.
27415 * math/s_clog.c (__clog): Likewise.
27416 * math/s_clogf.c (__clogf): Likewise.
27417 * math/s_clogl.c (__clogl): Likewise.
27418 * math/s_csin.c (__csin): Likewise.
27419 * math/s_csinf.c (__csinf): Likewise.
27420 * math/s_csinh.c (__csinh): Likewise.
27421 * math/s_csinhf.c (__csinhf): Likewise.
27422 * math/s_csinhl.c (__csinhl): Likewise.
27423 * math/s_csinl.c (__csinl): Likewise.
27424 * math/s_csqrt.c (__csqrt): Likewise.
27425 * math/s_csqrtf.c (__csqrtf): Likewise.
27426 * math/s_csqrtl.c (__csqrtl): Likewise.
27427 * math/s_ctan.c (__ctan): Likewise.
27428 * math/s_ctanf.c (__ctanf): Likewise.
27429 * math/s_ctanh.c (__ctanh): Likewise.
27430 * math/s_ctanhf.c (__ctanhf): Likewise.
27431 * math/s_ctanhl.c (__ctanhl): Likewise.
27432 * math/s_ctanl.c (__ctanl): Likewise.
27433 * math/w_pow.c: Likewise.
27434 * math/w_powf.c: Likewise.
27435 * math/w_powl.c: Likewise.
27436 * math/w_scalb.c (sysv_scalb): Likewise.
27437 * math/w_scalbf.c (sysv_scalbf): Likewise.
27438 * math/w_scalbl.c (sysv_scalbl): Likewise.
27439 * misc/error.c (error_tail): Likewise.
27440 * misc/pselect.c (__pselect): Likewise.
27441 * nis/nis_callback.c (__nis_create_callback): Likewise.
27442 * nis/nis_call.c (__nisfind_server): Likewise.
27443 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27444 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27445 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27446 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27447 * nis/nis_lookup.c (nis_lookup): Likewise.
27448 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27449 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27450 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27451 * nis/nis_xdr.c (xdr_endpoint): Likewise.
27452 * nis/nss_compat/compat-grp.c (getgrent_next_file)
27453 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27454 * nis/nss_compat/compat-initgroups.c (add_group)
27455 (internal_getgrent_r): Likewise.
27456 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27457 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27458 * nis/nss_compat/compat-spwd.c (getspent_next_file)
27459 (internal_getspnam_r): Likewise.
27460 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27461 (_nss_nis_getaliasbyname_r): Likewise.
27462 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27463 (_nss_nis_getntohost_r): Likewise.
27464 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27465 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27466 (_nss_nis_getgrgid_r): Likewise.
27467 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27468 (internal_nis_gethostent_r, internal_gethostbyname2_r)
27469 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27470 (_nss_nis_gethostbyname4_r): Likewise.
27471 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27472 (initgroups_netid): Likewise.
27473 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27474 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27475 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27476 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27477 (_nss_nis_getprotobynumber_r): Likewise.
27478 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27479 (_nss_nis_getsecretkey): Likewise.
27480 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27481 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27482 (_nss_nis_getpwuid_r): Likewise.
27483 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27484 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27485 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27486 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27487 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27488 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27489 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27491 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27492 (_nss_nisplus_getntohost_r): Likewise.
27493 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27494 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27495 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27496 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27498 * nis/nss_nisplus/nisplus-initgroups.c
27499 (_nss_nisplus_initgroups_dyn): Likewise.
27500 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27501 (_nss_nisplus_getnetbyaddr_r): Likewise.
27502 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27503 (_nss_nisplus_getprotobynumber_r): Likewise.
27504 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27505 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27506 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27508 * nis/nss_nisplus/nisplus-service.c
27509 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27510 (_nss_nisplus_getservbyport_r): Likewise.
27511 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27512 (_nss_nisplus_getspnam_r): Likewise.
27513 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27515 * nscd/aicache.c (addhstaiX): Likewise.
27516 * nscd/cache.c (cache_search, prune_cache): Likewise.
27517 * nscd/connections.c (register_traced_file, send_ro_fd)
27518 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27519 (main_loop_epoll): Likewise.
27520 * nscd/grpcache.c (addgrbyX): Likewise.
27521 * nscd/hstcache.c (addhstbyX): Likewise.
27522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27523 * nscd/mem.c (gc, mempool_alloc): Likewise.
27524 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27525 (addinnetgrX): Likewise.
27526 * nscd/nscd-client.h (__nscd_acquire_maplock)
27527 (__nscd_drop_map_ref): Likewise.
27528 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27529 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27530 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27532 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27533 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27534 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27535 (__nscd_get_map_ref): Likewise.
27536 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27537 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27539 * nscd/pwdcache.c (addpwbyX): Likewise.
27540 * nscd/selinux.c (preserve_capabilities): Likewise.
27541 * nscd/servicescache.c (addservbyX): Likewise.
27542 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27543 * posix/fnmatch.c (fnmatch): Likewise.
27544 * posix/getopt.c (_getopt_internal_r): Likewise.
27545 * posix/glob.c (glob, glob_in_dir): Likewise.
27546 * posix/wordexp.c (exec_comm_child): Likewise.
27547 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27548 (getanswer_r, gaih_getanswer_slice): Likewise.
27549 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27550 * resolv/res_init.c: Likewise.
27551 * resolv/res_mkquery.c (res_nmkquery): Likewise.
27552 * resolv/res_query.c (__libc_res_nquery): Likewise.
27553 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27555 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27556 * stdio-common/perror.c (perror): Likewise.
27557 * stdio-common/printf_fp.c (___printf_fp): Likewise.
27558 * stdio-common/tmpnam.c (tmpnam): Likewise.
27559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27560 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27561 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27563 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27564 * stdlib/putenv.c (putenv): Likewise.
27565 * stdlib/setenv.c (__add_to_environ): Likewise.
27566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27567 * stdlib/strtol_l.c (INTERNAL): Likewise.
27568 * string/memmem.c (memmem): Likewise.
27569 * string/strerror.c (strerror): Likewise.
27570 * string/strnlen.c (__strnlen): Likewise.
27571 * string/test-memmem.c (simple_memmem): Likewise.
27572 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27573 * sunrpc/pm_getport.c (__get_socket): Likewise.
27574 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27575 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27576 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27577 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27579 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27580 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27581 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27582 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27583 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27584 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27586 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27588 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27589 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27591 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27592 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27594 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27596 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27597 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27598 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27599 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
27601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
27603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
27605 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
27606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27607 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
27608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
27609 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27610 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
27611 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
27615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27618 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
27619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27620 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27622 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
27624 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
27626 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
27628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27630 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
27632 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
27633 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
27634 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27635 * sysdeps/posix/sleep.c: Likewise.
27636 * sysdeps/posix/tempname.c: Likewise.
27637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
27638 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27640 * sysdeps/powerpc/powerpc32/dl-machine.h
27641 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
27642 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27644 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
27645 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
27647 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
27648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
27649 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
27651 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
27652 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
27653 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
27654 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
27655 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27656 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
27657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
27658 (elf_machine_lazy_rel): Likewise.
27659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
27660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
27661 (elf_machine_lazy_rel): Likewise.
27662 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
27663 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
27664 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
27665 * sysdeps/unix/grantpt.c (grantpt): Likewise.
27666 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
27667 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
27668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27671 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27672 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27673 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
27674 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
27675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27676 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27677 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
27678 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
27679 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
27680 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27681 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27683 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
27684 (__posix_fallocate64_l64): Likewise.
27685 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
27686 (posix_fallocate): Likewise.
27687 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27689 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27690 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
27691 (getifaddrs_internal): Likewise.
27692 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
27693 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
27694 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27695 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27696 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27697 (__posix_fallocate64_l64): Likewise.
27698 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27700 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
27701 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
27702 (__get_clockfreq): Likewise.
27703 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
27704 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27705 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
27706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
27709 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
27710 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
27712 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
27713 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
27714 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27715 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
27716 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27717 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
27718 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
27720 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27721 (posix_fallocate): Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27723 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27724 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
27725 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
27726 (elf_machine_rela, elf_machine_rela_relative)
27727 (elf_machine_lazy_rel): Likewise.
27728 * time/asctime.c (asctime_internal): Likewise.
27729 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
27730 * time/tzset.c (__tzset_parse_tz): Likewise.
27731 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27732 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27733 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
27734 * wcsmbs/wcsmbsload.h: Likewise.
27737 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
27739 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
27740 (arena_get2): Remove THREAD_STATS conditionals.
27741 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
27742 (__malloc_stats, int): Likewise.
27744 2014-02-08 Mike Frysinger <vapier@gentoo.org>
27746 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
27747 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
27749 * manual/setjmp.texi: Fix typos/grammar errors.
27751 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
27752 Only return early when n is <= 0. Delete unused return statement.
27754 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
27755 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
27756 * debug/tst-longjmp_chk3.c: New file.
27758 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
27759 (test_main): Replace code with set_fortify_handler call.
27760 * debug/test-strcpy_chk.c: Likewise.
27761 * debug/tst-chk1.c: Likewise.
27762 * debug/tst-longjmp_chk.c: Likewise.
27763 * test-skeleton.c: Include fcntl.h & paths.h
27764 (set_fortify_handler): Define.
27766 * debug/tst-longjmp_chk.c: Add header comment and include
27767 ../test-skeleton.c.
27768 (do_test): Mark static.
27769 (TEST_FUNCTION): Define.
27771 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
27772 (IP_PMTUDISC_INTERFACE): Likewise.
27773 (IP_MULTICAST_IF): Likewise.
27774 (IP_MULTICAST_TTL): Likewise.
27775 (IP_MULTICAST_LOOP): Likewise.
27776 (IP_ADD_MEMBERSHIP): Likewise.
27777 (IP_DROP_MEMBERSHIP): Likewise.
27778 (IP_UNBLOCK_SOURCE): Likewise.
27779 (IP_BLOCK_SOURCE): Likewise.
27780 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
27781 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
27782 (IP_MSFILTER): Likewise.
27783 (MCAST_JOIN_GROUP): Likewise.
27784 (MCAST_BLOCK_SOURCE): Likewise.
27785 (MCAST_UNBLOCK_SOURCE): Likewise.
27786 (MCAST_LEAVE_GROUP): Likewise.
27787 (MCAST_JOIN_SOURCE_GROUP): Likewise.
27788 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27789 (MCAST_MSFILTER): Likewise.
27790 (IP_MULTICAST_ALL): Likewise.
27791 (IP_UNICAST_IF): Likewise.
27793 * timezone/Makefile: Delete $(have-ksh) check.
27794 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
27795 * timezone/tzselect.ksh: Add +x mode bits.
27797 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
27798 (ANON_INODE_FS_MAGIC): Likewise.
27799 (BDEVFS_MAGIC): Likewise.
27800 (BINFMTFS_MAGIC): Likewise.
27801 (BTRFS_TEST_MAGIC): Likewise.
27802 (CRAMFS_MAGIC_WEND): Likewise.
27803 (DEBUGFS_MAGIC): Likewise.
27804 (ECRYPTFS_SUPER_MAGIC): Likewise.
27805 (EXT3_SUPER_MAGIC): Likewise.
27806 (EXT4_SUPER_MAGIC): Likewise.
27807 (FUTEXFS_SUPER_MAGIC): Likewise.
27808 (HOSTFS_SUPER_MAGIC): Likewise.
27809 (HUGETLBFS_MAGIC): Likewise.
27810 (MINIX3_SUPER_MAGIC): Likewise.
27811 (MTD_INODE_FS_MAGIC): Likewise.
27812 (NILFS_SUPER_MAGIC): Likewise.
27813 (OPENPROM_SUPER_MAGIC): Likewise.
27814 (PIPEFS_MAGIC): Likewise.
27815 (PSTOREFS_MAGIC): Likewise.
27816 (QNX6_SUPER_MAGIC): Likewise.
27817 (RAMFS_MAGIC): Likewise.
27818 (REISERFS_SUPER_MAGIC_STRING): Likewise.
27819 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
27820 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
27821 (SECURITYFS_MAGIC): Likewise.
27822 (SELINUX_MAGIC): Likewise.
27823 (SMACK_MAGIC): Likewise.
27824 (SOCKFS_MAGIC): Likewise.
27825 (SQUASHFS_MAGIC): Likewise.
27826 (STACK_END_MAGIC): Likewise.
27827 (TMPFS_MAGIC): Likewise.
27828 (USBDEVICE_SUPER_MAGIC): Likewise.
27829 (V9FS_MAGIC): Likewise.
27830 (XENFS_SUPER_MAGIC): Likewise.
27831 (CRAMFS_MAGIC): Fix typo in comment.
27832 (EXT2_SUPER_MAGIC): Update comment.
27833 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
27835 2014-02-08 Joseph Myers <joseph@codesourcery.com>
27837 * sysdeps/arm: Move directory from ports/sysdeps/arm.
27838 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
27839 * sysdeps/unix/sysv/linux/arm: Move directory from
27840 ports/sysdeps/unix/sysv/linux/arm.
27841 * README: Update listing for arm-*-linux-gnueabi.
27843 * README: Remove mention of am33.
27845 2014-02-07 Roland McGrath <roland@hack.frob.com>
27847 * bits/sigset.h (__sigemptyset): Use a statement expression rather
27848 than the comma operator, to avoid "rhs of comma has no effect"
27850 (__sigfillset, __sigandset, __sigorset): Likewise.
27851 * include/signal.h (__sigemptyset): Likewise.
27852 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
27854 2014-02-07 Allan McRae <allan@archlinux.org>
27856 * version.h (RELEASE): Set to "development".
27857 (VERSION): Set to "2.19.90"
27858 * NEWS: Add 2.20 section.
27860 2014-02-06 Carlos O'Donell <carlos@redhat.com>
27863 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
27865 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27867 * manual/contrib.texi: Update entry for Carlos O'Donell,
27868 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
27870 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
27872 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
27874 * sysdeps/unix/sysv/linux/kernel-features.h
27875 [__LINUX_KERNEL_VERSION >= 0x020621]
27876 (__ASSUME_PROC_PID_TASK_COMM): Define.
27878 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27881 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
27882 conversion when destination buffer does not have enough space.
27883 * libio/tst-ftell-partial-wide.c: New test case.
27884 * libio/Makefile (tests): Add tst-ftell-partial-wide.
27886 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
27887 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
27888 Leonard and Allan McRae.
27890 2014-02-04 David S. Miller <davem@davemloft.net>
27892 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
27895 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27924 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27926 * nptl/shlib-versions: Change powerpc*le start to 2.17.
27927 * shlib-versions: Likewise.
27929 2014-02-04 Roland McGrath <roland@hack.frob.com>
27930 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27932 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
27933 (abilist-pattern): New variable, set to %-le.abilist.
27935 * Makerules (abilist-pattern): New variable.
27936 (vpath): Use $(abilist-pattern) in place of %.abilist.
27937 (check-abi-% pattern rule): Likewise.
27938 (check-abi, update-abi): Likewise.
27940 2014-02-04 Eric Wong <normalperson@yhbt.net>
27942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27944 2014-02-03 Carlos O'Donell <carlos@redhat.com>
27946 * manual/startup.texi: Add next, previous, and top entries for
27947 the `Program Arguments' and `Environment Variables' nodes.
27949 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
27951 * manual/macros.texi: Add comments before MTASC-safety macros.
27953 * manual/users.texi: Document MTASC-safety properties.
27955 * manual/threads.texi (pthread_key_create, pthread_key_delete)
27956 (pthread_getspecific, pthread_setspecific): Format with
27957 @deftypefun, and add @safety note.
27958 * manual/signal.texi: Move comments that analyze the above
27959 functions to their home place.
27961 2014-02-03 Allan McRae <allan@archlinux.org>
27963 * po/sl.po: Update Slovenian translation from translation project.
27965 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
27967 * manual/time.texi (timegm): Add missing blank after @c.
27968 Reported by Joseph Myers <joseph@codesourcery.com>.
27970 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
27972 * manual/check-safety.sh: New.
27973 * manual/Makefile ($(objpfx)stamp-summary): Run it.
27975 * manual/terminal.texi: Document MTASC-safety properties.
27977 * manual/filesys.texi: Document MTASC-safety properties.
27979 * manual/errno.texi: Document MTASC-safety properties.
27981 * manual/intro.texi: Document safety identifiers and
27984 * manual/string.texi (wcstok): Fix prototype.
27985 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27987 * manual/time.texi: Document MTASC-safety properties.
27989 * manual/string.texi: Document MTASC-safety properties.
27991 * manual/threads.texi: Document MTASC-safety properties.
27993 * manual/stdio.texi: Document MTASC-safety properties.
27995 * manual/syslog.texi: Document MTASC-safety properties.
27997 * manual/sysinfo.texi: Document MTASC-safety properties.
27999 * manual/startup.texi: Document MTASC-safety properties.
28001 * manual/socket.texi: Document MTASC-safety properties.
28003 * manual/signal.texi: Document MTASC-safety properties.
28005 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28007 * manual/setjmp.texi: Document MTASC-safety properties.
28009 * manual/search.texi: Document MTASC-safety properties.
28011 * manual/resource.texi: Document MTASC-safety properties.
28013 * manual/process.texi: Document MTASC-safety properties.
28015 * manual/platform.texi: Document MTASC-safety properties.
28017 * manual/pipe.texi: Document MTASC-safety properties.
28019 * manual/pattern.texi: Document MTASC-safety properties.
28021 * manual/message.texi: Document MTASC-safety properties.
28024 * manual/memory.texi: Document MTASC-safety properties.
28026 * manual/math.texi: Document MTASC-safety properties.
28028 * manual/locale.texi: Document MTASC-safety properties.
28030 * manual/llio.texi: Document MTASC-safety properties.
28032 * manual/libdl.texi: New.
28034 * manual/lang.texi: Document MTASC-safety properties.
28036 * manual/job.texi: Document MTASC-safety properties.
28038 * manual/getopt.texi: Document MTASC-safety properties.
28040 * manual/ctype.texi: Document MTASC-safety properties.
28042 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28045 * csu/libc-tls.c (static_map): Remove variable.
28046 (__libc_setup_tls): Use main executable's link map for TLS data.
28047 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28048 casing for LM_ID_BASE and GL(dl_nns).
28049 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28050 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
28051 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28052 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28053 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28055 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28058 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
28060 * manual/debug.texi: Document MTASC-safety properties.
28062 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
28065 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28066 of __x86_64__ when disabling x87 inline functions.
28068 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
28070 * manual/charset.texi: Document MTASC-safety properties.
28072 * manual/crypt.texi: Document MTASC-safety properties.
28074 * manual/conf.texi: Document MTASC-safety properties.
28076 * manual/arith.texi: Document MTASC-safety properties.
28078 * manual/argp.texi: Document MTASC-safety properties.
28080 * manual/macros.texi: Introduce macros to document multi
28081 thread, asynchronous signal and asynchronous cancellation
28083 * manual/intro.texi: Introduce the properties themselves.
28085 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28087 * sysdeps/sh/sh4/Makefile: New file.
28089 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28091 * math/gen-libm-test.pl ($srcdir): New variable.
28092 ($auto_input): Use it.
28094 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28097 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28098 access beyond array bounds when parsing netgroups file.
28100 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28101 the old buffer before realloc.
28103 2014-01-27 Allan McRae <allan@archlinux.org>
28105 * po/fr.po: Update French translation from translation project.
28107 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28109 * sysdeps/sh/libm-test-ulps: Regenerate.
28111 2014-01-24 David S. Miller <davem@davemloft.net>
28113 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28115 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28118 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28120 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28123 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28124 string pointers after reallocation.
28126 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28129 __SH4A__ instead of __SH_FPU_ANY__.
28131 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28133 * sysdeps/sh/fpu_control.h: New file.
28134 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28135 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28136 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28137 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28138 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28139 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28140 * sysdeps/sh/sys/ucontext.h: Remove.
28141 * sysdeps/sh/sys: Remove directory.
28143 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28145 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28146 s390/sys/ucontext.h.
28147 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28148 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28150 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28153 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28155 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28158 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28159 Adjust the vDSO correctly for internal calls.
28160 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28162 2014-01-20 Allan McRae <allan@archlinux.org>
28164 * po/ca.po: Update Catalan translation from translation project.
28166 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28168 * sysdeps/s390/sotruss-lib.c: New file.
28170 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28174 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28175 local calls issues by not having a PLT stub required for IFUNC calls.
28176 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28178 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28180 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28181 * math/test-fpucw-static.c: Likewise.
28183 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28186 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28188 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28190 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28191 implementation for powerpc.
28193 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28196 * sysdeps/posix/system.c (__libc_system): Do not enable
28197 asynchronous cancellation.
28199 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28202 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28203 handling only for numbers special also in the IEEE case.
28205 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28207 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28209 2014-01-11 Allan McRae <allan@archlinux.org>
28211 * po/bg.po: Update Bulgarian translation from translation project.
28213 * po/de.po: Update German translation from translation project.
28215 2014-01-10 Roland McGrath <roland@hack.frob.com>
28217 * sysdeps/generic/gcc-compat.h: New file.
28219 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28221 * benchtests/asin-inputs: Correct slow inputs.
28222 * benchtests/acos-inputs: Likewise.
28224 2014-01-10 Allan McRae <allan@archlinux.org>
28226 * po:sv.po: Update Swedish translation from translation project.
28228 * po/vi.po: Update Vietnamese translation from translation project.
28230 * po/eo.po: Update Esperanto translation from translation project.
28232 * po/cs.po: Update Czech translation from translation project.
28234 * po/nl.po: Update Dutch translation from translation project.
28236 * po/pl.po: Update Polish translation from translation project.
28238 * po/ru.po: Update Russian translation from translation project.
28240 * po/uk.po: Update Ukrainian translation from translation project.
28242 2014-01-08 Brooks Moses <bmoses@google.com>
28244 * elf/dl-load.c: Fix comment typo.
28246 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28248 * po/header.pot: Rename to...
28249 * po/pot.header: ... this.
28250 * po/Makefile: Use pot.header.
28252 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28253 Maxim Kuvyrkov <maxim@kugelworks.com>
28256 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28257 SRC and DEST against LEN.
28259 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28262 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28264 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28266 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28270 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28273 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28274 for large positive arguments.
28276 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28278 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28280 * math/auto-libm-test-in: Mark various tests with
28281 xfail-rounding:ldbl-128ibm.
28282 * math/auto-libm-test-out: Regenerated.
28285 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28286 Increase overflow threshold.
28288 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28291 * stdio-common/vfprintf.c: Check for integer overflow.
28293 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28295 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28296 the first argument and return value of __tls_get_addr_internal.
28298 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28300 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28301 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28303 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28305 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28306 * sysdeps/s390/rtld-global-offsets.sym: New file.
28307 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28309 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28310 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28311 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28313 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28320 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28321 halfs of GPRs for high_gprs contexts.
28322 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28323 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28325 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28329 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28330 for high GPRs (uc_high_gprs) and for future extensions
28332 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28333 for future extensions (__reserved).
28334 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28336 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28337 SC_HIGHGPRS offset definition.
28338 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28339 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28341 * Versions.def: Add GLIBC_2.19 for libpthread.
28342 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28343 siglongjmp for libpthread with GLIBC_2.19 symver.
28344 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28345 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28346 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28347 * sysdeps/s390/__longjmp.c: New file.
28348 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28349 * sysdeps/s390/longjmp.c: New file.
28350 * sysdeps/s390/setjmp.S: New file.
28351 * sysdeps/s390/sigjmp.S: New file.
28352 * sysdeps/s390/v1-longjmp.c: New file.
28353 * sysdeps/s390/v1-setjmp.h: New file.
28354 * sysdeps/s390/v1-sigjmp.c: New file.
28355 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28356 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28357 GLIBC_2.19 version.
28358 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28359 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28360 versioned symbols for ____longjmp_chk.
28361 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28371 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28372 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28373 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28374 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28375 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28376 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28377 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28378 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28379 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28380 * sysdeps/s390/rtld-__longjmp.c: New file.
28381 * sysdeps/s390/rtld-setjmp.S: New file.
28383 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28386 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28387 Return -__logl (x) for small positive arguments without evaluating
28390 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28392 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28394 (__ptrace_peeksiginfo_args): ... this.
28395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28399 2014-01-06 Allan McRae <allan@archlinux.org>
28401 * inet/netinet/in.h: Fix typo in comment.
28403 2014-01-05 Andreas Jaeger <aj@suse.de>
28405 * sysdeps/i386/fpu/libm-test-ulps: Update.
28407 2014-01-05 Allan McRae <allan@archlinux.org>
28409 * po/libc.pot: Regenerated.
28411 * malloc/memusagestat.c: Fix gettext call formatting.
28413 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28415 * nscd/nscd.c: Improve usage() output.
28417 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28419 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28420 * sysdeps/unix/sysv/linux/configure: Regenerated.
28421 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28422 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28424 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28427 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28428 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28430 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28432 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28433 extra tokens at end of #undef directive.
28434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28435 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28436 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28438 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28440 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28442 * math/auto-libm-test-in: Mark various tests with
28443 xfail-rounding:ldbl-128ibm.
28444 * math/auto-libm-test-out: Regenerated.
28446 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28450 numbers with subnormal high part when calculating exponent.
28453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28459 (__ieee754_acoshl): Use __log1pl not __log1p.
28461 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
28463 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28464 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28465 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28466 (grow_heap, heap_trim, _int_new_arena, get_free_list)
28467 (reused_arena, arena_get2): Convert to GNU style.
28468 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28469 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28470 (memalign_check, __malloc_set_state): Likewise.
28471 * malloc/mallocbug.c (main): Likewise.
28472 * malloc/malloc.c (__malloc_assert, malloc_init_state)
28473 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28474 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28475 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28476 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28477 (__posix_memalign, malloc_info): Likewise.
28478 * malloc/malloc.h: Likewise.
28479 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28480 (mallochook, memalignhook, reallochook, mabort): Likewise.
28481 * malloc/mcheck.h: Likewise.
28482 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28483 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28484 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28485 * malloc/morecore.c (__default_morecore): Likewise.
28486 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28487 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28488 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28489 (print_and_abort): Likewise.
28490 * malloc/obstack.h: Likewise.
28491 * malloc/set-freeres.c (__libc_freeres): Likewise.
28492 * malloc/tst-mallocstate.c (main): Likewise.
28493 * malloc/tst-mtrace.c (main): Likewise.
28494 * malloc/tst-realloc.c (do_test): Likewise.
28496 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28499 * nscd/netgroupcache.c (do_notfound): New function.
28500 (addgetnetgrentX): Use it.
28503 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28504 NSS_STATUS_NOTFOUND.
28506 2014-01-01 Joseph Myers <joseph@codesourcery.com>
28508 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28511 2014-01-01 Allan McRae <allan@archlinux.org>
28513 * scripts/update-copyrights: Update configure input file suffix.
28515 * NEWS: Update copyright year.
28516 * catgets/gencat.c: Likewise.
28517 * csu/version.c: Likewise.
28518 * debug/catchsegv.sh: Likewise.
28519 * debug/pcprofiledump.c: Likewise.
28520 * debug/xtrace.sh: Likewise.
28521 * elf/ldconfig.c: Likewise.
28522 * elf/ldd.bash.in: Likewise.
28523 * elf/pldd.c: Likewise.
28524 * elf/sotruss.ksh: Likewise.
28525 * elf/sprof.c: Likewise.
28526 * iconv/iconv_prog.c: Likewise.
28527 * iconv/iconvconfig.c: Likewise.
28528 * locale/programs/locale.c: Likewise.
28529 * locale/programs/localedef.c: Likewise.
28530 * login/programs/pt_chown.c: Likewise.
28531 * malloc/memusage.sh: Likewise.
28532 * malloc/memusagestat.c: Likewise.
28533 * malloc/mtrace.pl: Likewise.
28534 * manual/libc.texinfo: Likewise.
28535 * nscd/nscd.c: Likewise.
28536 * nss/getent.c: Likewise.
28537 * nss/makedb.c: Likewise.
28538 * posix/getconf.c: Likewise.
28539 * scripts/test-installation.pl: Likewise.
28541 * All files with FSF copyright notices: Update copyright dates
28542 using scripts/update-copyrights.
28543 * intl/plural.c: Regenerated.
28544 * locale/programs/charmap-kw.h: Likewise.
28545 * locale/programs/locfile-kw.h: Likewise.
28547 2013-12-31 Mike Frysinger <vapier@gentoo.org>
28549 * sysdeps/unix/sysv/linux/configure: Regenerated.
28550 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28551 the linux/fanotify.h header.
28552 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28553 HAVE_LINUX_FANOTIFY_H is defined.
28555 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28557 * benchtests/cos-inputs: New inputs.
28558 * benchtests/sin-inputs: Likewise.
28560 * benchtests/atan-inputs: New inputs. Fix name of multiple
28561 precision fallback inputs.
28563 * benchtests/atanh-inputs: New inputs.
28564 * benchtests/tanh-inputs: Likewise.
28566 * benchtests/acosh-inputs: New inputs.
28567 * benchtests/asinh-inputs: Likewise.
28569 * benchtests/cosh-inputs: New inputs.
28570 * benchtests/sinh-inputs: Likewise.
28572 * benchtests/acos-inputs: Add more inputs.
28573 * benchtests/asin-inputs: Likewise.
28575 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
28578 * manual/arith.texi: Fix spelling.
28579 * manual/charset.texi: Likewise.
28580 * manual/errno.texi: Likewise.
28581 * manual/filesys.texi: Likewise.
28582 * manual/lang.texi: Likewise.
28583 * manual/llio.texi: Likewise.
28584 * manual/locale.texi: Likewise.
28585 * manual/message.texi: Likewise.
28586 * manual/resource.texi: Likewise.
28587 * manual/search.texi: Likewise.
28588 * manual/setjmp.texi: Likewise.
28589 * manual/stdio.texi: Likewise.
28590 * manual/string.texi: Likewise.
28591 * manual/sysinfo.texi: Likewise.
28592 * manual/time.texi: Likewise.
28594 2013-12-27 Carlos O'Donell <carlos@redhat.com>
28596 * po/sl.po: New file.
28598 2013-12-27 Mike Frysinger <vapier@gentoo.org>
28600 * .gitignore: Add core/.gdbinit/.gdb_history.
28602 2013-12-27 Allan McRae <allan@archlinux.org>
28605 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
28606 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
28608 2013-12-24 Brooks Moses <bmoses@google.com>
28610 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
28611 all compilers that claim C++98 compliance, not just GCC.
28612 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28615 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28617 * NEWS: Restore accidentally deleted bug-fix entries.
28619 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
28620 Ondřej Bílka <neleai@seznam.cz>
28623 * malloc/malloc.c (_int_free): Perform sanity check only if we
28626 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
28629 * manual/stdio.texi (String Input Conversions): Clarify that character
28630 classes are not supported.
28632 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28636 2013-12-22 Joseph Myers <joseph@codesourcery.com>
28639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28640 Calculate results for small negative arguments directly rather
28641 than using reflection formula with special underflow handling.
28643 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
28644 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
28645 sysdeps/unix/bsd/bsd4.4/syscalls.list.
28646 (fchflags): Likewise.
28647 (revoke): Likewise.
28648 (setlogin): Likewise.
28649 (sigaltstack): Likewise.
28651 (sigblock): Remove.
28652 (sigsetmask): Likewise.
28654 (waitpid): Likewise.
28655 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
28656 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
28658 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
28659 * sysdeps/unix/bsd/Makefile: ... here.
28660 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
28661 * sysdeps/unix/bsd/Versions: ... here.
28662 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
28663 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
28664 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
28665 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
28666 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
28667 * sysdeps/unix/bsd/sigblock.c: ... here.
28668 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
28669 * sysdeps/unix/bsd/sigsetmask.c: ... here.
28670 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
28671 * sysdeps/unix/bsd/sigvec.c: ... here.
28672 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
28673 * sysdeps/unix/bsd/tcdrain.c: ... here.
28674 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
28675 * sysdeps/unix/bsd/tcgetattr.c: ... here.
28676 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
28677 * sysdeps/unix/bsd/tcsetattr.c: ... here.
28678 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
28679 * sysdeps/unix/bsd/wait.c: ... here.
28680 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
28681 * sysdeps/unix/bsd/wait3.c: ... here.
28682 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
28683 * sysdeps/unix/bsd/waitpid.c: ... here.
28685 2013-12-21 Joseph Myers <joseph@codesourcery.com>
28688 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
28689 round-to-nearest for [!USE_AS_EXPM1L].
28690 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
28691 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
28692 more tests of exp and exp10. Expect some exp10 tests to miss
28693 exceptions or fail in directed rounding modes.
28694 * math/auto-libm-test-out: Regenerated.
28695 * math/libm-test.inc (exp10_tonearest_test_data): New array.
28696 (exp10_test_tonearest): New function.
28697 (exp10_towardzero_test_data): New array.
28698 (exp10_test_towardzero): New function.
28699 (exp10_downward_test_data): New array.
28700 (exp10_test_downward): New function.
28701 (exp10_upward_test_data): New array.
28702 (exp10_test_upward): New function.
28703 (main): Call the new functions.
28704 * sysdeps/i386/fpu/libm-test-ulps: Update.
28705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707 2013-12-20 Joseph Myers <joseph@codesourcery.com>
28709 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28710 asinh, atan, atan2, atanh, cbrt, cos and cosh.
28711 * math/auto-libm-test-out: Regenerated.
28712 * math/libm-test.inc (acosh_test_data): Add more tests.
28713 (atanh_test_data): Likewise.
28714 (ceil_test_data): Likewise.
28715 (copysign_test_data): Likewise.
28716 * sysdeps/i386/fpu/libm-test-ulps: Update.
28717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28719 * timezone/checktab.awk: Update from tzcode 2013i.
28720 * timezone/private.h: Likewise.
28721 * timezone/scheck.c: Likewise.
28722 * timezone/tzfile.h: Likewise.
28723 * timezone/tzselect.ksh: Likewise.
28724 * timezone/zdump.c: Likewise.
28725 * timezone/zic.c: Likewise.
28727 * math/auto-libm-test-in: Add tests of cpow.
28728 * math/auto-libm-test-out: Regenerated.
28729 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
28730 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28732 (func_calc_desc): Add mpc_cc_c union field.
28733 (test_functions): Add cpow.
28734 (special_fill_2pi): New function.
28735 (special_real_inputs): Add 2pi.
28736 (calc_generic_results): Handle mpc_cc_c.
28737 * sysdeps/i386/fpu/libm-test-ulps: Update.
28738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28740 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
28741 csqrt, ctan and ctanh.
28742 * math/auto-libm-test-out: Regenerated.
28743 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28744 (TEST_COND_x86): Likewise.
28745 (ccos_test_data): Use AUTO_TESTS_c_c.
28746 (ccosh_test_data): Likewise.
28747 (cexp_test_data): Likewise.
28748 (clog_test_data): Likewise.
28749 (csqrt_test_data): Likewise.
28750 (ctan_test_data): Likewise.
28751 (ctan_tonearest_test_data): Likewise.
28752 (ctan_towardzero_test_data): Likewise.
28753 (ctan_downward_test_data): Likewise.
28754 (ctan_upward_test_data): Likewise.
28755 (ctanh_test_data): Likewise.
28756 (ctanh_tonearest_test_data): Likewise.
28757 (ctanh_towardzero_test_data): Likewise.
28758 (ctanh_downward_test_data): Likewise.
28759 (ctanh_upward_test_data): Likewise.
28760 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28762 (func_calc_desc): Add mpc_c_c union field.
28763 (FUNC_mpc_c_c): New macro.
28764 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
28765 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
28767 (special_fill_min_subnorm_p120): New function.
28768 (special_real_inputs): Add min_subnorm_p120.
28769 (calc_generic_results): Handle mpc_c_c.
28770 * sysdeps/i386/fpu/libm-test-ulps: Update.
28771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28773 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28775 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
28776 (do_sin_slow): New functions.
28777 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
28778 (cslow2, csloww1, csloww2): Use the new functions.
28780 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
28781 Use M to change sign of result instead of X. Assume X is
28783 (csloww1): Likewise.
28787 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
28788 arguments A and DA.
28792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
28794 (sloww1): Don't adjust sign of DX.
28795 (csloww1): Likewise.
28796 (sloww2): Use X directly and don't adjust sign of DX.
28797 (csloww2): Likewise.
28799 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28801 * math/auto-libm-test-in: Add tests of cabs and carg.
28802 * math/auto-libm-test-out: Regenerated.
28803 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
28804 (carg_test_data): Likewise.
28805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28807 (func_calc_desc): Add mpc_c_f union field.
28808 (test_functions): Add cabs and carg.
28809 (calc_generic_results): Handle mpc_c_f.
28811 * sysdeps/powerpc/powerpc32/libgcc-compat.S
28812 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
28813 as a macro and a compat symbol.
28814 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28816 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28817 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28818 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
28819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
28821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
28823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
28825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
28827 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
28829 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
28831 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
28832 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
28835 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28839 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28841 * manual/texinfo.tex: Update to version 2013-11-26.10 with
28842 trailing whitespace removed.
28843 * scripts/config.guess: Update to version 2013-11-29.
28844 * scripts/config.sub: Update to version 2013-10-01.
28846 * math/auto-libm-test-in: Add tests of sincos.
28847 * math/auto-libm-test-out: Regenerated.
28848 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
28849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28851 (func_calc_desc): Add mpfr_f_11 union field.
28852 (test_functions): Add sincos.
28853 (calc_generic_results): Handle mpfr_f_11.
28854 * sysdeps/i386/fpu/libm-test-ulps: Update.
28855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28857 2013-12-19 Andreas Schwab <schwab@suse.de>
28859 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
28861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28862 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
28863 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
28865 2013-12-19 Joseph Myers <joseph@codesourcery.com>
28867 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
28868 * sysdeps/i386/fpu/libm-test-ulps: Update.
28869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28872 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
28873 round-to-nearest mode when using frndint.
28874 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
28875 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28878 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
28880 * math/auto-libm-test-out: Regenerated.
28881 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
28882 (TEST_COND_x86): Likewise.
28883 (expm1_tonearest_test_data): New array.
28884 (expm1_test_tonearest): New function.
28885 (expm1_towardzero_test_data): New array.
28886 (expm1_test_towardzero): New function.
28887 (expm1_downward_test_data): New array.
28888 (expm1_test_downward): New function.
28889 (expm1_upward_test_data): New array.
28890 (expm1_test_upward): New function.
28891 (main): Run the new test functions.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28895 * include/features.h: Update comment documenting feature test
28896 macros. Mention _DEFAULT_SOURCE in comment.
28897 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
28898 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
28899 _BSD_SOURCE and _SVID_SOURCE.
28900 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
28901 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
28902 !_SVID_SOURCE]: Likewise.
28903 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28904 (__USE_POSIX_IMPLICITLY): Define.
28905 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28906 (_POSIX_SOURCE): Undefine and redefine.
28907 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
28908 (_POSIX_C_SOURCE): Likewise.
28909 * manual/creature.texi (_DEFAULT_SOURCE): Document.
28910 (Feature Test Macros): Update documentation of default features.
28912 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28914 * benchtests/Makefile: Add bench-strtok.
28915 * benchtests/bench-strtok.c: New file: strtok benchtest.
28917 2013-12-19 Allan McRae <allan@archlinux.org>
28919 * manual/install.texi: Suppress menu for plain text output.
28920 * INSTALL: Regenerated.
28922 2013-12-18 Brooks Moses <bmoses@google.com>
28925 * misc/getauxval.c: Include errno.h.
28926 (__getauxval): Set errno to ENOENT if the requested type is not
28928 * misc/sys/auxv.h (getauxval): Document that it may set errno;
28929 don't declare with __attribute_const__.
28930 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
28931 * manual/startup.texi: Document that getauxval sets errno.
28933 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28935 * math/auto-libm-test-in: Add tests of jn and yn.
28936 * math/auto-libm-test-out: Regenerated.
28937 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
28938 (yn_test_data): Likewise.
28939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28941 (func_calc_desc): Add mpfr_if_f union field.
28942 (FUNC_mpfr_if_f): New macro.
28943 (test_functions): Add jn and yn.
28944 (calc_generic_results): Assert type of second input for
28945 mpfr_ff_f. Handle mpfr_if_f.
28946 (output_for_one_input_case): Disable all checking for arguments
28947 fitting floating-point types in case of an integer argument.
28948 * sysdeps/i386/fpu/libm-test-ulps: Update.
28949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28952 Don't expect fegetround reference in libm.so.
28954 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28956 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28957 $(config-cflags-nofma).
28959 2013-12-18 Joseph Myers <joseph@codesourcery.com>
28961 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28962 * math/auto-libm-test-out: Regenerated.
28965 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28966 to determine exponent and adjust argument to have exponent of -1.
28967 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28969 * math/auto-libm-test-out: Regenerated.
28970 * sysdeps/i386/fpu/libm-test-ulps: Update.
28971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28973 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
28975 * manual/probes.texi: Remove cases when per-thread arenas are
28978 2013-12-18 Andreas Schwab <schwab@suse.de>
28980 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28981 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28982 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28984 * sysdeps/i386/i686/multiarch/Makefile: Update.
28985 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28987 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28989 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28990 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28992 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
28995 Support TZ transition times < 00:00:00.
28996 This is needed for version-3 tz-format files; it supports time
28997 stamps past 2037 for America/Godthab (the only entry in the tz
28998 database for which this change is relevant).
28999 * manual/time.texi (TZ Variable): Document transition times
29000 from -167:59:59 through -00:00:01.
29001 * time/tzset.c (tz_rule): Time of day is now signed.
29002 (__tzset_parse_tz): Parse negative time of day.
29004 Document TZ transition times >= 25:00:00.
29005 * manual/time.texi (TZ Variable): Document transition times from
29006 25:00:00 through 167:59:59. These are already supported, and this
29007 support will help with version-3 tz-format files.
29009 * manual/time.texi (TZ Variable): Modernize North America example
29010 to reflect current (i.e., 2007-and-later) daylight saving rules.
29012 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29014 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29016 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29017 * sysdeps/unix/bsd/bits/stat.h: Likewise.
29018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29020 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29021 * sysdeps/unix/bsd/bsdstat.h: Likewise.
29022 * sysdeps/unix/bsd/clock.c: Likewise.
29023 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29024 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29025 * sysdeps/unix/bsd/init-posix.c: Likewise.
29026 * sysdeps/unix/bsd/poll.c: Likewise.
29027 * sysdeps/unix/bsd/ptsname.c: Likewise.
29028 * sysdeps/unix/bsd/seekdir.c: Likewise.
29029 * sysdeps/unix/bsd/setegid.c: Likewise.
29030 * sysdeps/unix/bsd/seteuid.c: Likewise.
29031 * sysdeps/unix/bsd/setgid.c: Likewise.
29032 * sysdeps/unix/bsd/setrgid.c: Likewise.
29033 * sysdeps/unix/bsd/setruid.c: Likewise.
29034 * sysdeps/unix/bsd/setsid.c: Likewise.
29035 * sysdeps/unix/bsd/setuid.c: Likewise.
29036 * sysdeps/unix/bsd/sigaction.c: Likewise.
29037 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29038 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29039 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29040 * sysdeps/unix/bsd/telldir.c: Likewise.
29041 * sysdeps/unix/bsd/times.c: Likewise.
29042 * sysdeps/unix/bsd/usleep.c: Likewise.
29044 * misc/Makefile (install-lib): Remove libbsd-compat.a.
29045 ($(objpfx)libbsd-compat.a): Remove rule.
29047 * include/features.h (__FAVOR_BSD): Do not define.
29048 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29049 features conflicting with POSIX.
29050 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29051 (_BSD_SOURCE): Remove description of not being a subset of other
29052 feature test macros.
29053 * manual/job.texi (getpgrp): Do not document BSD version.
29054 (getpgid): Do not document by reference to BSD getpgrp.
29055 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29056 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29057 * signal/signal.h [__FAVOR_BSD]: Likewise.
29058 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29059 instead of making contents conditional on [__FAVOR_BSD].
29060 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29062 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29066 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29069 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29070 values below 2**-450, not 2**-500.
29071 * math/auto-libm-test-in: Don't allow spurious underflow from
29073 * math/auto-libm-test-out: Regenerated.
29077 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29078 values of ha and hb and sort them after adjusting subnormal
29080 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29083 values of ea and eb and sort them after adjusting subnormal
29085 * math/auto-libm-test-in: Do not expect some hypot tests of
29086 subnormals to fail. Add more hypot tests.
29087 * math/auto-libm-test-out: Regenerated.
29089 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29092 * sysdeps/sh/s_fma.c: New file.
29093 * sysdeps/sh/s_fmaf.c: New file.
29094 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29096 * sysdeps/sh/Implies: Add sh/soft-fp.
29098 2013-12-16 Roland McGrath <roland@hack.frob.com>
29100 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29101 level of indirection to members `objname', `errstring', `malloced'.
29102 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29103 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29104 it as the __longjmp argument (just pass 1 instead).
29105 (_dl_catch_error): Initialize C with argument pointers and address of
29106 volatile local ERRCODE rather than copying values out of C at return.
29108 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29110 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29111 * math/auto-libm-test-out: Regenerated.
29112 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29113 (hypot_test_data): Likewise.
29114 (pow_test_data): Likewise.
29115 (pow_tonearest_test_data): Likewise.
29116 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29118 (func_calc_desc): Add mpfr_ff_f union field.
29119 (FUNC_mpfr_ff_f): New macro.
29120 (test_functions): Add atan2, hypot and pow.
29121 (special_fill_min): New function.
29122 (special_fill_minus_min): Likewise.
29123 (special_fill_min_subnorm): Likewise.
29124 (special_fill_minus_min_subnorm): Likewise.
29125 (special_real_inputs): Add min, -min, min_subnorm and
29127 (calc_generic_results): Handle mpfr_ff_f.
29128 * sysdeps/i386/fpu/libm-test-ulps: Update.
29129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29131 2013-12-16 Will Newton <will.newton@linaro.org>
29133 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29134 (Aligned Memory Blocks): Add documentation for aligned_alloc
29135 and suggest it as an alternative to posix_memalign.
29136 (Hooks for Malloc): Document __memalign_hook is also called
29137 for aligned_alloc. (Summary of Malloc): Add summary for
29138 aligned alloc. Document __memalign_hook is also called
29141 2013-12-16 Will Newton <will.newton@linaro.org>
29143 * manual/memory.texi (Malloc Examples): Clarify default
29144 alignment documentation. Suggest posix_memalign rather
29145 than memalign or valloc.
29146 (Aligned Memory Blocks): Remove suggestion to use memalign
29147 or valloc. Remove obsolete comment about BSD.
29148 Document memalign errno values and mark the function obsolete.
29149 Document posix_memalign returned error codes. Mark valloc
29150 as obsolete. (Hooks for Malloc): __memalign_hook is also
29151 called for posix_memalign and valloc.
29152 (Summary of Malloc): Add posix_memalign to function summary.
29153 __memalign_hook is also called for posix_memalign and valloc.
29155 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29157 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29161 (sloww): Use mynumber union. Expand ternary operator into
29162 if-else statements.
29163 (cslow): use mynumber union.
29165 2013-12-16 Allan McRae <allan@archlinux.org>
29167 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29168 * configure: Regenerated.
29170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29173 * configure.ac: Added --enable-maintainer-mode. Check for
29174 autoconf when enabled.
29175 * configure: Regenerated.
29177 * nscd/nscd.service: New file.
29178 * nscd/nscd.tmpfiles: New file.
29180 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29183 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29184 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29185 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29186 (strstr): Add __strstr_sse2_unaligned ifunc.
29187 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29188 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29189 (strcasestr): Remove __strcasestr_sse42 ifunc.
29190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29194 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29196 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29197 * sysdeps/sh/bits/fenv.h: ... here.
29198 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29200 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29202 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29205 hypotf multiarch implementations.
29206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29209 multiarch hypot for PPC64.
29210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29213 multiarch hypotf for PPC64.
29215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29216 modff multiarch implementations.
29217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29220 multiarch modf for PPC64.
29221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29224 multiarch modff for PPC64.
29226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29227 and logl multiarch implementations.
29228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29231 multiarch logb for PPC64.
29232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29235 multiarch logb for PPC64.
29236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29239 multiarch logb for PPC64.
29241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29242 isinff multiarch implementation.
29243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29247 multiarch isinf for PPC64.
29248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29251 multiarch isinff for PPC64.
29253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29254 finitef multiarch implementation.
29255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29259 multiarch finite for PPC64.
29260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29263 multiarch finitef for PPC64.
29265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29266 lrint multiarch implementation.
29267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29271 multiarch llrint for PPC64.
29272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29273 multiarch lrint for PPC64.
29275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29276 copysignf multiarch implementation.
29277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29282 multiarch copysign for PPC64.
29283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29284 multiarch copysignf for PPC64.
29286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29287 multiarch implementation.
29288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29296 multiarch llround for PPC64.
29297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29298 multiarch trunc for PPC64.
29299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29300 multiarch truncf for PPC64.
29302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29303 multiarch implementation.
29304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29312 multiarch llround for PPC64.
29313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29314 multiarch round for PPC64.
29315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29316 multiarch roundf for PPC64.
29318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29319 multiarch implementation.
29320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29328 multiarch llround for PPC64.
29329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29330 multiarch floor for PPC64.
29331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29332 multiarch floorf for PPC64.
29334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29335 multiarch implementation.
29336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29344 multiarch llround for PPC64.
29345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29346 multiarch ceil for PPC64.
29347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29348 multiarch ceilf for PPC64.
29350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29351 multiarch implementation.
29352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29359 multiarch llround for PPC64.
29360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29361 multiarch lround for PPC64.
29363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29364 multiarch implementation.
29365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29372 multiarch isnan for PPC64.
29373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29374 multiarch isnanf for PPC64.
29376 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29377 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29378 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29379 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29380 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29383 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29389 multiarch implementations.
29390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29391 (__libc_ifunc_impl_list): Likewise.
29392 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29395 multiarch stpcpy for PPC64.
29397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29398 multiarch implementations.
29399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29400 (__libc_ifunc_impl_list): Likewise.
29401 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29402 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29403 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29404 multiarch strcpy for PPC64.
29406 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29407 redefine function name.
29408 (_wordcopy_fwd_dest_aligned): Likewise.
29409 (_wordcopy_bwd_aligned): Likewise.
29410 (_wordcopy_bwd_dest_aligned): Likewise.
29411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29412 multiarch implementations.
29413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29414 (__libc_ifunc_impl_list): Likewise.
29415 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29419 multiarch wcscpy for PPC64.
29421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29422 multiarch implementations.
29423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29424 (__libc_ifunc_impl_list): Likewise.
29425 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29428 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29429 multiarch wcscpy for PPC64.
29431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29432 multiarch implementations.
29433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29434 (__libc_ifunc_impl_list): Likewise.
29435 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29436 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29438 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29439 multiarch wcsrchr for PPC64.
29441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29442 multiarch implementations.
29443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29444 (__libc_ifunc_impl_list): Likewise.
29445 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29446 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29447 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29448 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29449 multiarch wcschr for PPC64.
29451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29452 multiarch implementations.
29453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29454 (__libc_ifunc_impl_list): Likewise.
29455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29457 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29458 multiarch strchrnul for PPC64.
29460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29463 (__libc_ifunc_impl_list): Likewise.
29464 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29465 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29466 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29467 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29473 (__libc_ifunc_impl_list): Likewise.
29474 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29477 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29481 multiarch implementations.
29482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29483 (__libc_ifunc_impl_list): Likewise.
29484 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29485 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29486 strncasecmp for PPC64.
29487 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29488 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29489 multiarch strncasecmp_l for PPC64.
29491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29492 multiarch implementations.
29493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29494 (__libc_ifunc_impl_list): Likewise.
29495 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29497 multiarch strcasecmp for PPC64.
29498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29501 multiarch strcasecmp_l for PPC64.
29503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29506 (__libc_ifunc_impl_list): Likewise.
29507 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29508 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29509 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29515 (__libc_ifunc_impl_list): Likewise.
29516 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29517 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29518 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29524 (__libc_ifunc_impl_list): Likewise.
29525 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29526 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29527 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29528 rawmemrchr for PPC64.
29530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29533 (__libc_ifunc_impl_list): Likewise.
29534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29535 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29536 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29542 (__libc_ifunc_impl_list): Likewise.
29543 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29544 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29545 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29551 (__libc_ifunc_impl_list): Likewise.
29552 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29554 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29557 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29558 avoid cretion of __bzero symbol.
29559 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29561 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29563 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29566 multiarch implementations.
29567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29568 (__libc_ifunc_impl_list): Likewise.
29569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29572 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29574 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29575 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29576 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29577 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29578 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29580 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29582 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29586 (__libc_ifunc_impl_list): Likewise.
29587 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29589 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29590 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29594 multiarch for POWER/PPC64.
29595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29596 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29597 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
29600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
29601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
29602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
29603 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
29606 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
29607 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
29608 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
29609 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
29610 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
29611 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
29612 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
29613 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
29614 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
29615 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
29616 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
29617 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
29618 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
29619 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
29620 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
29622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
29624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
29625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
29629 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29631 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
29633 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29635 * benchtests/Makefile (bench): Add exp2 and log2.
29636 (LDLIBS-bench-exp2): Add -lm.
29637 (LDLIBS-bench-log2): Likewise.
29638 * benchtests/exp2-inputs: New inputs file.
29639 * benchtests/log2-inputs: New inputs file.
29640 * benchtests/log-inputs: Add new inputs.
29641 * benchtests/tan-inputs: Likewise.
29643 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29645 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
29647 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
29648 (csloww2): ... from here.
29650 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
29651 instead of structures.
29652 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
29653 (POLYNOMIAL): Likewise.
29654 (TAYLOR_SLOW): Likewise.
29660 (sloww1); Likewise.
29661 (sloww2): Likewise.
29662 (bsloww1): Likewise.
29663 (bsloww2): Likewise.
29664 (cslow2): Likewise.
29665 (csloww): Likewise.
29666 (csloww1): Likewise.
29667 (csloww2): Likewise.
29669 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
29671 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
29672 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
29673 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
29674 * malloc/hooks.c (realloc_check): Likewise.
29676 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
29677 * malloc/arena.c: Remove PER_THREAD conditional.
29678 [!PER_THREAD]: Remove code.
29679 (ptmalloc_unlock_all2): Likewise.
29680 (ptmalloc_init): Likewise.
29681 (_int_new_arena): Likewise.
29682 (arena_get2): Likewise.
29683 * malloc/hooks.c (__malloc_get_state): Likewise.
29684 (__malloc_set_state): Likewise.
29685 * malloc/malloc.c: Likewise.
29686 (struct malloc_state): Likewise.
29687 (struct malloc_par): Likewise.
29688 (__libc_realloc): Likewise.
29689 (__libc_mallopt): Likewise.
29691 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29693 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
29695 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
29697 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
29698 macro to a function. Check for zero perturb_byte.
29699 (_int_malloc, _int_free): Remove zero perturb_byte checks.
29701 * malloc/malloc.c: (force_reg): Remove.
29702 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
29703 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
29704 force_reg by atomic_forced_read.
29705 * malloc/arena.c (ptmalloc_init): Likewise.
29706 * malloc/hooks.c (top_check): Likewise.
29708 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29712 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
29714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29716 2013-12-08 Joseph Myers <joseph@codesourcery.com>
29718 * math/auto-libm-test-in: Add tests of lgamma.
29719 * math/auto-libm-test-out: Regenerated.
29720 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
29721 (M_LOG_2_SQRT_PIl): Likewise.
29722 (lgamma_test_data): Use AUTO_TESTS_f_f1.
29723 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29725 (func_calc_desc): Add mpfr_f_f1 union field.
29726 (ARGS1): New macro.
29734 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
29735 (test_functions): Add lgamma.
29736 (calc_generic_results): Handle mpfr_f_f1.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29742 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
29743 __mpn_add_n for PowerPC64/POWER7.
29744 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
29745 __mpn_sub_n for PowerPC64/POWER7.
29747 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
29748 __mpn_addmul_1 for PowerPC64.
29749 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
29750 __mpn_submul_1 for PowerPC64.
29751 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
29753 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
29756 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
29759 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
29761 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29763 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
29765 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
29766 add multiarch folders.
29767 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
29768 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
29769 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
29770 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
29771 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
29772 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
29773 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
29774 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
29775 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
29776 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
29777 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
29780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
29781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
29783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
29785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29786 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
29787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
29789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
29791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
29792 multiarch __ieee754_hypot for PowerPC32.
29793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
29795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
29797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
29798 multiarch __ieee754_hypotf for PowerPC32.
29800 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
29801 long_double_symbol only if __logbl is defined.
29802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
29803 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
29804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
29805 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
29806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
29807 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
29808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
29809 path for implementation.
29810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
29811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
29812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
29813 logb, and logbl multiarch implementations for PowerPC32.
29814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
29816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
29818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
29819 multiarch logb for PowerPC32.
29820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
29822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
29824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
29825 multiarch logbf for PowerPC32.
29826 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
29827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
29829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
29830 multiarch logbl implementation for PowerPC32.
29832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
29833 and modff multiarch implementations.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
29836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
29838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
29839 multiarch modf for PowerPC32.
29840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
29842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
29844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
29845 multiarch modff for PowerPC32.
29847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
29848 and lrintf multiarch implementations.
29849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
29851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
29853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
29854 multiarch lrint for PowerPC32.
29855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
29856 file: multiarch lrintf for PowerPC32.
29858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
29859 and lroundf multiarch implementations.
29860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
29862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
29864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
29866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
29867 multiarch lround for PowerPC32.
29868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
29869 file: multiarch lroundf for PowerPC32.
29871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
29872 copysign and copysignf multiarch implementations.
29873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
29875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
29877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
29878 file: multiarch copysign for PowerPC32.
29879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
29880 file: multiarch copysignf for PowerPC32.
29882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
29883 and truncf multiarch implementations.
29884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
29886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
29888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
29889 multiarch trunc for PowerPC32.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
29892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
29894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
29895 multiarch truncf for PowerPC32.
29897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
29898 and roundf multiarch implementations.
29899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
29901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
29903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
29904 multiarch round for PowerPC32.
29905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
29907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
29909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
29910 multiarch roundf for PowerPC32.
29912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
29913 and floorf multiarch implementations.
29914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
29916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
29918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
29919 multiarch floor for PowerPC32.
29920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
29922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
29924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
29925 multiarch floorf for PowerPC32.
29927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
29928 and ceilf multiarch implementations.
29929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
29931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
29933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
29934 multiarch ceil for PowerPC32.
29935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
29937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
29939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
29940 multiarch ceilf for PowerPC32.
29942 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
29944 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
29945 FINITEF is defined.
29946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
29947 and finitef multiarch implementations.
29948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
29950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
29952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
29953 multiarch finite for PowerPC32.
29954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
29956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29957 file: multiarch finitef for PowerPC32.
29959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29960 and isinff multiarch implementations.
29961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29966 multiarch isinf for PowerPC32.
29967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29970 multiarch isinff for PowerPC32.
29972 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29973 alias when __isnan is defined.
29974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29975 and isnanf multiarch implementations.
29976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29985 multiarch isnan for PowerPC32.
29986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29991 multiarch isnanf for PowerPC32.
29993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29994 and sqrtf multiarch implementations.
29995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30000 multiarch sqrt for PowerPC32.
30001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30006 multiarch sqrtf for PowerPC32.
30008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30009 and llroundf multiarch implementations.
30010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30017 file: multiarch llround for PowerPC32.
30018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30019 file: multiarch llroundf for PowerPC32.
30021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30022 multiarch PowerPC32 fpu implementations.
30023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30028 multiarch llrint for PowerPC32.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30045 multiarch wordcopy for PPC32.
30046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30049 (__libc_ifunc_impl_list): Likewise.
30050 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30051 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30053 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30055 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30057 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30065 multiarch wcscpy for PPC32.
30066 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30069 (__libc_ifunc_impl_list): Likewise.
30070 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30071 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30072 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30073 sysdeps/powerpc/power6/wcscpy.c.
30075 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30083 multiarch wcsrchr for PPC32.
30084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30087 (__libc_ifunc_impl_list): Likewise.
30088 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30089 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30090 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30091 sysdeps/powerpc/power6/wcsrchr.c.
30093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30099 multiarch wcschr for PPc32.
30100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30103 (__libc_ifunc_impl_list): Likewise.
30104 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30105 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30106 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30107 sysdeps/powerpc/power6/wcschr.c.
30109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30110 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30112 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30113 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30114 file: multiarch strchr for PPC32.
30115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30118 (__libc_ifunc_impl_list): Likewise.
30120 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30122 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30124 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30127 multiarch strchrnul for PPC32.
30128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30131 (__libc_ifunc_impl_list): Likewise.
30133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30136 multiarch strncasecmp for PPC32.
30137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30140 multiarch strncasecmp_l for PPC32.
30141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30142 strncasecmp multiarch objects.
30143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30144 (__libc_ifunc_impl_list): Likewise.
30146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30149 multiarch strncasecmp for PPC32.
30150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30153 multiarch strcasecmp_l for PPC32.
30154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30157 (__libc_ifunc_impl_list): Likewise.
30159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30164 multiarch strncmp for PPC32.
30165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30168 (__libc_ifunc_impl_list): Likewise.
30170 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30171 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30173 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30174 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30178 (__libc_ifunc_impl_list): Likewise.
30180 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30182 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30184 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30188 (__libc_ifunc_impl_list): Likewise.
30190 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30192 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30194 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30195 multiarch rawmemchr for PPC32.
30196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30199 (__libc_ifunc_impl_list): Likewise.
30201 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30203 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30205 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30206 file: memrchr multiarch for PPC32.
30207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30210 (__libc_ifunc_impl_list): Likewise.
30212 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30217 multiarch memchr for PPC32.
30218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30221 (__libc_ifunc_impl_list): Likewise.
30223 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30224 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30226 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30229 file: multiarch mempcpy for PPC32.
30230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30233 (__libc_ifunc_impl_list): Likewise.
30235 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30239 multiarch bzero for PPC32.
30240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30242 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30244 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30245 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30246 file: multiarch memset for PPC32.
30247 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30249 memset multiarch objects.
30250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30251 (__libc_ifunc_impl_list): Likewise.
30253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30262 (__libc_ifunc_impl_list): Likewise.
30264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30273 multiarch memcpy for PPC32.
30274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30277 (__libc_ifunc_impl_list): Likewise.
30279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30280 support multiarch for POWER/PPC32.
30281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30283 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30285 Implies file to make multiarch folder appers before the fpu and
30286 default folder for power4 configuration.
30288 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30290 * scripts/bench.pl: Append volatile keyword to type.
30292 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30294 * sysdeps/sh/sotruss-lib.c: New file.
30295 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30297 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30301 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30304 * math/w_tgamma.c: Include <errno.h>.
30305 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30306 * math/w_tgammaf.c: Include <errno.h>.
30307 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30308 * math/w_tgammal.c: Include <errno.h>.
30309 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30310 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30311 underflow. Add more tgamma tests.
30312 * math/auto-libm-test-out: Regenerated.
30313 * sysdeps/i386/fpu/libm-test-ulps: Update.
30314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30316 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30317 sin, sinh, tan, tanh, tgamma, y0 and y1.
30318 * math/auto-libm-test-out: Regenerated.
30319 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30320 (TEST_COND_x86): Likewise.
30321 (M_E2l): Remove macro.
30323 (M_2_SQRT_PIl): Likewise.
30324 (M_SQRT_PIl): Likewise.
30325 (M_1_DIV_El): Likewise.
30326 (log_test_data): Use AUTO_TESTS_f_f.
30327 (log10_test_data): Likewise.
30328 (log1p_test_data): Likewise.
30329 (log2_test_data): Likewise.
30330 (sin_test_data): Likewise.
30331 (sin_tonearest_test_data): Likewise.
30332 (sin_towardzero_test_data): Likewise.
30333 (sin_downward_test_data): Likewise.
30334 (sin_upward_test_data): Likewise.
30335 (sinh_test_data): Likewise.
30336 (sinh_tonearest_test_data): Likewise.
30337 (sinh_towardzero_test_data): Likewise.
30338 (sinh_downward_test_data): Likewise.
30339 (sinh_upward_test_data): Likewise.
30340 (tan_test_data): Likewise.
30341 (tan_tonearest_test_data): Likewise.
30342 (tan_towardzero_test_data): Likewise.
30343 (tan_downward_test_data): Likewise.
30344 (tan_upward_test_data): Likewise.
30345 (tanh_test_data): Likewise.
30346 (tgamma_test_data): Likewise.
30347 (y0_test_data): Likewise.
30348 (y1_test_data): Likewise.
30349 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30350 (special_real_inputs): Add pi/4.
30351 * sysdeps/i386/fpu/libm-test-ulps: Update.
30352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30354 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30357 "longjmp_target" static probes.
30358 (__longjmp): Rename to __longjmp_symbol.
30359 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30360 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30361 on which longjmp to generate.
30362 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30363 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30365 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30366 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30367 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30368 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30369 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30370 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30372 __longjmp_symbol based on which __longjmp to generate.
30373 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30375 (setjmp): Rename to setjmp_symbol.
30376 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30377 (_setjmp): Rename to _setjmp_symbol.
30378 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30379 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30380 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30381 which setjmp to generate.
30382 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30383 "longjmp_target" static probes.
30385 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30387 * benchtests/README: Add note about output arguments.
30388 * benchtests/bench-sincos.c: Remove file.
30389 * benchtests/sincos-inputs: New file.
30390 * scripts/bench.pl: Identify output arguments and define
30391 static variables for them.
30393 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30396 * Makefile (INSTALL): Add install-plain.texi as the primary
30398 * manual/install-plain.texi: New file.
30399 * manual/install.texi: Include node directive only for
30400 non-plaintext output.
30402 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30404 * stdlib/longlong.h: Update from GCC.
30408 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30409 * math/w_j0f.c (y0f): Likewise.
30410 * math/w_j0l.c (__y0l): Likewise.
30411 * math/w_j1.c (y1): Likewise.
30412 * math/w_j1f.c (y1f): Likewise.
30413 * math/w_j1l.c (__y1l): Likewise
30414 * math/w_jn.c (yn): Likewise.
30415 * math/w_jnf.c (ynf): Likewise.
30416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30417 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30418 value for Bessel function domain errors outside _SVID_ mode.
30419 Adjust sign of return value for yn (negative integer, 0).
30420 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30421 by zero in return for negative x and set sign appropriately for
30423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30425 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30426 expectations in error cases.
30427 (y1_test_data): Likewise.
30428 (yn_test_data): Likewise.
30429 * sysdeps/i386/fpu/libm-test-ulps: Update.
30430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30432 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30434 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30435 "64" to "64-v1". Add "64-v2".
30436 (abi-64-options): Rename to ...
30437 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30438 (abi-64-condition): Rename to ...
30439 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30440 (abi-64-ld-soname): Rename to ...
30441 (abi-64-v1-ld-soname): ... this.
30442 (abi-64-v2-options): Define.
30443 (abi-64-v2-condition): Likewise.
30444 (abi-64-v2-ld-soname): Likewise.
30445 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30446 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30451 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30452 Alan Modra <amodra@gmail.com>
30454 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30455 New versions for use with the ELFv2 ABI.
30456 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30457 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30459 (struct La_ppc64v2_retval): Likewise.
30460 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30461 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30462 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30463 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30464 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30465 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30466 Do not save or restore CR.
30467 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30468 (_dl_profile_resolve): Do no save or restore CR. Support extended
30469 return values for ELFv2 ABI. Fix location of FPR return registers.
30470 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30471 updated values for _CALL_ELF == 2.
30472 (La_regs, La_retval, int_retval): Likewise.
30474 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30476 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30477 (FRAME_MIN_SIZE_PARM): Likewise.
30478 (FRAME_BACKCHAIN): Likewise.
30479 (FRAME_CR_SAVE): Likewise.
30480 (FRAME_LR_SAVE): Likewise.
30481 (FRAME_TOC_SAVE): Likewise.
30482 (FRAME_PARM_SAVE): Likewise.
30483 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30484 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30485 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30486 (call_mcount_parm_offset): New macro.
30487 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30488 (PROF): Use symbolic stack frame offsets.
30489 (TAIL_CALL_SYSCALL_ERROR): Likewise.
30490 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30491 Redefine in terms of FRAME_MIN_SIZE.
30492 (_dl_runtime_resolve): Use symbolic stack frame offsets.
30493 (_dl_profile_resolve): Likewise. Update comment.
30494 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30495 symbols stack frame offsets.
30496 (__sigsetjmp): Likewise.
30497 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30498 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30499 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30500 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30503 (FRAME_BACKCHAIN): Remove.
30504 (FRAME_CR_SAVE): Likewise.
30505 (FRAME_LR_SAVE): Likewise.
30506 (FRAME_COMPILER_DW): Likewise.
30507 (FRAME_LINKER_DW): Likewise.
30508 (FRAME_TOC_SAVE): Likewise.
30509 (FRAME_PARM_SAVE): Likewise.
30510 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30511 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30512 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30514 (CHECK_SP): Use symbolic stack frame offsets.
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30516 zone" instead of caller's parameter save area for temp storage.
30517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30518 Likewise. Also, use symbolic stack frame offsets.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30520 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30521 our own stack frame instead of the caller's.
30522 (__socket): Use symbolic stack frame offsets.
30524 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30525 Alan Modra <amodra@gmail.com>
30527 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30529 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30530 (PPC64_LOCAL_ENTRY_OFFSET): Define.
30531 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30533 (elf_machine_fixup_plt): Call it.
30534 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
30536 (elf_machine_rela): Update call to elf_machine_plt_conflict.
30537 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30538 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30539 r2 before calling target.
30541 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30542 Alan Modra <amodra@gmail.com>
30544 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30545 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30546 versions of macros to support ELFv2 ABI.
30547 (LOCALENTRY): New macro.
30548 (ENTRY, EALIGN): Use it.
30549 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30550 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30551 fall through into ENTRY entry point.
30552 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30553 Only define if _CALL_ELF != 2.
30555 (elf_machine_matches_host): Verify ABI version matches.
30556 (RTLD_START): Use LOCALENTRY.
30557 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30558 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30559 (PLT_ENTRY_WORDS): New macro.
30560 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30561 (elf_machine_runtime_setup): Support ELFv2 ABI.
30562 (elf_machine_fixup_plt): Likewise.
30563 (elf_machine_plt_conflict): Likewise.
30564 (resolve_ifunc): Likewise.
30565 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30569 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30571 (makecontext): Support ELFv2 ABI.
30572 * elf/elf.h (EF_PPC64_ABI): Define.
30574 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30576 * sysdeps/powerpc/powerpc64/sysdep.h
30577 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30578 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30579 (ENTRY) [ASSEMBLER]: ... but instead here ...
30580 (EALIGN) [ASSEMBLER]: ... and here.
30581 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30582 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30583 (ENTRY_2) [!ASSEMBLER]: Use it.
30584 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30585 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
30586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30587 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30588 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30590 Use PPC64_LOAD_FUNCPTR.
30592 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30594 2013-12-04 Alan Modra <amodra@gmail.com>
30596 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30597 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30598 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30599 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
30601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
30602 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
30603 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
30604 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
30605 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
30606 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
30608 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30611 (__makecontext): Fix incorrect CFI when backtracing out of
30612 context created via makecontext.
30613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
30614 (__setcontext): Fix incorrect CFI during switch to new context.
30615 (__novec_setcontext): Likewise.
30617 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30620 * time/strptime_l.c (__strptime_internal): Allow modifiers
30622 * time/tst-strptime.c (day_tests): Add testcase.
30624 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30626 * scripts/bench.pl: Skip over blank lines.
30628 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
30631 * manual/time.texi (Calendar Time): Clarify what timezone functions
30634 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30638 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
30640 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
30642 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
30643 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
30644 * debug/memset_chk.c (__memset_chk): Likewise.
30645 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
30646 * debug/strncpy_chk.c: Likewise.
30648 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30652 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
30653 (__ieee754_exp): For possibly underflowing results, check size of
30654 result and force underflow exception if required.
30655 * math/auto-libm-test-in: Add more tests of exp.
30656 * math/auto-libm-test-out: Regenerated.
30657 * sysdeps/i386/fpu/libm-test-ulps: Update.
30658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30661 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
30662 * math/w_exp2f.c (__exp2f): Likewise.
30663 * math/w_exp2l.c (__exp2l): Likewise.
30664 * math/auto-libm-test-in: Do not allow missing errno on exp2
30666 * math/auto-libm-test-out: Regenerated.
30668 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
30671 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
30672 handle filename validation.
30673 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
30676 2013-12-03 Joseph Myers <joseph@codesourcery.com>
30679 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
30680 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
30681 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
30683 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
30684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
30685 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30686 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
30687 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
30689 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
30690 * math/auto-libm-test-in: Don't allow missing errno from erfc.
30691 Add more erfc tests.
30692 * math/auto-libm-test-out: Regenerated.
30693 * sysdeps/i386/fpu/libm-test-ulps: Update.
30694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
30697 exp2, expm1, j0 and j1.
30698 * math/auto-libm-test-out: Regenerated.
30699 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
30700 (erfc_test_data): Likewise.
30701 (exp_test_data): Likewise.
30702 (exp_tonearest_test_data): Likewise.
30703 (exp_towardzero_test_data): Likewise.
30704 (exp_downward_test_data): Likewise.
30705 (exp_upward_test_data): Likewise.
30706 (exp10_test_data): Likewise.
30707 (exp2_test_data): Likewise.
30708 (expm1_test_data): Likewise.
30709 (j0_test_data): Likewise.
30710 (j1_test_data): Likewise.
30711 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
30712 (input_flag_type): Add flag_xfail_rounding.
30713 (input_flags): Add xfail-rounding.
30714 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
30715 (output_for_one_input_case): Handle flag_xfail_rounding.
30716 * sysdeps/i386/fpu/libm-test-ulps: Update.
30717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
30722 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
30725 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30728 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
30729 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
30730 (STAP_PROBE0): New macro.
30731 (STAP_PROBE1): Likewise.
30732 (STAP_PROBE2): Likewise.
30733 (STAP_PROBE3): Likewise.
30734 (STAP_PROBE4): Likewise.
30736 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
30738 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
30740 2013-12-02 Steve Ellcey <sellcey@mips.com>
30742 * benchtests/Makefile (bench): Add sqrt.
30743 (LDLIBS-bench-sqrt): New.
30744 * benchtests/sqrt-input: New.
30746 2013-12-02 Pavel Simerda <psimerda@redhat.com>
30748 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30749 (GAIH_EAI): Likewise.
30750 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
30751 (gaih_inet): Likewise.
30752 (getaddrinfo): Don't use GAIH_EAI.
30754 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
30755 (struct gaih): Remove definition.
30757 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30759 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
30760 Use HERRNOP directly.
30762 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30766 2013-11-30 Joseph Myers <joseph@codesourcery.com>
30768 * math/gen-auto-libm-tests.c (test_functions): Add more
30769 single-argument functions.
30770 (special_fill_pi_2): New function.
30771 (special_fill_minus_pi_2): Likewise.
30772 (special_fill_pi_6): Likewise.
30773 (special_fill_minus_pi_6): Likewise.
30774 (special_fill_pi_3): Likewise.
30775 (special_fill_2pi_3): Likewise.
30776 (special_fill_e): Likewise.
30777 (special_fill_1_e): Likewise.
30778 (special_fill_e_minus_1): Likewise.
30779 (special_real_inputs): Add more special inputs.
30780 (output_for_one_input_case): Do not require ERANGE on underflow to
30781 zero if round-to-nearest result does not underflow to zero, unless
30782 exact results required.
30783 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
30784 atan, atanh, cbrt, cos and cosh.
30785 * math/auto-libm-test-out: Regenerated.
30786 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
30787 (acos_tonearest_test_data): Likewise.
30788 (acos_towardzero_test_data): Likewise.
30789 (acos_downward_test_data): Likewise.
30790 (acos_upward_test_data): Likewise.
30791 (acosh_test_data): Likewise.
30792 (asin_test_data): Likewise.
30793 (asin_tonearest_test_data): Likewise.
30794 (asin_towardzero_test_data): Likewise.
30795 (asin_upward_test_data): Likewise.
30796 (asinh_test_data): Likewise.
30797 (atan_test_data): Likewise.
30798 (atanh_test_data): Likewise.
30799 (cbrt_test_data): Likewise.
30800 (cos_test_data): Likewise.
30801 (cos_tonearest_test_data): Likewise.
30802 (cos_towardzero_test_data): Likewise.
30803 (cos_downward_test_data): Likewise.
30804 (cos_upward_test_data): Likewise.
30805 (cosh_test_data): Likewise.
30806 (cosh_tonearest_test_data): Likewise.
30807 (cosh_towardzero_test_data): Likewise.
30808 (cosh_downward_test_data): Likewise.
30809 (cosh_upward_test_data): Likewise.
30810 * sysdeps/i386/fpu/libm-test-ulps: Update.
30811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813 2013-11-29 Joseph Myers <joseph@codesourcery.com>
30816 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
30817 * math/w_exp10f.c (__exp10f): Likewise.
30818 * math/w_exp10l.c (__exp10l): Likewise.
30819 * math/libm-test.inc (exp10_test_data): Add more tests and expect
30820 errno settings in existing tests.
30823 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
30824 precision control set to double precision.
30825 * sysdeps/i386/fpu/w_sqrt.c: New file.
30826 * math/auto-libm-test-in: Add more tests.
30827 * math/auto-libm-test-out: Update.
30829 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
30830 (sqrt_test_tonearest): New function.
30831 (sqrt_towardzero_test_data): New variable.
30832 (sqrt_test_towardzero): New function.
30833 (sqrt_downward_test_data): New variable.
30834 (sqrt_test_downward): New function.
30835 (sqrt_upward_test_data): New variable.
30836 (sqrt_test_upward): New function.
30837 (main): Call the new functions.
30839 * math/gen-auto-libm-tests.c: New file.
30840 * math/auto-libm-test-in: Likewise.
30841 * math/auto-libm-test-out: New generated file.
30842 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
30844 (%beautify): Add generated representations of zero.
30845 (top level): Set $auto_input and call parse_auto_input.
30846 (beautify): Remove trailing "f" from hex float constants.
30847 (parse_args): Handle XFAIL_TEST.
30848 (convert_condition): New function.
30849 (or_value): Likewise.
30850 (or_cond_value): Likewise.
30851 (generate_testfile): Handle AUTO_TESTS_* lines.
30852 (parse_auto_input): New function.
30853 * math/libm-test.inc (XFAIL_TEST): New macro.
30854 (ERRNO_UNCHANGED): Update value.
30855 (ERRNO_EDOM): Likewise.
30856 (ERRNO_ERANGE): Likewise.
30857 (IGNORE_RESULT): Likewise.
30858 (TEST_COND_flt_32): New macro.
30859 (TEST_COND_dbl_64): Likewise.
30860 (TEST_COND_ldbl_96_intel): Likewise.
30861 (TEST_COND_ldbl_96_m68k): Likewise.
30862 (TEST_COND_ldbl_128): Likewise.
30863 (TEST_COND_ldbl_128ibm): Likewise.
30864 (TEST_COND_long32): Likewise.
30865 (TEST_COND_long64): Likewise.
30866 (TEST_COND_before_rounding): Likewise.
30867 (TEST_COND_after_rounding): Likewise.
30868 (enable_test): Handle XFAIL_TEST flag.
30869 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
30870 with finite results.
30871 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
30872 auto-libm-test-out.
30874 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30875 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30878 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
30879 __tls_get_addr_internal instead of __tls_get_offset in order to
30880 avoid GOT pointer dependency. Make rtld export
30881 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
30882 __tls_get_addr since we are a __tls_get_offset platform.
30883 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
30884 GOT pointer being set up before.
30885 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
30887 2013-11-28 Joseph Myers <joseph@codesourcery.com>
30889 * manual/math.texi (Errors in Math Functions): Document accuracy
30893 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
30894 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30902 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30910 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
30911 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
30912 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
30913 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
30914 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
30916 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
30918 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
30920 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
30921 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
30922 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
30923 atomic-feupdateenv and flt-rounds.
30924 * sysdeps/powerpc/nofpu/Versions (libc): Add
30925 __atomic_feholdexcept, __atomic_feclearexcept,
30926 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
30927 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
30928 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
30929 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
30930 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30935 * manual/arith.texi (FP Exceptions): Document that exceptions may
30936 not be raised when matherr is used.
30937 (Math Error Reporting): Document overflow in directed rounding
30938 modes. Document that errno may not be set when finite values are
30939 returned on overflow. Document intent to set errno on underflow
30940 only for underflow to zero.
30943 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
30944 round-to-nearest then adjust result for other rounding modes.
30945 * include/fenv.h (fegetround): Use libm_hidden_proto.
30946 * math/fegetround.c (fegetround): Use libm_hidden_def.
30947 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30948 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30949 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30950 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30952 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
30953 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30954 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30955 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30957 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30960 * nss/Versions (libnss_files): Add
30961 _nss_files_gethostbyname3_r.
30962 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30964 (HOST_DB_LOOKUP): Remove macro.
30965 (_nss_files_gethostbyname_r): Implement function without the
30966 HOST_DB_LOOKUP macro.
30967 (_nss_files_gethostbyname2_r): Likewise.
30969 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
30971 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30973 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
30975 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30976 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30979 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30981 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30982 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30983 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30984 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30985 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30986 __fe_nomask_env_priv and attribute_hidden.
30987 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30988 (libc_feupdateenv_test_ppc): Likewise.
30989 (libc_feresetround_ppc): Likewise.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30991 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30992 compat_symbol macro.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30994 (__fe_nomask_env): Likewise.
30995 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30997 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30999 * string/Makefile: Remove ifunc tests.
31000 * string/test-string.h: Define TEST_IFUNC.
31001 * string/test-bcopy-ifunc.c: Remove.
31002 * string/test-bzero-ifunc.c: Likewise.
31003 * string/test-memccpy-ifunc.c: Likewise.
31004 * string/test-memchr-ifunc.c: Likewise.
31005 * string/test-memcmp-ifunc.c: Likewise.
31006 * string/test-memcpy-ifunc.c: Likewise.
31007 * string/test-memmem-ifunc.c: Likewise.
31008 * string/test-memmove-ifunc.c: Likewise.
31009 * string/test-mempcpy-ifunc.c: Likewise.
31010 * string/test-memrchr-ifunc.c: Likewise.
31011 * string/test-memset-ifunc.c: Likewise.
31012 * string/test-rawmemchr-ifunc.c: Likewise.
31013 * string/test-stpcpy-ifunc.c: Likewise.
31014 * string/test-stpncpy-ifunc.c: Likewise.
31015 * string/test-strcasecmp-ifunc.c: Likewise.
31016 * string/test-strcasestr-ifunc.c: Likewise.
31017 * string/test-strcat-ifunc.c: Likewise.
31018 * string/test-strchr-ifunc.c: Likewise.
31019 * string/test-strchrnul-ifunc.c: Likewise.
31020 * string/test-strcmp-ifunc.c: Likewise.
31021 * string/test-strcpy-ifunc.c: Likewise.
31022 * string/test-strcspn-ifunc.c: Likewise.
31023 * string/test-strlen-ifunc.c: Likewise.
31024 * string/test-strncasecmp-ifunc.c: Likewise.
31025 * string/test-strncat-ifunc.c: Likewise.
31026 * string/test-strncmp-ifunc.c: Likewise.
31027 * string/test-strncpy-ifunc.c: Likewise.
31028 * string/test-strnlen-ifunc.c: Likewise.
31029 * string/test-strpbrk-ifunc.c: Likewise.
31030 * string/test-strrchr-ifunc.c: Likewise.
31031 * string/test-strspn-ifunc.c: Likewise.
31032 * string/test-strstr-ifunc.c: Likewise.
31034 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31036 * benchtests/Makefile: Remove ifunc tests.
31037 * benchtests/bench-string.h: Define TEST_IFUNC.
31038 * benchtests/bench-bcopy-ifunc.c: Remove.
31039 * benchtests/bench-bzero-ifunc.c: Likewise.
31040 * benchtests/bench-memccpy-ifunc.c: Likewise.
31041 * benchtests/bench-memchr-ifunc.c: Likewise.
31042 * benchtests/bench-memcmp-ifunc.c: Likewise.
31043 * benchtests/bench-memcpy-ifunc.c: Likewise.
31044 * benchtests/bench-memmem-ifunc.c: Likewise.
31045 * benchtests/bench-memmove-ifunc.c: Likewise.
31046 * benchtests/bench-mempcpy-ifunc.c: Likewise.
31047 * benchtests/bench-memrchr-ifunc.c: Likewise.
31048 * benchtests/bench-memset-ifunc.c: Likewise.
31049 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31050 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31051 * benchtests/bench-stpcpy-ifunc.c: Likewise.
31052 * benchtests/bench-stpncpy-ifunc.c: Likewise.
31053 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31054 * benchtests/bench-strcasestr-ifunc.c: Likewise.
31055 * benchtests/bench-strcat-ifunc.c: Likewise.
31056 * benchtests/bench-strchr-ifunc.c: Likewise.
31057 * benchtests/bench-strchrnul-ifunc.c: Likewise.
31058 * benchtests/bench-strcmp-ifunc.c: Likewise.
31059 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31060 * benchtests/bench-strcpy-ifunc.c: Likewise.
31061 * benchtests/bench-strcspn-ifunc.c: Likewise.
31062 * benchtests/bench-strlen-ifunc.c: Likewise.
31063 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31064 * benchtests/bench-strncat-ifunc.c: Likewise.
31065 * benchtests/bench-strncmp-ifunc.c: Likewise.
31066 * benchtests/bench-strncpy-ifunc.c: Likewise.
31067 * benchtests/bench-strnlen-ifunc.c: Likewise.
31068 * benchtests/bench-strpbrk-ifunc.c: Likewise.
31069 * benchtests/bench-strrchr-ifunc.c: Likewise.
31070 * benchtests/bench-strsep-ifunc.c: Likewise.
31071 * benchtests/bench-strspn-ifunc.c: Likewise.
31072 * benchtests/bench-strstr-ifunc.c: Likewise.
31074 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31076 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31078 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31080 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31081 * rt/aio.h: Likewise.
31082 * sysdeps/gnu/bits/utmp.h: Likewise.
31083 * sysdeps/gnu/bits/utmpx.h: Likewise.
31084 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31085 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31086 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31087 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31088 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31089 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31090 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31091 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31092 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31093 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31094 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31095 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31096 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31098 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31099 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31100 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31102 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31103 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31104 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31105 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31106 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31107 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31108 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31110 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31111 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31112 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31113 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31114 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31115 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31117 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31118 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31119 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31121 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31122 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31123 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31124 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31125 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31127 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31130 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31131 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31133 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31135 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31136 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31139 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31142 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31143 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31144 (__fesetround): Remove define.
31145 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31146 rounding and exceptions handling.
31147 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31148 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31149 (__fe_nomask_env): Likewise.
31150 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31151 __fegetround instead of fegetround.
31152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31155 2013-11-21 Roland McGrath <roland@hack.frob.com>
31157 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31160 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31162 2013-11-21 Meador Inge <meadori@codesourcery.com>
31165 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31166 (encrypt_r): Likewise.
31167 * malloc/obstack.h (obstack_free): Likewise.
31168 * posix/unistd.h (encrypt): Likewise.
31170 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31172 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31173 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31174 DL_CALL_DT_FINI() that call the functions directly.
31175 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31176 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31177 * elf/dl-fini.c: Likewise.
31179 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31181 * malloc/hooks.c (memalign_check): Add alignment rounding.
31182 * malloc/malloc.c (_mid_memalign): New function.
31183 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31184 Implement by calling _mid_memalign.
31185 * manual/probes.texi (Memory Allocation Probes): Remove
31186 memory_valloc_retry and memory_pvalloc_retry.
31188 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31190 * locale/programs/locarchive.c (open_archive): Add const
31191 qualifier to ARCHIVEFNAME and copy default fname to
31195 * libio/tst-widetext.input: Rename Oriya to Odia.
31196 * locale/iso-639.def: Likewise.
31198 * manual/probes.texi (Mathematical Function Probes): Add
31199 documentation for sin, cos, asin and acos probes.
31200 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31201 (__sin32): Add slowasin probe.
31202 (__cos32): Add slowacos probe.
31203 (__mpsin): Add slowsin probe.
31204 (__mpcos): Add slowcos probe.
31206 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31209 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31210 thread-local __sim_exceptions_thread and global
31211 __sim_exceptions_global.
31212 (__sim_disabled_exceptions): Change to thread-local
31213 __sim_disabled_exceptions_thread and global
31214 __sim_disabled_exceptions_global.
31215 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31216 and global __sim_round_mode_global.
31217 (__simulate_exceptions): Use thread-local floating-point state and
31218 set global state from it as needed.
31219 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31220 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31221 __sim_round_mode_thread.
31222 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31223 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31224 and global __sim_exceptions_global.
31225 (__sim_disabled_exceptions): Change to thread-local
31226 __sim_disabled_exceptions_thread and global
31227 __sim_disabled_exceptions_global.
31228 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31229 and global __sim_round_mode_global.
31230 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31231 (SIM_SET_GLOBAL): Likewise.
31232 * sysdeps/powerpc/soft-fp/sfp-machine.h
31233 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31234 __sim_round_mode_thread.
31235 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31236 __sim_disabled_exceptions_thread.
31237 (__sim_exceptions): Change to __sim_exceptions_thread.
31238 (__sim_disabled_exceptions): Change to
31239 __sim_disabled_exceptions_thread.
31240 (__sim_round_mode): Change to __sim_round_mode_thread.
31241 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31242 thread-local floating-point state and set global state from it as
31244 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31245 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31246 (__sim_disabled_exceptions): Remove extern declaration.
31247 (feenableexcept): Use thread-local floating-point state and set
31248 global state from it as needed.
31249 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31250 extern declaration.
31251 (__sim_disabled_exceptions): Likewise.
31252 (__sim_round_mode): Likewise.
31253 (__fegetenv): Use thread-local floating-point state.
31254 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31255 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31256 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31257 floating-point state and set global state from it as needed.
31258 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31259 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31260 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31262 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31263 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31265 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31266 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31267 Use __sim_round_mode_thread.
31268 * math/test-fenv-tls.c: New file.
31269 * math/Makefile (tests): Add test-fenv-tls.
31270 ($(objpfx)test-fenv-tls): Depend on
31271 $(common-objpfx)nptl/libpthread.so.
31273 2013-11-19 Andreas Schwab <schwab@suse.de>
31275 * locale/programs/locale.c (show_info): Decode wordarray elements.
31276 * locale/categories.def (LC_MONETARY): Add element for
31277 _NL_MONETARY_CRNCYSTR.
31278 * locale/C-monetary.c (conversion_rate): New variable.
31279 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31282 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31284 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31285 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31287 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31289 * elf/Makefile (tst-auxv): New test.
31290 * elf/tst-auxv.c: New
31291 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31293 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31295 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31296 (hidden_proto): Caller changed.
31297 (hidden_tls_proto): New macro.
31298 (libc_hidden_tls_proto): Likewise.
31299 (rtld_hidden_tls_proto): Likewise.
31300 (libm_hidden_tls_proto): Likewise.
31301 (libresolv_hidden_tls_proto): Likewise.
31302 (librt_hidden_tls_proto): Likewise.
31303 (libdl_hidden_tls_proto): Likewise.
31304 (libnss_files_hidden_tls_proto): Likewise.
31305 (libnsl_hidden_tls_proto): Likewise.
31306 (libnss_nisplus_hidden_tls_proto): Likewise.
31307 (libutil_hidden_tls_proto): Likewise.
31309 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31312 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31313 (decompose_rpath): Defer expansion to fillin_rpath.
31314 (_dl_init_paths): Pass linkmap to fillin_rpath.
31316 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31318 * benchtests/Makefile: Add strsep.
31319 * benchtests/bench-strsep.c: New file: strsep benchtest.
31320 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31322 2013-11-18 Andreas Schwab <schwab@suse.de>
31324 * locale/programs/locale.c (show_info) [case byte]: Check for
31325 '\377' instead of '\177'.
31326 * locale/C-monetary.c (not_available): Always use "\377".
31327 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31328 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31329 detect unavailable sign_posn locale elements.
31330 * locale/localeconv.c (__localeconv): For grouping and
31331 mon_grouping handle "\177" and "\377" like no grouping.
31332 (INT_ELEM): New macro. Use it to set all numeric members.
31333 * locale/programs/ld-monetary.c (monetary_read)
31334 <tok_mon_grouping>: Normalize single -1 to the empty string.
31335 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31341 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31342 when we match (nil).
31343 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31345 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31347 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31348 (NO_TEST_INLINE): Update value.
31349 (ERRNO_UNCHANGED): Likewise.
31350 (ERRNO_EDOM): Likewise.
31351 (ERRNO_ERANGE): Likewise.
31352 (IGNORE_RESULT): Likewise.
31353 (check_float_internal): Check signs of NaN results if
31354 TEST_NAN_SIGN used.
31355 (check_complex): Pass TEST_NAN_SIGN flag through to second
31356 check_float_internal call.
31357 (copysign_test_data): Add tests with quiet NaNs as second
31358 argument. Use TEST_NAN_SIGN.
31359 (fabs_test_data): Add test of negative quiet NaN argument. Use
31361 (signbit_test_data): Add tests of quiet NaN argument.
31362 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31364 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31366 (parse_args): Handle function results specified as IGNORE.
31367 * math/libm-test.inc (IGNORE_RESULT): New macro.
31368 (check_float_internal): Do not check numerical result if flag
31370 (check_complex): Pass through IGNORE_RESULT to second
31371 check_float_internal call.
31372 (check_int): Do not check numerical result if flag IGNORE_RESULT
31374 (check_long): Likewise.
31375 (check_bool): Likewise.
31376 (check_longlong): Likewise.
31377 (lrint_test_data): Add tests of infinite and NaN arguments.
31378 (lrint_tonearest_test_data): Likewise.
31379 (lrint_towardzero_test_data): Likewise.
31380 (lrint_downward_test_data): Likewise.
31381 (lrint_upward_test_data): Likewise.
31382 (llrint_test_data): Likewise.
31383 (llrint_tonearest_test_data): Likewise.
31384 (llrint_towardzero_test_data): Likewise.
31385 (llrint_downward_test_data): Likewise.
31386 (llrint_upward_test_data): Likewise.
31387 (lround_test_data): Likewise.
31388 (llround_test_data): Likewise.
31390 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31391 (ERRNO_UNCHANGED): Update value.
31392 (ERRNO_EDOM): Likewise.
31393 (ERRNO_ERANGE): Likewise.
31394 (NO_TEST_INLINE_FLOAT): New macro.
31395 (NO_TEST_INLINE_DOUBLE): Likewise.
31396 (enable_test): New function.
31397 (RUN_TEST_f_f): Check enable_test before running test.
31398 (RUN_TEST_2_f): Likewise.
31399 (RUN_TEST_fff_f): Likewise.
31400 (RUN_TEST_c_f): Likewise.
31401 (RUN_TEST_f_f1): Likewise.
31402 (RUN_TEST_fF_f1): Likewise.
31403 (RUN_TEST_fI_f1): Likewise.
31404 (RUN_TEST_ffI_f1): Likewise.
31405 (RUN_TEST_c_c): Likewise.
31406 (RUN_TEST_cc_c): Likewise.
31407 (RUN_TEST_f_i): Likewise.
31408 (RUN_TEST_f_i_tg): Likewise.
31409 (RUN_TEST_ff_i_tg): Likewise.
31410 (RUN_TEST_f_b): Likewise.
31411 (RUN_TEST_f_b_tg): Likewise.
31412 (RUN_TEST_f_l): Likewise.
31413 (RUN_TEST_f_L): Likewise.
31414 (RUN_TEST_fFF_11): Likewise.
31415 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31417 (cosh_test_data): Likewise.
31418 (exp_test_data): Likewise.
31419 (expm1_test_data): Likewise.
31420 (hypot_test_data): Likewise.
31421 (pow_test_data): Likewise.
31422 (sinh_test_data): Likewise.
31423 (tanh_test_data): Likewise.
31424 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31427 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31428 tests with quiet NaN input and output.
31429 (acosh_test_data): Likewise.
31430 (asin_test_data): Likewise.
31431 (asinh_test_data): Likewise.
31432 (atan_test_data): Likewise.
31433 (atanh_test_data): Likewise.
31434 (atan2_test_data): Likewise.
31435 (cbrt_test_data): Likewise.
31436 (cos_test_data): Likewise.
31437 (cosh_test_data): Likewise.
31438 (erf_test_data): Likewise.
31439 (erfc_test_data): Likewise.
31440 (exp_test_data): Likewise.
31441 (exp10_test_data): Likewise.
31442 (exp2_test_data): Likewise.
31443 (expm1_test_data): Likewise.
31444 (hypot_test_data): Likewise.
31445 (j0_test_data): Likewise.
31446 (j1_test_data): Likewise.
31447 (jn_test_data): Likewise.
31448 (lgamma_test_data): Likewise.
31449 (log_test_data): Likewise.
31450 (log10_test_data): Likewise.
31451 (log1p_test_data): Likewise.
31452 (log2_test_data): Likewise.
31453 (pow_test_data): Likewise.
31454 (scalb_test_data): Likewise.
31455 (sin_test_data): Likewise.
31456 (sincos_test_data): Likewise.
31457 (sinh_test_data): Likewise.
31458 (tan_test_data): Likewise.
31459 (tanh_test_data): Likewise.
31460 (tgamma_test_data): Likewise.
31461 (y0_test_data): Likewise.
31462 (y1_test_data): Likewise.
31463 (yn_test_data): Likewise.
31466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31467 argument being NaN and avoid computations with second argument in
31469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31471 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31473 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
31475 * locale/iso-639.def: Add Chitwani Tharu (the).
31477 2013-11-14 Andreas Schwab <schwab@suse.de>
31479 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31480 word instead of empty string.
31482 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31485 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31487 (__fe_nomask_env): Likewise.
31489 2013-11-13 Steve Ellcey <sellcey@mips.com>
31491 * benchtests/bench-timing.h: Include time.h.
31493 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
31496 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31498 * sysdeps/unix/sysv/linux/configure: Regenerated.
31500 2013-11-13 Joseph Myers <joseph@codesourcery.com>
31503 * stdlib/strtod_l.c (round_and_return): Do not consider
31504 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31505 exponent one less than half the least subnormal exponent.
31506 * stdlib/test-strtod-round-data: Add more tests.
31507 * stdlib/tst-strtod-round.c (tests): Regenerated.
31509 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31512 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31513 (__fe_mask_env): Likewise.
31514 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31515 libm_hidden_proto and add function prototype.
31516 (__fe_mask_env): Add function prototype.
31517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31518 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31520 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31522 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31524 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31526 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31527 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31529 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31531 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31532 of htab_find_slot().
31534 2013-11-11 David S. Miller <davem@davemloft.net>
31537 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31538 symbol in the non-vis3 case in static builds.
31539 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31540 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31541 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31542 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31544 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
31547 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31550 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31552 * benchtests/Makefile: Add bench-strtod.
31553 * benchtests/bench-strtod.c: New file: strtod benchtest
31555 2013-11-11 Andreas Schwab <schwab@suse.de>
31558 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31559 terminating NUL in key length.
31561 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31563 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31564 Add artificial ODP entry for vDSO symbol for PPC64.
31565 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31566 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31568 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31571 * nss/getent.c (services_keys): Recognize services starting with digit.
31573 2013-11-06 David S. Miller <davem@davemloft.net>
31576 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31577 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31579 2013-11-06 Will Newton <will.newton@linaro.org>
31581 * manual/memory.texi (Malloc Examples): Remove register
31582 keyword from examples.
31584 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
31586 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31588 2013-11-04 Joseph Myers <joseph@codesourcery.com>
31591 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31592 depending on [__GCC_IEC_559 > 0].
31593 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31594 depending on [__GCC_IEC_559_COMPLEX > 0].
31596 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
31598 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31601 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
31603 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
31605 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
31608 * malloc/malloc (malloc_info): Do not handle first bin as
31611 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
31613 * locale/iso-639.def: Add Central Nahuatl (nhn).
31615 2013-11-01 Bruno Haible <bruno@clisp.org>
31618 * manual/math.texi (BSD Random): Specify range upper bound as
31621 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
31623 * locale/iso-639.def: Add Meadow Mari (mhr).
31625 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
31627 [BZ #14752], [BZ #15763]
31628 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
31630 * rt/tst_shm.c: Add test for escaping directory.
31632 2013-10-31 Andreas Schwab <schwab@suse.de>
31635 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
31636 followed by 'x' as part of digit sequence.
31637 * stdio-common/tst-sscanf.c (double_tests2): New tests.
31639 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
31642 * configure.ac: allow GNU Make 4.0 and greater.
31643 * configure: Regenerated.
31645 2013-10-30 Will Newton <will.newton@linaro.org>
31648 * malloc/hooks.c (memalign_check): Limit alignment to the
31649 maximum representable power of two.
31650 * malloc/malloc.c (__libc_memalign): Likewise.
31651 * malloc/tst-memalign.c (do_test): Add test for very
31652 large alignment values.
31653 * malloc/tst-posix_memalign.c (do_test): Likewise.
31655 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31658 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
31659 (munmap_chunk): Likewise.
31660 (mremap_chunk): Likewise.
31662 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
31665 * stdlib/div.c (div): Remove obsolete code.
31666 * stdlib/ldiv.c (ldiv): Likewise.
31667 * stdlib/lldiv.c (lldiv): Likewise.
31669 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31672 * nss/nss_files/files-XXX.c (get_contents_ret): New
31674 (get_contents): New function.
31675 (internal_getent): Use it. Expand size of LINEBUFLEN.
31677 2013-10-30 Mike Frysinger <vapier@gentoo.org>
31679 * configure.in: Moved to ...
31680 * configure.ac: ... here. Change reference to configure.in
31682 * sysdeps/arm/preconfigure.ac: ... here.
31683 configure.in to configure.ac.
31684 * sysdeps/gnu/configure.in: Moved to ...
31685 * sysdeps/gnu/configure.ac: ... here.
31686 * sysdeps/i386/configure.in: Moved to ...
31687 * sysdeps/i386/configure.ac: ... here.
31688 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
31689 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
31690 * sysdeps/mach/configure.in: Moved to ...
31691 * sysdeps/mach/configure.ac: ... here.
31692 * sysdeps/mach/hurd/configure.in: Moved to ...
31693 * sysdeps/mach/hurd/configure.ac: ... here.
31694 * sysdeps/powerpc/configure.in: Moved to ...
31695 * sysdeps/powerpc/configure.ac: ... here.
31696 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
31697 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
31698 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31699 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
31700 * sysdeps/s390/s390-32/configure.in: Moved to ...
31701 * sysdeps/s390/s390-32/configure.ac: ... here.
31702 * sysdeps/s390/s390-64/configure.in: Moved to ...
31703 * sysdeps/s390/s390-64/configure.ac: ... here.
31704 * sysdeps/sh/configure.in: Moved to ...
31705 * sysdeps/sh/configure.ac: ... here.
31706 * sysdeps/sparc/configure.in: Moved to ...
31707 * sysdeps/sparc/configure.ac: ... here.
31708 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
31709 * sysdeps/unix/sysv/linux/configure.ac: ... here.
31710 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
31711 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
31712 * sysdeps/x86_64/configure.in: Moved to ...
31713 * sysdeps/x86_64/configure.ac: ... here.
31714 * sysdeps/x86_64/preconfigure.in: Moved to ...
31715 * sysdeps/x86_64/preconfigure.ac: ... here.
31716 * aclocal.m4: Change reference to configure.in to configure.ac.
31717 * config.h.in: Likewise.
31718 * manual/install.texi: Likewise.
31719 * manual/maint.texi: Likewise.
31720 * Makefile: Likewise.
31721 * malloc/Makefile: Likewise.
31722 * nscd/Makefile: Likewise.
31723 * Makeconfig: Change reference to configure.in and
31724 preconfigure.in to configure.ac and preconfigure.ac
31726 * INSTALL: Regenerated.
31727 * configure: Likewise.
31728 * sysdeps/gnu/configure: Likewise.
31729 * sysdeps/i386/configure: Likewise.
31730 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
31731 * sysdeps/mach/configure: Likewise.
31732 * sysdeps/mach/hurd/configure: Likewise.
31733 * sysdeps/powerpc/configure: Likewise.
31734 * sysdeps/powerpc/powerpc32/configure: Likewise.
31735 * sysdeps/powerpc/powerpc64/configure: Likewise.
31736 * sysdeps/s390/s390-32/configure: Likewise.
31737 * sysdeps/s390/s390-64/configure: Likewise.
31738 * sysdeps/sh/configure: Likewise.
31739 * sysdeps/sparc/configure: Likewise.
31740 * sysdeps/unix/sysv/linux/configure: Likewise.
31741 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
31742 * sysdeps/x86_64/configure: Likewise.
31743 * sysdeps/x86_64/preconfigure: Likewise.
31745 2013-10-29 Andreas Schwab <schwab@suse.de>
31747 * stdio-common/Makefile (tst-swscanf-ENV): Define.
31749 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31751 * benchtests/pow-inputs: Add new inputs.
31753 * benchtests/exp-inputs: Add new inputs.
31755 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
31756 conditional check for return value.
31757 (__cos32): Likewise.
31759 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31761 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
31762 to provide a boost for large inputs with word alignment.
31763 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
31764 implementation based on optimized PPC64 strcpy.
31765 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
31766 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
31767 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
31768 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
31770 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31773 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
31775 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31778 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31779 * time/tst-strptime.c (day_tests): Add testcase.
31781 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
31784 * manual/pattern.texi: Acknowledge that fnmatch can fail.
31786 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
31789 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
31790 MAP_FAILED on error.
31792 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31795 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
31796 heap for large requests.
31798 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
31801 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
31802 result if the result has no associated interface.
31803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
31804 interface for all 127.X.Y.Z addresses.
31806 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
31808 * locale/iso-639.def: Add Ligurian (lij)
31810 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
31813 * sunrpc/rpc_main.c: Document rpcgen -5.
31815 2013-10-19 Michael Stahl <mstahl@redhat.com>
31817 * elf/rtld.c (do_preload): Print the reason why preloading failed.
31819 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31822 * posix/glob.c: Match only directories when trailing slash is present.
31823 * posix/tst-gnuglob.c (my_opendir): Do not open files.
31824 (main): Add testcase.
31826 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
31829 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
31831 2013-10-18 Carlos O'Donell <carlos@redhat.com>
31833 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
31834 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
31835 AUTH_DES and cindex for FIPS 140-2.
31836 (DES Encryption): Add cindex FIPS 46-3.
31838 * locale/locarchive.h (struct locarhandle): Add fname.
31839 * locale/programs/localedef.c (main): Pass ARGV[remaining]
31840 if an optional argument was specified to --list-archive,
31842 * locale/programs/locarchive.c (show_archive_content): Take new
31843 argument fname and pass it via ah.fname to open_archive.
31844 * locale/programs/localedef.h: Update decl.
31845 (open_archive): If AH->fname is non-null, open that file
31846 rather than the default file name, and don't ignore ENOENT.
31847 (create_archive): Set AH.fname to NULL.
31848 (delete_locales_from_archive): Likewise.
31849 (add_locales_to_archive): Likewise.
31850 * locale/programs/locfile.c (write_all_categories): Likewise.
31852 2013-10-18 Joseph Myers <joseph@codesourcery.com>
31853 Aldy Hernandez <aldyh@redhat.com>
31855 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
31856 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
31857 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
31858 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
31859 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
31860 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
31861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
31862 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
31863 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
31864 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
31865 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
31866 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
31867 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
31868 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
31869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
31871 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
31873 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
31875 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
31877 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
31878 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
31880 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
31881 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
31882 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
31883 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
31885 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
31886 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
31887 * sysdeps/powerpc/preconfigure: Likewise.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
31890 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
31891 Replace contents of file by #include of <fenv_libc.h>.
31892 * sysdeps/powerpc/soft-fp/sfp-machine.h
31893 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
31895 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
31896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
31897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
31898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
31899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
31900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
31901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
31902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
31903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
31904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
31905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
31906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
31907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31908 Allow copysignl PLT reference to be missing.
31910 2013-10-18 Richard Sandiford <richard@codesourcery.com>
31911 Joseph Myers <joseph@codesourcery.com
31914 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
31916 (add_to_tablewc): Assert sequence of wide characters is nonempty.
31918 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31920 * elf/tst-tls-dlinfo.c: Don't include tls.h.
31921 * elf/tst-tls1.c: Likewise.
31922 * elf/tst-tls10.h: Likewise.
31923 * elf/tst-tls14.c: Likewise.
31924 * elf/tst-tls2.c: Likewise.
31925 * elf/tst-tls3.c: Likewise.
31926 * elf/tst-tls4.c: Likewise.
31927 * elf/tst-tls5.c: Likewise.
31928 * elf/tst-tls6.c: Likewise.
31929 * elf/tst-tls7.c: Likewise.
31930 * elf/tst-tls8.c: Likewise.
31931 * elf/tst-tls9.c: Likewise.
31932 * elf/tst-tlsmod1.c: Likewise.
31933 * elf/tst-tlsmod13.c: Likewise.
31934 * elf/tst-tlsmod13a.c: Likewise.
31935 * elf/tst-tlsmod14a.c: Likewise.
31936 * elf/tst-tlsmod16a.c: Likewise.
31937 * elf/tst-tlsmod16b.c: Likewise.
31938 * elf/tst-tlsmod2.c: Likewise.
31939 * elf/tst-tlsmod3.c: Likewise.
31940 * elf/tst-tlsmod4.c: Likewise.
31941 * elf/tst-tlsmod5.c: Likewise.
31942 * elf/tst-tlsmod6.c: Likewise.
31944 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
31947 * malloc/malloc.c: remove checks for statistics.
31949 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31952 * inet/inet_net.c (inet_network): Detect additional invalid strings.
31953 * inet/tst-network.c: Add testcase.
31955 2013-10-17 Andreas Schwab <schwab@suse.de>
31958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31959 to determine canonical name.
31961 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
31963 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31964 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31966 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31987 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31988 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32004 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32005 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32006 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32007 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32008 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32009 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32010 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32011 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32013 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32014 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32018 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32022 2013-10-17 Joseph Myers <joseph@codesourcery.com>
32025 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32026 make result into a quiet NaN.
32028 2013-10-16 Joseph Myers <joseph@codesourcery.com>
32030 * soft-fp/adddf3.c: Fix horizontal whitespace.
32031 * soft-fp/addsf3.c: Likewise.
32032 * soft-fp/addtf3.c: Likewise.
32033 * soft-fp/divdf3.c: Likewise.
32034 * soft-fp/divsf3.c: Likewise.
32035 * soft-fp/divtf3.c: Likewise.
32036 * soft-fp/double.h: Likewise.
32037 * soft-fp/eqdf2.c: Likewise.
32038 * soft-fp/eqsf2.c: Likewise.
32039 * soft-fp/eqtf2.c: Likewise.
32040 * soft-fp/extenddftf2.c: Likewise.
32041 * soft-fp/extended.h: Likewise.
32042 * soft-fp/extendsfdf2.c: Likewise.
32043 * soft-fp/extendsftf2.c: Likewise.
32044 * soft-fp/extendxftf2.c: Likewise.
32045 * soft-fp/fixdfdi.c: Likewise.
32046 * soft-fp/fixdfsi.c: Likewise.
32047 * soft-fp/fixdfti.c: Likewise.
32048 * soft-fp/fixsfdi.c: Likewise.
32049 * soft-fp/fixsfsi.c: Likewise.
32050 * soft-fp/fixsfti.c: Likewise.
32051 * soft-fp/fixtfdi.c: Likewise.
32052 * soft-fp/fixtfsi.c: Likewise.
32053 * soft-fp/fixtfti.c: Likewise.
32054 * soft-fp/fixunsdfdi.c: Likewise.
32055 * soft-fp/fixunsdfsi.c: Likewise.
32056 * soft-fp/fixunsdfti.c: Likewise.
32057 * soft-fp/fixunssfdi.c: Likewise.
32058 * soft-fp/fixunssfsi.c: Likewise.
32059 * soft-fp/fixunssfti.c: Likewise.
32060 * soft-fp/fixunstfdi.c: Likewise.
32061 * soft-fp/fixunstfsi.c: Likewise.
32062 * soft-fp/fixunstfti.c: Likewise.
32063 * soft-fp/floatdidf.c: Likewise.
32064 * soft-fp/floatdisf.c: Likewise.
32065 * soft-fp/floatditf.c: Likewise.
32066 * soft-fp/floatsidf.c: Likewise.
32067 * soft-fp/floatsisf.c: Likewise.
32068 * soft-fp/floatsitf.c: Likewise.
32069 * soft-fp/floattidf.c: Likewise.
32070 * soft-fp/floattisf.c: Likewise.
32071 * soft-fp/floattitf.c: Likewise.
32072 * soft-fp/floatundidf.c: Likewise.
32073 * soft-fp/floatundisf.c: Likewise.
32074 * soft-fp/floatunditf.c: Likewise.
32075 * soft-fp/floatunsidf.c: Likewise.
32076 * soft-fp/floatunsisf.c: Likewise.
32077 * soft-fp/floatunsitf.c: Likewise.
32078 * soft-fp/floatuntidf.c: Likewise.
32079 * soft-fp/floatuntisf.c: Likewise.
32080 * soft-fp/floatuntitf.c: Likewise.
32081 * soft-fp/fmadf4.c: Likewise.
32082 * soft-fp/fmasf4.c: Likewise.
32083 * soft-fp/fmatf4.c: Likewise.
32084 * soft-fp/gedf2.c: Likewise.
32085 * soft-fp/gesf2.c: Likewise.
32086 * soft-fp/getf2.c: Likewise.
32087 * soft-fp/ledf2.c: Likewise.
32088 * soft-fp/lesf2.c: Likewise.
32089 * soft-fp/letf2.c: Likewise.
32090 * soft-fp/muldf3.c: Likewise.
32091 * soft-fp/mulsf3.c: Likewise.
32092 * soft-fp/multf3.c: Likewise.
32093 * soft-fp/negdf2.c: Likewise.
32094 * soft-fp/negsf2.c: Likewise.
32095 * soft-fp/negtf2.c: Likewise.
32096 * soft-fp/op-1.h: Likewise.
32097 * soft-fp/op-2.h: Likewise.
32098 * soft-fp/op-4.h: Likewise.
32099 * soft-fp/op-8.h: Likewise.
32100 * soft-fp/op-common.h: Likewise.
32101 * soft-fp/quad.h: Likewise.
32102 * soft-fp/single.h: Likewise.
32103 * soft-fp/soft-fp.h: Likewise.
32104 * soft-fp/sqrtdf2.c: Likewise.
32105 * soft-fp/sqrtsf2.c: Likewise.
32106 * soft-fp/sqrttf2.c: Likewise.
32107 * soft-fp/subdf3.c: Likewise.
32108 * soft-fp/subsf3.c: Likewise.
32109 * soft-fp/subtf3.c: Likewise.
32110 * soft-fp/truncdfsf2.c: Likewise.
32111 * soft-fp/trunctfdf2.c: Likewise.
32112 * soft-fp/trunctfsf2.c: Likewise.
32113 * soft-fp/trunctfxf2.c: Likewise.
32114 * soft-fp/unorddf2.c: Likewise.
32115 * soft-fp/unordsf2.c: Likewise.
32116 * soft-fp/unordtf2.c: Likewise.
32118 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32120 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32121 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32123 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32125 * elf/dl-libc.c: Clear initfini list after freeing.
32127 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32129 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32130 * soft-fp/addsf3.c: Likewise.
32131 * soft-fp/addtf3.c: Likewise.
32132 * soft-fp/divdf3.c: Likewise.
32133 * soft-fp/divsf3.c: Likewise.
32134 * soft-fp/divtf3.c: Likewise.
32135 * soft-fp/double.h: Likewise.
32136 * soft-fp/eqdf2.c: Likewise.
32137 * soft-fp/eqsf2.c: Likewise.
32138 * soft-fp/eqtf2.c: Likewise.
32139 * soft-fp/extenddftf2.c: Likewise.
32140 * soft-fp/extended.h: Likewise.
32141 * soft-fp/extendsfdf2.c: Likewise.
32142 * soft-fp/extendsftf2.c: Likewise.
32143 * soft-fp/extendxftf2.c: Likewise.
32144 * soft-fp/fixdfdi.c: Likewise.
32145 * soft-fp/fixdfsi.c: Likewise.
32146 * soft-fp/fixdfti.c: Likewise.
32147 * soft-fp/fixsfdi.c: Likewise.
32148 * soft-fp/fixsfsi.c: Likewise.
32149 * soft-fp/fixsfti.c: Likewise.
32150 * soft-fp/fixtfdi.c: Likewise.
32151 * soft-fp/fixtfsi.c: Likewise.
32152 * soft-fp/fixtfti.c: Likewise.
32153 * soft-fp/fixunsdfdi.c: Likewise.
32154 * soft-fp/fixunsdfsi.c: Likewise.
32155 * soft-fp/fixunsdfti.c: Likewise.
32156 * soft-fp/fixunssfdi.c: Likewise.
32157 * soft-fp/fixunssfsi.c: Likewise.
32158 * soft-fp/fixunssfti.c: Likewise.
32159 * soft-fp/fixunstfdi.c: Likewise.
32160 * soft-fp/fixunstfsi.c: Likewise.
32161 * soft-fp/fixunstfti.c: Likewise.
32162 * soft-fp/floatdidf.c: Likewise.
32163 * soft-fp/floatdisf.c: Likewise.
32164 * soft-fp/floatditf.c: Likewise.
32165 * soft-fp/floatsidf.c: Likewise.
32166 * soft-fp/floatsisf.c: Likewise.
32167 * soft-fp/floatsitf.c: Likewise.
32168 * soft-fp/floattidf.c: Likewise.
32169 * soft-fp/floattisf.c: Likewise.
32170 * soft-fp/floattitf.c: Likewise.
32171 * soft-fp/floatundidf.c: Likewise.
32172 * soft-fp/floatundisf.c: Likewise.
32173 * soft-fp/floatunsidf.c: Likewise.
32174 * soft-fp/floatunsisf.c: Likewise.
32175 * soft-fp/floatuntidf.c: Likewise.
32176 * soft-fp/floatuntisf.c: Likewise.
32177 * soft-fp/floatuntitf.c: Likewise.
32178 * soft-fp/fmadf4.c: Likewise.
32179 * soft-fp/fmasf4.c: Likewise.
32180 * soft-fp/fmatf4.c: Likewise.
32181 * soft-fp/gedf2.c: Likewise.
32182 * soft-fp/gesf2.c: Likewise.
32183 * soft-fp/getf2.c: Likewise.
32184 * soft-fp/ledf2.c: Likewise.
32185 * soft-fp/lesf2.c: Likewise.
32186 * soft-fp/letf2.c: Likewise.
32187 * soft-fp/muldf3.c: Likewise.
32188 * soft-fp/mulsf3.c: Likewise.
32189 * soft-fp/multf3.c: Likewise.
32190 * soft-fp/negdf2.c: Likewise.
32191 * soft-fp/negsf2.c: Likewise.
32192 * soft-fp/negtf2.c: Likewise.
32193 * soft-fp/op-1.h: Likewise.
32194 * soft-fp/op-2.h: Likewise.
32195 * soft-fp/op-4.h: Likewise.
32196 * soft-fp/op-8.h: Likewise.
32197 * soft-fp/op-common.h: Likewise.
32198 * soft-fp/quad.h: Likewise.
32199 * soft-fp/single.h: Likewise.
32200 * soft-fp/soft-fp.h: Likewise.
32201 * soft-fp/sqrtdf2.c: Likewise.
32202 * soft-fp/sqrtsf2.c: Likewise.
32203 * soft-fp/sqrttf2.c: Likewise.
32204 * soft-fp/subdf3.c: Likewise.
32205 * soft-fp/subsf3.c: Likewise.
32206 * soft-fp/subtf3.c: Likewise.
32207 * soft-fp/truncdfsf2.c: Likewise.
32208 * soft-fp/trunctfdf2.c: Likewise.
32209 * soft-fp/trunctfsf2.c: Likewise.
32210 * soft-fp/trunctfxf2.c: Likewise.
32211 * soft-fp/unorddf2.c: Likewise.
32212 * soft-fp/unordsf2.c: Likewise.
32213 * soft-fp/unordtf2.c: Likewise.
32215 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32218 * misc/error.c (error_tail): Fix possible buffer overflow.
32220 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32223 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32226 2013-10-14 P. J. McDermott <pj@pehjota.net>
32229 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32230 testing pipefail option.
32232 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32234 * soft-fp/double.h: Indent preprocessor directives inside #if.
32235 * soft-fp/extended.h: Likewise.
32236 * soft-fp/op-2.h: Likewise.
32237 * soft-fp/op-4.h: Likewise.
32238 * soft-fp/op-common.h: Likewise.
32239 * soft-fp/quad.h: Likewise.
32240 * soft-fp/single.h: Likewise.
32241 * soft-fp/soft-fp.h: Likewise.
32243 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32245 * iconv/iconv_prog.c: Fix typos.
32246 * stdio-common/psiginfo-data.h: Likewise.
32248 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32251 * locale/setlocale.c: Fix typo.
32253 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32256 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32257 signaling NaN arguments.
32258 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32259 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32262 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32263 unordered operands.
32264 * soft-fp/gesf2.c (__gesf2): Likewise.
32265 * soft-fp/getf2.c (__getf2): Likewise.
32266 * soft-fp/ledf2.c (__ledf2): Likewise.
32267 * soft-fp/lesf2.c (__lesf2): Likewise.
32268 * soft-fp/letf2.c (__letf2): Likewise.
32270 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32271 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32272 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32273 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32274 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32275 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32276 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32277 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32278 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32279 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32280 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32281 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32282 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32283 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32284 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32285 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32286 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32287 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32288 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32289 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32290 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32291 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32292 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32293 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32294 * soft-fp/floattidf.c (__floattidf): Likewise.
32295 * soft-fp/floattisf.c (__floattisf): Likewise.
32296 * soft-fp/floattitf.c (__floattitf): Likewise.
32297 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32298 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32299 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32300 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32301 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32302 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32303 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32304 * soft-fp/gesf2.c (__gesf2): Likewise.
32305 * soft-fp/getf2.c (__getf2): Likewise.
32306 * soft-fp/ledf2.c (__ledf2): Likewise.
32307 * soft-fp/lesf2.c (__lesf2): Likewise.
32308 * soft-fp/letf2.c (__letf2): Likewise.
32310 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32311 Undefine and redefine.
32312 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32313 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32314 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32315 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32316 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32317 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32318 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32319 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32320 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32321 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32322 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32323 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32324 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32325 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32326 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32329 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32330 without decrementing exponent if mantissa >= that for the
32331 denominator, not >.
32332 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32333 denominator, not >. Decrement exponent in < case instead of
32334 incrementing in >= case.
32335 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32336 without decrementing exponent if mantissa >= that for the
32337 denominator, not >.
32339 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32340 computing saturated result for unsigned overflow.
32342 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32343 Jeff Law <law@redhat.com>
32345 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32346 (atan2Mp): Add systemtap probe marker.
32347 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32348 (__ieee754_log): Add systemtap probe marker.
32349 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32350 (atanMp): Add systemtap probe marker.
32351 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32352 (tanMp): Add systemtap probe marker.
32353 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32354 (__slowexp): Add systemtap probe marker.
32355 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32356 (__slowpow): Add systemtap probe marker.
32357 * manual/probes.texi: Document probes.
32359 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32362 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32364 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32366 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32367 written to buffer but not flushed.
32368 * libio/iofwrite_u.c: Likewise.
32369 * libio/iopadn.c: Return bytes returned even if EOF was
32371 * libio/iowpadn.c: Likewise.
32372 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32373 if _IO_padn does not write the whole buffer.
32374 [!COMPILE_WPRINTF] (PAD): Likewise.
32376 2013-10-10 David S. Miller <davem@davemloft.net>
32378 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32381 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32383 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32384 instead of FSF address.
32385 * soft-fp/fixdfti.c: Likewise.
32386 * soft-fp/fixsfti.c: Likewise.
32387 * soft-fp/fixtfti.c: Likewise.
32388 * soft-fp/fixunsdfti.c: Likewise.
32389 * soft-fp/fixunssfti.c: Likewise.
32390 * soft-fp/fixunstfti.c: Likewise.
32391 * soft-fp/floattidf.c: Likewise.
32392 * soft-fp/floattisf.c: Likewise.
32393 * soft-fp/floattitf.c: Likewise.
32394 * soft-fp/floatuntidf.c: Likewise.
32395 * soft-fp/floatuntisf.c: Likewise.
32396 * soft-fp/floatuntitf.c: Likewise.
32397 * soft-fp/trunctfxf2.c: Likewise.
32399 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32400 * soft-fp/fixdfti.c: Likewise.
32401 * soft-fp/fixsfti.c: Likewise.
32402 * soft-fp/fixtfti.c: Likewise.
32403 * soft-fp/fixunsdfti.c: Likewise.
32404 * soft-fp/fixunssfti.c: Likewise.
32405 * soft-fp/fixunstfti.c: Likewise.
32406 * soft-fp/floattidf.c: Likewise.
32407 * soft-fp/floattisf.c: Likewise.
32408 * soft-fp/floattitf.c: Likewise.
32409 * soft-fp/floatuntidf.c: Likewise.
32410 * soft-fp/floatuntisf.c: Likewise.
32411 * soft-fp/floatuntitf.c: Likewise.
32412 * soft-fp/trunctfxf2.c: Likewise.
32414 2013-10-10 David S. Miller <davem@davemloft.net>
32416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32418 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32420 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32421 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32422 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32429 for NaNs before doing comparisons on argument.
32430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32433 2013-10-10 Will Newton <will.newton@linaro.org>
32435 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32436 passed to _int_memalign does not overflow.
32438 2013-10-10 Torvald Riegel <triegel@redhat.com>
32440 * scripts/bench.pl: Add include-sources directive.
32441 * benchtests/README: Update documentation.
32443 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32445 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32446 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32447 instead of FP_INIT_ROUNDMODE.
32448 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32449 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32452 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
32453 copy class of input value.
32454 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
32455 not handle exceptions.
32456 * soft-fp/negsf2.c (__negsf2): Likewise.
32457 * soft-fp/negtf2.c (__negtf2): Likewise.
32458 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32460 2013-10-09 Joseph Myers <joseph@codesourcery.com>
32462 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32463 semicolon. From Linux kernel.
32465 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
32467 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32469 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
32472 * manual/socket.texi: Added statement about buffer
32473 for gethostbyname2_r.
32475 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
32477 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32478 Use .p2align directive instead, throughout.
32479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32480 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32481 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32482 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32484 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32485 * sysdeps/x86_64/strchr.S: Likewise.
32486 * sysdeps/x86_64/strrchr.S: Likewise.
32488 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32490 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32492 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32494 * sysdeps/generic/math_private.h (__mpsin1): Remove
32496 (__mpcos1): Likewise.
32497 (__mpsin): New argument __range_reduce.
32498 (__mpcos): Likewise.
32499 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32500 (slow): Use __mpsin and __mpcos.
32504 (sloww1): Likewise.
32505 (sloww2): Likewise.
32506 (bsloww): Likewise.
32507 (bsloww1): Likewise.
32508 (bsloww2): Likewise.
32509 (cslow2): Likewise.
32510 (csloww): Likewise.
32511 (csloww1): Likewise.
32512 (csloww2): Likewise.
32513 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32514 range_reduce. Merge in __mpsin1.
32515 (__mpcos): Likewise.
32516 (__mpsin1): Remove.
32517 (__mpcos1): Likewise.
32519 2013-10-07 Joseph Myers <joseph@codesourcery.com>
32521 * locale/loadlocale.c (_nl_intern_locale_data): Use
32523 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32524 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32525 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32526 obstack data is appropriately aligned.
32527 (obstack_int32_grow_fast): Likewise.
32528 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32529 * locale/programs/locfile.c (add_locale_uint32): Likewise.
32530 (add_locale_uint32_array): Likewise.
32532 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32534 * benchtests/Makefile: Remove ARGLIST and RET variables.
32535 ($(objpfx)bench-%.c): Pass only function name to the script.
32536 * benchtests/README: Update documentation.
32537 * benchtests/acos-inputs: Add new directives.
32538 * benchtests/acosh-inputs: Likewise.
32539 * benchtests/asin-inputs: Likewise.
32540 * benchtests/asinh-inputs: Likewise.
32541 * benchtests/atan-inputs: Likewise.
32542 * benchtests/atanh-inputs: Likewise.
32543 * benchtests/cos-inputs: Likewise.
32544 * benchtests/cosh-inputs: Likewise.
32545 * benchtests/exp-inputs: Likewise.
32546 * benchtests/log-inputs: Likewise.
32547 * benchtests/pow-inputs: Likewise.
32548 * benchtests/rint-inputs: Likewise.
32549 * benchtests/sin-inputs: Likewise.
32550 * benchtests/sinh-inputs: Likewise.
32551 * benchtests/tan-inputs: Likewise.
32552 * benchtests/tanh-inputs: Likewise.
32553 * scripts/bench.pl: Add support for new directives.
32555 2013-10-07 Alan Modra <amodra@gmail.com>
32557 * README: Fix careless merge.
32559 2013-10-05 Alan Modra <amodra@gmail.com>
32561 * NEWS: Mention powerpc64le support and bugs fixed.
32562 * README: Both big-endian and little-endian powerpc64 supported.
32564 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32566 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32567 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32568 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32569 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32571 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
32573 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32576 2013-10-04 Joseph Myers <joseph@codesourcery.com>
32578 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32579 Move -mhard-float appending from
32580 ports/sysdeps/powerpc/powerpc32/Makefile.
32581 [$(with-fp) = yes] (ASFLAGS): Likewise.
32582 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32583 * sysdeps/powerpc/nofpu: Move directory from
32584 ports/sysdeps/powerpc/nofpu.
32585 * sysdeps/powerpc/soft-fp: Move directory from
32586 ports/sysdeps/powerpc/soft-fp.
32587 * sysdeps/powerpc/powerpc32/405: Move directory from
32588 ports/sysdeps/powerpc/powerpc32/405.
32589 * sysdeps/powerpc/powerpc32/440: Move directory from
32590 ports/sysdeps/powerpc/powerpc32/440.
32591 * sysdeps/powerpc/powerpc32/464: Move directory from
32592 ports/sysdeps/powerpc/powerpc32/464.
32593 * sysdeps/powerpc/powerpc32/476: Move directory from
32594 ports/sysdeps/powerpc/powerpc32/476.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
32600 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
32602 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
32603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
32604 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
32605 * README: Update for powerpc-*-linux-gnu software floating point
32608 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
32609 case to powerpc/powerpc32*.
32610 * sysdeps/unix/sysv/linux/configure: Regenerated.
32612 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
32613 (_FPU_MASK_OM): Define as 0x04.
32614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
32615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
32617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
32619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
32622 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
32625 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
32628 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
32629 and setcontext_e500.
32631 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
32633 * locale/iso-3166.def: Update iso-1366.def and related occurrences
32635 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32637 * manual/threads.texi (Default Thread Attributes): Fix typo.
32639 2013-10-04 Will Newton <will.newton@linaro.org>
32641 * malloc/Makefile: Add tst-memalign.
32642 * malloc/tst-memalign.c: New file.
32644 * malloc/tst-posix_memalign.c: Add comments.
32645 (do_test): Add comments and call free on all potentially
32646 allocated pointers. Add space after cast.
32648 * malloc/tst-pvalloc.c: Add comments.
32649 (do_test): Add comments and call free on all potentially
32650 allocated pointers. Remove duplicate check for NULL pointer.
32651 Add space after cast.
32653 * malloc/tst-valloc.c: Add comments.
32654 (do_test): Add comments and call free on all potentially
32655 allocated pointers. Remove duplicate check for NULL pointer.
32656 Add space after cast.
32658 2013-10-04 Alan Modra <amodra@gmail.com>
32660 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32661 Use stdint types in rather than __attribute__((mode())).
32662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32664 2013-10-04 Alan Modra <amodra@gmail.com>
32666 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32667 Correct handling of unaligned relocs for little-endian.
32668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32670 2013-10-04 Alan Modra <amodra@gmail.com>
32672 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
32673 * configure: Regenerate.
32674 * nptl/shlib-versions: Powerpc*le starts at 2.18.
32675 * shlib-versions: Likewise.
32677 2013-10-04 Alan Modra <amodra@gmail.com>
32679 * string/tester.c (test_memrchr): Increment reported test cycle.
32681 2013-10-04 Alan Modra <amodra@gmail.com>
32683 * string/test-memcpy.c (do_one_test): When reporting errors, print
32684 string address and don't overrun end of string.
32686 2013-10-04 Alan Modra <amodra@gmail.com>
32688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
32689 insrdi. Make better use of reg selection to speed exit slightly.
32690 Schedule entry path a little better. Remove useless "are we done"
32691 checks on entry to main loop. Handle wrapping around zero address.
32692 Correct main loop count. Handle single left-over word from main
32693 loop inline rather than by using loop_small. Remove extra word
32694 case in loop_small caused by wrong loop count. Add little-endian
32696 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
32699 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
32701 support. Avoid rlwimi.
32702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
32704 2013-10-04 Alan Modra <amodra@gmail.com>
32706 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
32707 insrdi. Formatting.
32708 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
32709 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32710 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32711 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32712 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32713 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
32715 2013-10-04 Alan Modra <amodra@gmail.com>
32717 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
32718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
32721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32722 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32723 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32724 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
32726 use of regs. Use power7 mtocrf. Tidy function tails.
32728 2013-10-04 Alan Modra <amodra@gmail.com>
32730 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
32731 Formatting. Consistently use rXXX register defines or rN defines.
32732 Use early exit labels that avoid restoring unused non-volatile regs.
32733 Make cr field use more consistent with rWORDn compares. Rename
32734 regs used as shift registers for unaligned loop, using rN defines
32735 for short lifetime/multiple use regs.
32736 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32737 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
32738 addi 1,1,64 to pop stack frame. Simplify return value code.
32739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32741 2013-10-04 Alan Modra <amodra@gmail.com>
32743 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
32744 support. Correct typos, formatting. Optimize tail. Use insrdi
32745 rather than rlwimi.
32746 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
32747 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
32748 little-endian support. Correct typos.
32749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
32750 rather than rlwimi.
32751 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
32752 in loop and entry code to keep "and." results.
32753 (strchr): Add little-endian support. Comment. Move cntlzd
32755 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
32757 2013-10-04 Alan Modra <amodra@gmail.com>
32759 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
32760 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
32761 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32762 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
32764 2013-10-04 Alan Modra <amodra@gmail.com>
32766 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
32767 (rTMP): Define as r11.
32768 (strcmp): Add little-endian support. Optimise tail.
32769 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
32770 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32772 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32777 2013-10-04 Alan Modra <amodra@gmail.com>
32779 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
32780 little-endian support. Remove unnecessary "are we done" tests.
32781 Handle "s" wrapping around zero and extremely large "size".
32782 Correct main loop count. Handle single left-over word from main
32783 loop inline rather than by using small_loop. Correct comments.
32784 Delete "zero" tail, use "end_max" instead.
32785 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
32787 2013-10-04 Alan Modra <amodra@gmail.com>
32789 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
32790 support. Don't branch over align.
32791 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
32792 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
32793 support. Rearrange tmp reg use to suit. Comment.
32794 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
32796 2013-10-04 Alan Modra <amodra@gmail.com>
32798 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
32800 2013-10-04 Alan Modra <amodra@gmail.com>
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
32803 conditional form of branch and link when obtaining pc.
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32806 2013-10-04 Alan Modra <amodra@gmail.com>
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
32810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
32813 2013-10-04 Alan Modra <amodra@gmail.com>
32815 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
32816 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
32817 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32818 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
32819 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32820 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32821 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
32822 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32823 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32824 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
32826 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32827 Alistair Popple <alistair@ozlabs.au.ibm.com>
32828 Alan Modra <amodra@gmail.com>
32831 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
32832 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
32833 _dl_hwcap access for little-endian.
32834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
32835 destroy vmx regs when saving unaligned.
32836 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
32837 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
32838 destroy vmx regs when saving unaligned.
32840 2013-10-04 Alan Modra <amodra@gmail.com>
32842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
32843 Don't use a union to pack hi/low value.
32845 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32847 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
32849 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
32851 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32852 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32853 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32855 2013-10-04 Alan Modra <amodra@gmail.com>
32857 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
32858 constants to usual value for .cst8 section, and remove redundant
32860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
32861 constant for 0x1p52. Load little-endian words of double from
32862 correct stack offsets.
32864 2013-10-04 Alan Modra <amodra@gmail.com>
32866 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
32867 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
32868 words of double from correct stack offsets.
32869 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32870 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
32871 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32876 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32877 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32880 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32881 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32882 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32883 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32884 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
32885 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32887 2013-10-04 Alan Modra <amodra@gmail.com>
32889 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
32890 64-bit int/double union.
32891 (_FPU_SETCW): Likewise.
32892 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
32893 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
32895 2013-10-04 Alan Modra <amodra@gmail.com>
32897 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
32898 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
32900 2013-10-04 Alan Modra <amodra@gmail.com>
32902 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
32903 use vector int constants.
32904 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
32906 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32908 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
32909 array with long long.
32910 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
32911 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
32912 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
32913 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
32914 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
32915 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
32916 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
32917 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
32918 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
32919 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
32920 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
32921 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
32922 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
32924 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
32926 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
32927 (__signbit): Likewise. Correct for little-endian.
32928 (__signbitl): Call __signbit.
32929 (lrint): Correct for little-endian.
32930 (lrintf): Call lrint.
32932 2013-10-04 Alan Modra <amodra@gmail.com>
32934 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
32935 union 32-bit int array member with 64-bit int array.
32936 (t515, tm256): Double rather than long double.
32937 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
32939 2013-10-04 Alan Modra <amodra@gmail.com>
32941 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
32943 (IEEE854_LONG_DOUBLE_BIAS): Delete.
32944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
32945 version of math_ldbl.h.
32947 2013-10-04 Alan Modra <amodra@gmail.com>
32949 [BZ #15734], [BZ #15735]
32950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
32951 all uses of ieee875 long double macros and unions. Simplify test
32952 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
32953 ldbl_extract_mantissa value for ix,iy exponents. Properly
32954 normalize after ldbl_extract_mantissa, and don't add hidden bit
32955 already handled. Don't treat low word of ieee854 mantissa like
32956 low word of IBM long double and mask off bit when testing for
32958 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32959 all uses of ieee875 long double macros and unions. Simplify tests
32960 for 0.0L and inf. Correct double adjustment of k. Delete dead code
32961 adjusting ha,hb. Simplify code setting kld. Delete two600 and
32962 two1022, instead use their values. Recognise that tests for large
32963 "a" and small "b" are mutually exclusive. Rename vars. Comment.
32964 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32965 Rewrite all uses of ieee875 long double macros and unions. Simplify
32966 test for 0.0L and nan. Correct negation.
32967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32968 ieee875 long double macros and unions. Correct output for large
32969 magnitude x. Correct absolute value calculation.
32970 (__erfcl): Likewise.
32971 * math/libm-test.inc: Add tests for errors discovered in IBM long
32972 double versions of fmodl, remainderl, erfl and erfcl.
32974 2013-10-04 Alan Modra <amodra@gmail.com>
32976 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32977 all uses of ieee854 long double macros and unions. Simplify tests
32978 for long doubles that are fully specified by the high double.
32979 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32981 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32982 Remove dead code too.
32983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32984 (__ieee754_ynl): Likewise.
32985 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32988 Remove dead code too.
32989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32991 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32992 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32994 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32996 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32997 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32999 Comment on variable precision.
33000 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33003 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33004 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33005 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33006 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33007 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33009 2013-10-04 Alan Modra <amodra@gmail.com>
33011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33013 all uses of ieee854 long double macros and unions.
33014 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33018 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33026 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33027 Simplify sign and nan test too.
33028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33034 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33037 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33038 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33039 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33040 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33043 2013-10-04 Alan Modra <amodra@gmail.com>
33045 * stdio-common/printf_size.c (__printf_size): Don't use
33046 union ieee854_long_double in fpnum union.
33047 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
33048 signbit macro to retrieve sign from long double.
33049 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33050 retrieve sign from long double.
33051 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33052 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33053 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33054 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33055 * math/test-misc.c (main): Don't use union ieee854_long_double.
33057 2013-10-04 Alan Modra <amodra@gmail.com>
33060 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33061 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33062 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33063 calculation. Remove unnecessary test for denormal exponent.
33064 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33065 Correct handling of denormals. Avoid undefined shift behaviour.
33066 Correct normalisation of low mantissa when low double is denormal.
33067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33068 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
33069 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33070 Correct normalisation of low mantissa. Test for overflow of high
33071 mantissa and normalise.
33072 (ldbl_nearbyint): Use more readable constant for two52.
33073 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33074 (__mpn_construct_long_double): Fix test for overflow of high
33075 mantissa and correct normalisation. Avoid undefined shift.
33077 2013-10-04 Alan Modra <amodra@gmail.com>
33079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33080 (union ibm_extended_long_double): Define as an array of ieee754_double.
33081 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33082 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33083 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33084 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33093 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33095 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33096 page size instead of calling getpagesize.
33098 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33099 (LOCFILE_ALIGN_MASK): Likewise.
33100 (LOCFILE_ALIGN_UP): Likewise.
33101 (LOCFILE_ALIGNED_P): Likewise.
33102 * locale/programs/ld-collate.c (collate_output): Use the new
33103 macros instead of __alignof__ (int32_t).
33104 * locale/weight.h (findidx): Likewise.
33106 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33109 * manual/string.texi: Fix strncat and wcsncat.
33111 2013-10-03 Brooks Moses <bmoses@google.com>
33114 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33115 * Makerules: ...here, and adjust associated comments.
33117 2013-10-02 Will Newton <will.newton@linaro.org>
33119 * malloc/Makefile: Add tst-pvalloc.
33120 * malloc/tst-pvalloc.c: New file.
33122 2013-10-02 Will Newton <will.newton@linaro.org>
33124 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33125 improve test coverage.
33127 2013-10-02 Will Newton <will.newton@linaro.org>
33129 * malloc/Makefile: Add tst-posix_memalign.
33130 * malloc/tst-posix_memalign.c: New file.
33132 2013-10-01 Eric Blake <eblake@redhat.com>
33134 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33135 Use __THROWNL rather than __THROW on static functions.
33137 2013-09-30 Petr Machata <pmachata@redhat.com>
33139 * elf/elf.h (R_AARCH64_ABS16): New macro.
33140 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33141 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33142 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33143 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33144 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33145 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33146 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33147 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33148 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33149 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33150 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33151 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33152 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33153 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33154 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33155 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33156 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33157 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33158 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33159 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33160 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33161 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33162 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33163 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33164 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33165 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33166 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33167 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33168 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33169 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33170 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33171 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33172 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33173 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33174 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33175 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33176 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33177 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33178 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33179 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33180 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33181 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33182 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33183 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33184 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33185 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33186 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33187 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33188 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33189 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33190 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33191 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33192 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33193 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33194 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33195 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33196 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33197 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33198 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33199 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33200 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33201 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33202 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33203 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33204 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33205 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33206 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33207 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33208 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33209 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33210 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33211 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33212 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33213 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33214 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33215 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33216 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33217 (R_AARCH64_TLSDESC_LDR): Likewise.
33218 (R_AARCH64_TLSDESC_ADD): Likewise.
33219 (R_AARCH64_TLSDESC_CALL): Likewise.
33221 2013-09-30 Andreas Schwab <schwab@suse.de>
33224 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33225 the nss database lookup.
33226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33229 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33231 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33233 2013-09-28 P. J. McDermott <pj@pehjota.net>
33235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33236 ${Bash-specific parameter/pattern/string} parameter expansion.
33237 * sysdeps/unix/make-syscalls.sh: Likewise.
33239 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33241 * sysdeps/sh/stackguard-macros.h: New file.
33243 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33247 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33250 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33252 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33254 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33255 Fix thread ID register.
33257 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33259 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33260 [POSIX || UNIX98]: Require rather than permitting all symbols from
33262 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33263 element of struct sched_param.
33264 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33265 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33266 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33267 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33270 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33272 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33273 argument calculation.
33275 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33277 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33279 [POSIX] (pthread_attr_t): Do not require type.
33280 [POSIX] (pthread_cond_t): Likewise.
33281 [POSIX] (pthread_condattr_t): Likewise.
33282 [POSIX] (pthread_key_t): Likewise.
33283 [POSIX] (pthread_mutex_t): Likewise.
33284 [POSIX] (pthread_mutexattr_t): Likewise.
33285 [POSIX] (pthread_once_t): Likewise.
33286 [POSIX] (pthread_t): Likewise.
33287 [POSIX-based standards] (pthread_atfork): Expect function.
33289 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33290 Richard Sandiford <richard@codesourcery.com>
33292 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33293 (swap_endianness_p): New extern variable.
33294 (set_big_endian): New inline function.
33295 (maybe_swap_uint32): Likewise.
33296 (maybe_swap_uint32_array): Likewise.
33297 (maybe_swap_uint32_obstack): Likewise.
33298 * locale/programs/locfile.c: Include <stdbool.h>.
33299 (swap_endianness_p): New variable.
33300 (add_locale_uint32): Call maybe_swap_uint32.
33301 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33302 (write_locale_data): Call maybe_swap_uint32_array.
33303 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33305 (obstack_int32_grow_fast): Likewise.
33306 (output_weightwc): Call maybe_swap_uint32_obstack.
33307 (collate_output): Likewise.
33308 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33309 (OPT_LITTLE_ENDIAN): Likewise.
33310 (options): Add --little-endian and --big-endian options.
33311 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33312 * locale/programs/locarchive.c: Include "locfile.h".
33316 (create_archive): Use the new macros to access fields of
33317 structures directly mapped from or written to locale archives.
33318 (oldlocrecentcmp): Likewise.
33319 (enlarge_archive): Likewise.
33320 (insert_name): Likewise.
33321 (add_alias): Likewise.
33322 (add_locale): Likewise.
33323 (delete_locales_from_archive): Likewise.
33324 (show_archive_content): Likewise.
33325 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33328 2013-09-24 Roland McGrath <roland@hack.frob.com>
33330 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33331 http://www.gnu.org/doc/freemanuals.texi.
33332 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33334 2013-09-24 Will Newton <will.newton@linaro.org>
33336 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33339 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33341 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33344 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33346 * manual/threads.texi (POSIX Threads): Fix a typo.
33348 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33351 * string/tst-strcoll-overflow.c: New test case.
33352 * string/Makefile (xtests): Add tst-strcoll-overflow.
33353 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33354 cache if string sizes may cause integer overflow.
33357 * string/strcoll_l.c (coll_seq): New members rule, idx,
33358 save_idx and back_us.
33359 (get_next_seq_nocache): New function.
33360 (do_compare_nocache): New function.
33361 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33364 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33367 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33368 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33369 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33372 * elf/Makefile (tests): Add tst-ptrguard1.
33373 (tests-static): Add tst-ptrguard1-static.
33374 (tst-ptrguard1-ARGS): Define.
33375 (tst-ptrguard1-static-ARGS): Define.
33376 * elf/tst-ptrguard1.c: New file.
33377 * elf/tst-ptrguard1-static.c: New file.
33378 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33379 * sysdeps/i386/stackguard-macros.h: Likewise.
33380 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33381 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33382 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33383 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33384 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33385 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33387 2013-09-23 Hector Marco <hecmargi@upv.es>
33388 Ismael Ripoll <iripoll@disca.upv.es>
33389 Carlos O'Donell <carlos@redhat.com>
33392 * sysdeps/generic/stackguard-macros.h: Define
33393 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33394 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33395 Define __pointer_chk_guard_local.
33396 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33397 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33399 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33402 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33404 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33406 * include/string.h (__ffs): Declare as hidden.
33407 * string/ffs.c (__ffs): Define as hidden.
33408 * sysdeps/i386/ffs.c (__ffs): Likewise.
33409 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33410 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33411 * sysdeps/s390/ffs.c (__ffs): Likewise.
33412 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33414 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33416 * NEWS: Mention malloc probes.
33418 * malloc/arena.c (new_heap): New memory_heap_new probe.
33419 (grow_heap): New memory_heap_more probe.
33420 (shrink_heap): New memory_heap_less probe.
33421 (heap_trim): New memory_heap_free probe.
33422 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33423 (systrim): New memory_sbrk_less probe.
33424 * manual/probes.texi: Document them.
33426 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33427 * manual/probes.texi: Document it.
33429 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33430 (__libc_realloc): Add memory_realloc_retry probe.
33431 (__libc_memalign): Add memory_memalign_retry probe.
33432 (__libc_valloc): Add memory_valloc_retry probe.
33433 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33434 (__libc_calloc): Add memory_calloc_retry probe.
33435 * manual/probes.texi: Document them.
33437 * malloc/arena.c (get_free_list): Add probe
33438 memory_arena_reuse_free_list.
33439 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33440 and memory_arena_reuse.
33441 (arena_get2) [!PER_THREAD]: Likewise.
33442 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33443 memory_arena_reuse_realloc.
33444 * manual/probes.texi: Document them.
33446 * malloc/malloc.c (__libc_free): Add
33447 memory_mallopt_free_dyn_thresholds probe.
33448 (__libc_mallopt): Add multiple memory_mallopt probes.
33449 * manual/probes.texi: Document them.
33451 * malloc/malloc.c: Include stap-probe.h.
33452 (__libc_mallopt): Add memory_mallopt probe.
33453 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33454 * manual/probes.texi: New.
33455 * manual/Makefile (chapters): Add probes.
33456 * manual/threads.texi: Set next node.
33458 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
33460 [BZ #15963, #13985]
33461 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33462 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33463 Add `Chinese' to `nan' entry name.
33465 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33467 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33468 (POLYNOMIAL): Likewise.
33469 (TAYLOR_SINCOS): Likewise.
33470 (TAYLOR_SLOW): Likewise.
33471 (__sin): Use TAYLOR_SINCOS.
33473 (slow): Use TAYLOR_SLOW.
33475 (bsloww): Likewise.
33476 (csloww): Likewise.
33478 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33480 * stdlib/strtod_l.c: Fix buffer overrun.
33482 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33484 * benchtests/Makefile (bench): Add sincos.
33485 * benchtests/bench-sincos.c: New file.
33487 * math/libm-test.inc (cos_test_data): New test inputs.
33488 (sin_test_data): Likewise.
33490 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33496 (sloww1): Likewise.
33497 (sloww2): Likewise.
33498 (bsloww1): Likewise.
33499 (bsloww2): Likewise.
33500 (cslow2): Likewise.
33501 (csloww1): Likewise.
33502 (csloww2): Likewise.
33504 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33513 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
33515 * config.h.in (HAVE_MIPS_NAN2008): New macro.
33516 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33517 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33518 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33519 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33520 * elf/cache.c (print_entry): Handle the new cache flags.
33522 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33523 Aldy Hernandez <aldyh@redhat.com>
33525 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33526 Change condition to [_SOFT_FLOAT].
33527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33539 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33542 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33545 2013-09-18 Joseph Myers <joseph@codesourcery.com>
33547 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33548 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33549 (__longjmp): Use LOAD_GP to load saved GPRs.
33550 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33551 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33552 (__sigsetjmp): Use SAVE_GP to save GPRs.
33554 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33555 Do not append -msoft-float.
33556 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33558 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33560 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33562 2013-09-17 Joseph Myers <joseph@codesourcery.com>
33565 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33566 (_FPU_GETCW): Use initial "__" on variable and field names but not
33567 on macro parameter name.
33568 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
33569 parentheses around reference to macro parameter.
33571 2013-09-13 Richard Sandiford <richard@codesourcery.com>
33573 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33575 (ctype_startup): Use uint32_t in cast and sizeof for
33578 2013-09-11 Jia Liu <proljc@gmail.com>
33580 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33582 [__FreeBSD__]: Likewise.
33584 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
33586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33587 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33588 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33589 (strchr): Remove __strchr_sse42 ifunc selection.
33590 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33591 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33593 2013-09-11 Will Newton <will.newton@linaro.org>
33595 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33596 parameter to RES. Remove hardcoded 1000 value.
33597 * benchtests/bench-skeleton.c (main): Pass RES parameter
33598 to TIMING_INIT and multiply result by 1000.
33600 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33604 2013-09-11 Andreas Schwab <schwab@suse.de>
33606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33608 (O_TMPFILE) [__USE_GNU]: Define.
33609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
33612 2013-09-11 Will Newton <will.newton@linaro.org>
33615 * malloc/malloc.c (__libc_memalign): Check the value of bytes
33618 2013-09-11 Will Newton <will.newton@linaro.org>
33621 * malloc/malloc.c (__libc_valloc): Check the value of bytes
33624 2013-09-11 Will Newton <will.newton@linaro.org>
33627 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
33630 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
33632 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
33633 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33638 2013-09-10 Allan McRae <allan@archlinux.org>
33641 * manual/arith.texi (Parsing of Floats): Clarify
33645 * manual/install.texi (Running make install): Mention
33647 * INSTALL: Regenerated.
33649 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33651 * csu/init-first.c (_init): Remove the !SHARED condition around
33652 FPU control word initialization.
33653 * elf/dl-support.c (_dl_fpu_control): New variable.
33654 (_dl_aux_init) <AT_FPUCW>: Initialize it.
33655 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
33656 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
33657 * math/test-fpucw-static.c: New file.
33658 * math/test-fpucw-ieee.c: New file.
33659 * math/test-fpucw-ieee-static.c: New file.
33660 * math/Makefile (tests): Add `test-fpucw-ieee' and
33662 (tests-static): New variable.
33663 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
33665 [($(build-shared),yes)]
33666 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33668 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
33671 2013-09-09 Allan McRae <allan@archlinux.org>
33674 * manual/string.texi (Collation Functions): Fix typo in
33676 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
33679 * stdlib/isomac.c (get_null_defines): Fix memory leak.
33682 * libio/memstream.c (open_memstream): Fix memory leak.
33683 * libio/wmemstream.c (open_wmemstream): Likewise.
33686 * nscd/netgroupcache.c: Fix nesting of ifdefs.
33688 2013-09-09 Will Newton <will.newton@linaro.org>
33690 * malloc/Makefile: Add tst-realloc to tests.
33691 * malloc/tst-realloc.c: New file.
33693 2013-09-09 Allan McRae <allan@archlinux.org>
33696 * COPYING: Update from GNU website to fix FSF address.
33697 * COPYING.LIB: Likewise.
33699 2013-09-06 David S. Miller <davem@davemloft.net>
33701 * po/zh_TW.po: Update Chinese (traditional) translation from
33702 translation project.
33704 2013-09-06 Richard Sandiford <richard@codesourcery.com>
33705 Joseph Myers <joseph@codesourcery.com>
33707 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
33709 (obstack_chunk_alloc): New macro.
33710 (obstack_chunk_free): Likewise.
33711 (record_offset): New function.
33712 (init_locale_data): Likewise.
33713 (align_locale_data): Likewise.
33714 (add_locale_empty): Likewise.
33715 (add_locale_raw_data): Likewise.
33716 (add_locale_raw_obstack): Likewise.
33717 (add_locale_string): Likewise.
33718 (add_locale_wstring): Likewise.
33719 (add_locale_uint32): Likewise.
33720 (add_locale_uint32_array): Likewise.
33721 (add_locale_char): Likewise.
33722 (start_locale_structure): Likewise.
33723 (end_locale_structure): Likewise.
33724 (start_locale_prelude): Likewise.
33725 (end_locale_prelude): Likewise.
33726 (write_locale_data): Take locale_file structure rather than an
33728 * locale/programs/locfile.h: Include "obstack.h".
33729 (struct locale_file): Change to store locale file contents instead
33731 (init_locale_data): New prototype.
33732 (align_locale_data): Likewise.
33733 (add_locale_empty): Likewise.
33734 (add_locale_raw_data): Likewise.
33735 (add_locale_raw_obstack): Likewise.
33736 (add_locale_string): Likewise.
33737 (add_locale_wstring): Likewise.
33738 (add_locale_uint32): Likewise.
33739 (add_locale_uint32_array): Likewise.
33740 (add_locale_char): Likewise.
33741 (start_locale_structure): Likewise.
33742 (end_locale_structure): Likewise.
33743 (start_locale_prelude): Likewise.
33744 (end_locale_prelude): Likewise.
33745 (write_locale_data): Update prototype.
33746 * locale/programs/3level.h (struct TABLE): Remove result field.
33747 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
33748 Use new locale_file interface.
33749 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
33750 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
33751 * locale/programs/ld-address.c (address_output): Use new
33752 locale_file interface.
33753 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
33755 (collate_finish): Don't call collseq_table_finalize.
33756 (collate_output): Use new locale_file interface.
33757 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
33759 (NO_FINALIZE): Change to NO_ADD_LOCALE.
33760 (TABLE): Move defines earlier in file.
33761 (ELEMENT): Likewise.
33762 (DEFAULT): Likewise.
33763 (wctrans_table_add): Move macro and inline function earlier in
33765 (struct wctype_table): Move type earlier in file.
33766 (add_locale_wctype_table): New static prototype.
33767 (struct locale_ctype_t): Use logical types instead of struct iovec
33768 pointers for members.
33769 (ctype_output): Use new locale_file interface.
33770 (wctype_table_finalize): Change to add_locale_wctype_table. Use
33771 new locale_file interface.
33772 (allocate_arrays): Update for use of new locale_file interface.
33773 * locale/programs/ld-identification.c (identification_output): Use
33774 new locale_file interface.
33775 * locale/programs/ld-measurement.c (measurement_output): Likewise.
33776 * locale/programs/ld-messages.c (messages_output): Likewise.
33777 * locale/programs/ld-monetary.c (monetary_output): Likewise.
33778 * locale/programs/ld-name.c (name_output): Likewise.
33779 * locale/programs/ld-numeric.c (numeric_output): Likewise.
33780 * locale/programs/ld-paper.c (paper_output): Likewise.
33781 * locale/programs/ld-telephone.c (telephone_output): Likewise.
33782 * locale/programs/ld-time.c (time_output): Likewise.
33784 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33786 * benchtests/Makefile: Add memrchr benchmark.
33787 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
33788 benchmark as memrchr.
33789 * benchtests/bench-memrchr-ifunc.c: New file.
33790 * benchtests/bench-memrchr.c: New file.
33792 2013-09-06 Will Newton <will.newton@linaro.org>
33794 * benchtests/Makefile (string-bench): Add memcpy.
33796 2013-09-05 Carlos O'Donell <carlos@redhat.com>
33797 Cong Wang <amwang@redhat.com>
33800 * sysdeps/unix/sysv/linux/bits/in.h
33801 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
33802 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
33803 before __USE_KERNEL_IPV6_DEFS uses.
33804 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
33806 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
33807 sockaddr_in6, or ipv6_mreq.
33809 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33811 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
33812 memory access for final bytes in some large inputs.
33813 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
33815 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33817 * string/test-memrchr.c: New file.
33818 * string/test-memrchr-ifunc.c: New file.
33819 * string/Makefile: Add new memrchr testcase.
33821 2013-09-05 Mike Frysinger <vapier@gentoo.org>
33823 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
33824 fanotify_init returns EPERM.
33826 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33828 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
33830 (top level): Treat second token from macro or constant entries for
33831 allowed headers as allowed.
33832 * include/complex.h: Condition internal declarations on
33834 * include/fenv.h: Condition include of <stdbool.h> and internal
33835 declarations on [!_ISOMAC].
33837 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
33840 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
33842 2013-09-04 Joseph Myers <joseph@codesourcery.com>
33844 * configure.in (--enable-versioning): Remove configure option.
33845 (libc_cv_asm_symver_directive): Remove configure test.
33846 (libc_cv_ld_version_script_option): Likewise.
33847 (VERSIONING): Remove variable and AC_SUBST.
33848 (DO_VERSIONING): Remove AC_DEFINE.
33849 * configure: Regenerated.
33850 * config.h.in (DO_VERSIONING): Remove macro.
33851 * Makerules [$(versioning) = yes]: Change conditionals to
33852 [$(build-shared) = yes].
33853 * config.make.in (versioning): Remove variable.
33854 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
33855 [$(build-shared) = yes].
33856 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
33857 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33858 * elf/Makefile [$(versioning) = yes]: Change conditionals to
33859 [$(build-shared) = yes].
33860 * extra-lib.mk [$(versioning) = yes]: Likewise.
33861 * hurd/Makefile [$(versioning) = yes]: Likewise.
33862 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
33864 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
33866 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33867 [SHARED && !NO_HIDDEN].
33868 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
33870 [SHARED && DO_VERSIONING]: Likewise..
33871 * libio/Makefile [$(versioning) = yes]: Change conditionals to
33872 [$(build-shared) = yes].
33873 * manual/install.texi (--disable-versioning): Remove
33875 * INSTALL: Regenerated.
33876 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
33878 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
33879 [$(build-shared) = yes].
33880 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
33881 * sysdeps/i386/i686/multiarch/strstr-c.c
33882 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
33883 [SHARED && !NO_HIDDEN].
33884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
33885 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
33886 * sysdeps/powerpc/powerpc32/dl-machine.c
33887 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
33888 * sysdeps/powerpc/powerpc32/sysdep.h
33889 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
33890 to [SHARED && PIC && !NO_HIDDEN].
33891 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
33892 conditional to [SHARED].
33894 2013-09-04 Will Newton <will.newton@linaro.org>
33896 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
33897 * benchtests/bench-string.h: Include bench-timing.h instead
33898 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
33899 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
33900 call to HP_TIMING_DIFF_INIT.
33901 * benchtests/bench-memccpy.c: Use bench-timing.h macros
33902 instead of hp-timing.h macros.
33903 * benchtests/bench-memchr.c: Likewise.
33904 * benchtests/bench-memcmp.c: Likewise.
33905 * benchtests/bench-memcpy.c: Likewise.
33906 * benchtests/bench-memmem.c: Likewise.
33907 * benchtests/bench-memmove.c: Likewise.
33908 * benchtests/bench-memset.c: Likewise.
33909 * benchtests/bench-rawmemchr.c: Likewise.
33910 * benchtests/bench-strcasecmp.c: Likewise.
33911 * benchtests/bench-strcasestr.c: Likewise.
33912 * benchtests/bench-strcat.c: Likewise.
33913 * benchtests/bench-strchr.c: Likewise.
33914 * benchtests/bench-strcmp.c: Likewise.
33915 * benchtests/bench-strcpy.c: Likewise.
33916 * benchtests/bench-strcpy_chk.c: Likewise.
33917 * benchtests/bench-strlen.c: Likewise.
33918 * benchtests/bench-strncasecmp.c: Likewise.
33919 * benchtests/bench-strncat.c: Likewise.
33920 * benchtests/bench-strncmp.c: Likewise.
33921 * benchtests/bench-strncpy.c: Likewise.
33922 * benchtests/bench-strnlen.c: Likewise.
33923 * benchtests/bench-strpbrk.c: Likewise.
33924 * benchtests/bench-strrchr.c: Likewise.
33925 * benchtests/bench-strspn.c: Likewise.
33926 * benchtests/bench-strstr.c: Likewise.
33928 2013-09-04 Will Newton <will.newton@linaro.org>
33930 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
33932 2013-09-03 Joseph Myers <joseph@codesourcery.com>
33935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
33936 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
33937 * math/libm-test.inc (lgamma_test_data): Add more tests.
33938 * sysdeps/i386/fpu/libm-test-ulps: Update.
33939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33941 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
33943 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
33944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33947 Add strcmp-sse2-unaligned
33948 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
33950 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33952 * Versions.def (libc): Add GLIBC_2.19.
33954 2013-09-02 Mike Frysinger <vapier@gentoo.org>
33956 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33957 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33959 2013-09-02 Joseph Myers <joseph@codesourcery.com>
33962 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33963 intermediate calculations in recurrence.
33964 (__ieee754_ynf): Likewise.
33965 * math/libm-test.inc (jn_test_data): Do not allow spurious
33966 underflow exception. Add more tests.
33967 (yn_test_data): Add more tests.
33968 * sysdeps/i386/fpu/libm-test-ulps: Update.
33969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33971 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
33973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33975 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33977 * csu/init-first.c: Fix then/than typos.
33978 * locale/programs/ld-collate.c: Likewise.
33979 * locale/programs/linereader.h: Likewise.
33980 * manual/charset.texi: Likewise.
33981 * manual/filesys.texi: Likewise.
33982 * manual/stdio.texi: Likewise.
33983 * manual/string.texi: Likewise.
33984 * stdlib/fmtmsg.c: Likewise.
33985 * sysdeps/i386/stpncpy.S: Likewise.
33986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33987 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33989 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33991 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33993 * elf/dl-open.c: Fix typos.
33994 * iconvdata/gbbig5.c: Likewise.
33995 * iconvdata/iso-2022-jp.c: Likewise.
33996 * iconv/gconv_int.h: Likewise.
33997 * iconv/loop.c: Likewise.
33998 * nis/rpcsvc/nis.h: Likewise.
33999 * resolv/ns_name.c: Likewise.
34000 * stdio-common/vfscanf.c: Likewise.
34001 * streams/stropts.h: Likewise.
34002 * sunrpc/rpc_thread.c: Likewise.
34003 * sysdeps/i386/strpbrk.S: Likewise.
34004 * sysdeps/ieee754/k_standard.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34007 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34008 * sysdeps/mach/hurd/profil.c: Likewise.
34009 * sysdeps/s390/dl-procinfo.h: Likewise.
34010 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34012 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34013 * sysdeps/x86_64/dl-trampoline.S: Likewise.
34014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34016 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34018 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34021 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34023 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34024 aix specific files.
34025 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34027 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34028 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34029 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34030 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34031 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34032 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34034 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34035 Roland McGrath <roland@hack.frob.com>
34037 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34038 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34040 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
34042 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34043 __executable_start symbol instead of _start.
34045 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34047 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34048 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34050 * sysdeps/gnu/ldsodefs.h: ... this new file.
34052 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34053 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34054 instead of ELFOSABI_LINUX.
34056 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34057 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34058 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34059 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34061 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34062 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34063 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34065 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34066 (ibm_extended_long_double): Add ieee_nan member.
34067 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34068 (do_test): New function.
34070 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34072 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34073 functions, renamed from truncdfsf_test, trunctfsf_test,
34075 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34077 (do_test): Run all these.
34079 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34081 * argp/argp-help.c: Fix typos.
34082 * argp/argp-parse.c: Likewise.
34083 * debug/backtracesyms.c: Likewise.
34084 * elf/elf.h: Likewise.
34085 * malloc/malloc.c: Likewise.
34086 * nis/nis_print.c: Likewise.
34087 * resolv/res_comp.c: Likewise.
34088 * stdlib/stdlib.h: Likewise.
34089 * sunrpc/clnt_tcp.c: Likewise.
34090 * sunrpc/clnt_udp.c: Likewise.
34091 * sunrpc/clnt_unix.c: Likewise.
34092 * sysdeps/unix/bsd/ptsname.c: Likewise.
34093 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34101 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34103 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34105 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34108 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34111 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34112 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34113 ($(objpfx)bug-dl-leaf): New rule.
34114 ($(objpfx)bug-dl-leaf.so): Likewise.
34115 ($(objpfx)bug-dl-leaf.out): Likewise.
34116 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34117 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34118 * dlfcn/bug-dl-leaf.c: New test.
34119 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34120 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34121 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34122 (dlclose): Likewise.
34123 (dlmopen): Likewise.
34125 2013-08-27 Roland McGrath <roland@hack.frob.com>
34127 * include/netdb.h [!_ISOMAC]:
34128 Don't include <tls.h>.
34129 (h_errno, __libc_h_errno): Move declaration and macros out of
34132 * include/resolv.h [_RESOLV_H_]:
34133 Don't include <tls.h>.
34134 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34135 * resolv/res_libc.c: Don't include <tls.h>.
34136 (_res): Use __attribute__ ((nocommon)) in place of
34137 __attribute__ ((section (".bss"))).
34139 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34140 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34142 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34144 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34145 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34147 * resolv/res_mkquery.c: Include <sys/time.h>.
34149 * inet/ifreq.c: Moved to ...
34150 * sysdeps/unix/ifreq.c: ... here.
34151 * inet/ifreq.c: New file, true stub version.
34153 * socket/sa_len.c: New file.
34154 * socket/Makefile (aux): Add it.
34155 * sysdeps/unix/sysv/linux/Makefile
34156 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34157 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34158 and #include <socket/sa_len.c>.
34159 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34160 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34162 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34163 * bits/socket.h: ... here.
34165 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34166 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34167 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34169 2013-08-27 Andreas Schwab <schwab@suse.de>
34172 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34173 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34174 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34175 * string/test-strcasecmp.c (test_main): Run tests in several
34177 * string/test-strncasecmp.c (test_main): Likewise.
34179 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34180 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34181 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34183 (__strncasecmp_ssse3) [PIC]: Likewise.
34185 2013-08-26 Roland McGrath <roland@hack.frob.com>
34187 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34189 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34190 instead of explicitly declaring xdecrypt.
34191 * nis/nss_nis/nis-publickey.c: Likewise.
34193 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34196 * nscd/aicache.c: Include res_hconf.h.
34197 (addhstaiX): Initialize res_hconf.
34199 2013-08-26 Andreas Schwab <schwab@suse.de>
34201 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34202 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34204 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34206 * nscd/aicache.c (addhstaiX): Fix indentation.
34208 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34210 * configure.ac: Quote $build_pt_chown test.
34211 * configure: Regenerated.
34213 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34216 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34217 * math/s_cexpf.c (__cexpf): Likewise.
34218 * math/s_cexpl.c (__cexpl): Likewise.
34219 * math/libm-test.inc (cexp_test_data): Correct expected return
34220 value for NaN + i0. Add another test.
34222 2013-08-22 David S. Miller <davem@davemloft.net>
34224 * po/ca.po: Update Catalan translation from translation project.
34225 * po/uk.po: Add Ukrainian translations from translation project.
34227 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34230 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34231 is infinite, not alongside NaN test.
34232 * math/s_fdimf.c (__fdimf): Likewise.
34233 * math/s_fdiml.c (__fdiml): Likewise.
34234 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34235 errno is unchanged.
34237 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34239 * argp/argp-help.c: Fix typos.
34240 * crypt/speeds.c: Likewise.
34241 * csu/check_fds.c: Likewise.
34242 * elf/dl-load.c: Likewise.
34243 * elf/dl-open.c: Likewise.
34244 * elf/reldep3.c: Likewise.
34245 * elf/reldep.c: Likewise.
34246 * elf/sprof.c: Likewise.
34247 * iconv/iconv_charmap.c: Likewise.
34248 * iconv/skeleton.c: Likewise.
34249 * iconv/strtab.c: Likewise.
34250 * io/lockf64.c: Likewise.
34251 * libio/libioP.h: Likewise.
34252 * resolv/gai_notify.c: Likewise.
34253 * resolv/ns_name.c: Likewise.
34254 * resolv/ns_samedomain.c: Likewise.
34255 * resolv/res_send.c: Likewise.
34256 * stdlib/random.c: Likewise.
34257 * sunrpc/rpc/xdr.h: Likewise.
34258 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34259 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34260 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34261 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34265 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34266 * sysdeps/mach/hurd/check_fds.c: Likewise.
34267 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34271 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34272 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34273 * sysdeps/pthread/aio_notify.c: Likewise.
34274 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34275 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34278 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34280 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34282 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34283 version if bit_Slow_SSE4_2 is set.
34284 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34287 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34290 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34291 trampoline stack frame information.
34292 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34293 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34294 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34295 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34296 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34297 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34298 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34299 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34301 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34302 interrupting a syscall and set with option SA_SIGINFO.
34304 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34307 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34308 argument is infinite.
34309 * math/s_cprojf.c (__cprojf): Likewise.
34310 * math/s_cprojl.c (__cprojl): Likewise.
34311 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34312 * math/libm-test.inc (cproj_test_data): Add more tests.
34314 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34317 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34318 size. Use __ffs to determine corresponding shift.
34320 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34321 Roland McGrath <roland@hack.frob.com>
34323 * Makefile (INSTALL): Remove trailing blank lines from output of
34326 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34328 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34329 Align 32 bit compat elf_greg to 8 bytes.
34331 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34333 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34335 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34337 * string/strcoll_l.c (coll_seq): New structure.
34338 (get_next_seq_cached): New function.
34339 (get_next_seq): New function.
34340 (do_compare): New function.
34341 (STRCOLL): Use GNU style definition. Simplify implementation
34342 by using get_next_seq, get_next_seq_cached and do_compare.
34344 2013-08-16 Florian Weimer <fweimer@redhat.com>
34348 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34350 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34352 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34353 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34354 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34356 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34357 GETDENTS_64BIT_ALIGNED.
34358 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34359 * manual/filesys.texi (Reading/Closing Directory): Document
34360 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34362 * manual/conf.texi (Limits for Files): Add portability note to
34363 NAME_MAX, PATH_MAX.
34364 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34366 2013-08-13 Andreas Schwab <schwab@suse.de>
34369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34371 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34372 LDBL_MAX_EXP >= 16384]: Add tests for it.
34374 2013-08-12 David S. Miller <davem@davemloft.net>
34376 * version.h (RELEASE): Set to "development".
34377 (VERSION): Set to "2.18.90".
34378 * NEWS: Add 2.19 section.
34380 2013-08-03 David S. Miller <davem@davemloft.net>
34382 * po/ko.po: Update Korean translation from translation project.
34384 2013-08-01 David S. Miller <davem@davemloft.net>
34386 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34387 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34390 2013-07-30 David S. Miller <davem@davemloft.net>
34392 * po/fr.po: Update French translation from translation project.
34394 2013-07-28 David S. Miller <davem@davemloft.net>
34396 * po/cs.po: Update Czech translation from translation project.
34398 * po/sv.po: Update Swedish translation from translation project.
34400 2013-07-27 David S. Miller <davem@davemloft.net>
34402 * po/eo.po: Update Esperanto translation from translation project.
34404 * po/vi.po: Update Vietnamese translation from translation project.
34406 * po/de.po: Update German translation from translation project.
34408 2013-07-26 David S. Miller <davem@davemloft.net>
34410 * po/bg.po: Update Bulgarian translation from translation project.
34412 * po/nl.po: Update Dutch translation from translation project.
34413 * po/pl.po: Update Polish translation from translation project.
34414 * po/ru.po: Update Russian translation from translation project.
34416 2013-07-24 David S. Miller <davem@davemloft.net>
34418 * po/libc.pot: Update.
34420 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34422 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34423 variable page size.
34424 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34425 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34426 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34428 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34430 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34432 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34433 Andreas Schwab <schwab@suse.de>
34434 Roland McGrath <roland@hack.frob.com>
34435 Joseph Myers <joseph@codesourcery.com>
34436 Carlos O'Donell <carlos@redhat.com>
34439 * config.h.in: Define HAVE_PT_CHOWN.
34440 * config.make.in (build-pt-chown): New variable.
34441 * configure.in (--enable-pt_chown): New configure option.
34442 * configure: Regenerate.
34443 * login/Makefile: Include Makeconfig. Build pt_chown only if
34444 build-pt-chown is enabled.
34445 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34446 pt_chown to fix pty ownership.
34447 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34449 * manual/install.texi (Configuring and compiling): Mention
34450 --enable-pt_chown. Add @findex for grantpt.
34451 * INSTALL: Regenerate.
34453 2013-07-20 David S. Miller <davem@davemloft.net>
34455 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34456 difference between 32-bit and 64-bit.
34458 2013-07-15 Carlos O'Donell <carlos@redhat.com>
34461 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34462 Avoid system header dependency with -ffreestanding.
34463 ($(objpfx)bits/syscall%d): Likewise.
34465 2013-07-13 David S. Miller <davem@davemloft.net>
34467 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34468 underflows from atanl/atan2l due to bug 15319.
34469 (casinh_test_data): Likewise.
34471 2013-07-07 David S. Miller <davem@davemloft.net>
34473 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34475 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
34477 * sysdeps/i386/fpu/libm-test-ulps: Update.
34478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34480 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34482 * configure.in (--enable-lock-elision): Fix message text.
34483 * INSTALL: Regenerate.
34484 * configure: Regenerate.
34486 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34490 2013-07-03 Andreas Jaeger <aj@suse.de>
34492 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34494 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34495 (ptrace_peeksiginfo_args): Add.
34496 (__ptrace_peeksiginfo_flags): Add.
34497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34501 2013-07-03 Allan McRae <allan@archlinux.org>
34503 * sysdeps/i386/fpu/libm-test-ulps: Update.
34505 2013-07-02 David S. Miller <davem@davemloft.net>
34507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34509 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
34511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34513 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34515 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34518 2013-07-02 Andi Kleen <ak@linux.intel.com>
34520 * config.h.in (ENABLE_LOCK_ELISION): Add.
34521 * configure.in (--enable-lock-elision): Add option.
34522 * manual/install.texi: Document --enable lock elision.
34523 * configure: Regenerate
34524 * INSTALL: Regenerate.
34526 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
34528 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34529 SSE4.2 strcasecmp for libc.a.
34530 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34532 2013-07-02 Joseph Myers <joseph@codesourcery.com>
34535 * soft-fp/op-common.h (_FP_FMA): New macro.
34536 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34537 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
34538 (_FP_MUL_MEAT_1_imm): ... here.
34539 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
34540 (_FP_MUL_MEAT_1_wide): ... here.
34541 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
34542 (_FP_MUL_MEAT_1_hard): ... here.
34543 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34544 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
34545 (_FP_MUL_MEAT_2_wide): ... here.
34546 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
34547 (_FP_MUL_MEAT_2_wide_3mul): ... here.
34548 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
34549 (_FP_MUL_MEAT_2_gmp): ... here.
34550 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34551 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
34552 (_FP_MUL_MEAT_4_wide): ... here.
34553 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
34554 (_FP_MUL_MEAT_4_gmp): ... here.
34555 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34556 (_FP_WFRACBITS_DW_S): Likewise.
34557 (_FP_WFRACXBITS_DW_S): Likewise.
34558 (_FP_HIGHBIT_DW_S): Likewise.
34559 (FP_FMA_S): Likewise.
34560 (_FP_FRAC_HIGH_DW_S): Likewise.
34561 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34562 (_FP_WFRACBITS_DW_D): Likewise.
34563 (_FP_WFRACXBITS_DW_D): Likewise.
34564 (_FP_HIGHBIT_DW_D): Likewise.
34565 (FP_FMA_D): Likewise.
34566 (_FP_FRAC_HIGH_DW_D): Likewise.
34567 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34568 (_FP_WFRACBITS_DW_E): Likewise.
34569 (_FP_WFRACXBITS_DW_E): Likewise.
34570 (_FP_HIGHBIT_DW_E): Likewise.
34571 (FP_FMA_E): Likewise.
34572 (_FP_FRAC_HIGH_DW_E): Likewise.
34573 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34574 (_FP_WFRACBITS_DW_Q): Likewise.
34575 (_FP_WFRACXBITS_DW_Q): Likewise.
34576 (_FP_HIGHBIT_DW_Q): Likewise.
34577 (FP_FMA_Q): Likewise.
34578 (_FP_FRAC_HIGH_DW_Q): Likewise.
34579 * soft-fp/fmasf4.c: New file.
34580 * soft-fp/fmadf4.c: Likewise.
34581 * soft-fp/fmatf4.c: Likewise.
34583 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34586 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34590 (index_Slow_SSE4_2): Likewise.
34591 (index_Prefer_PMINUB_for_stringop): Likewise.
34592 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34593 bit_Slow_SSE4_2 is set.
34594 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34597 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34599 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
34600 rtld_global._dl_hwcap2.
34601 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
34603 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
34604 POWER8 feature descriptions defined in _dl_hwcap2.
34605 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
34606 string handling for POWER8 feature bits.
34607 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
34608 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
34609 _dl_powerpc_cap_flags.
34610 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
34611 * sysdeps/powerpc/rtld-global-offsets.sym
34612 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
34613 _dl_hwcap2 in the rtld_global_ro structure.
34615 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34617 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
34618 hardware capabilities in support of AT_HWCAP2.
34619 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
34620 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
34622 (_dl_show_auxv): Add support for calling _dl_procinfo to display
34623 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
34624 explicitly the unknown a_type display mechanism is used.
34625 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
34626 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
34628 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
34629 to macro prototype for AT_HWCAP2 support.
34630 * sysdeps/i386/dl-procinfo.h: Likewise.
34631 * sysdeps/s390/dl-procinfo.h: Likewise.
34632 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
34633 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
34634 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
34635 return -1 for unknown a_type display fallback.
34636 * sysdeps/sparc/dl-procinfo.h: Likewise.
34637 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
34638 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
34640 2013-06-28 Joseph Myers <joseph@codesourcery.com>
34642 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
34643 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
34645 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
34648 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
34649 mprotect making __stack_prot writable.
34651 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
34652 Joseph Myers <joseph@codesourcery.com>
34654 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
34655 as being properly aligned.
34657 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
34659 * dlfcn/modstatic5.c: New file.
34660 * dlfcn/tststatic5.c: New file.
34661 * dlfcn/Makefile (tests): Add tststatic5.
34662 (tests-static): Likewise.
34663 (modules-names): Add modstatic5.
34664 (tststatic5-ENV): New variable.
34665 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
34668 * elf/dl-support.c (_dl_main_map): New variable.
34669 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
34670 (_dl_nns, _dl_load_adds): Set to 1.
34671 (_dl_initial_searchlist): Refer to _dl_main_map.
34672 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
34673 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
34674 call to _dl_get_origin.
34675 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
34677 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
34678 * dlfcn/modstatic3.c: New file.
34679 * dlfcn/tststatic3.c: New file.
34680 * dlfcn/tststatic4.c: New file.
34681 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
34682 (tests-static): Likewise.
34683 (modules-names): Add modstatic3.
34684 (tststatic3-ENV, tststatic4-ENV): New variables.
34685 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
34686 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
34688 2013-06-26 Joseph Myers <joseph@codesourcery.com>
34690 * configure.in (CC): Require GCC version 4.4 or later.
34691 * configure: Regenerated.
34692 * manual/install.texi (Tools for Compilation): Update GCC version
34694 * INSTALL: Regenerated.
34696 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34699 * string/test-memcmp.c (check2): New.
34700 (main): Call check2.
34702 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
34704 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
34707 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
34709 (dl_open_worker) [!SHARED]: ... here.
34711 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34713 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
34715 2013-06-25 Richard Henderson <rth@redhat.com>
34717 * locale/programs/locarchive.c: Include <libc-internal.h>
34719 2013-06-25 Joseph Myers <joseph@codesourcery.com>
34721 * manual/texinfo.tex: Update to version 2013-06-21.17, with
34722 trailing whitespace removed.
34724 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34727 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
34728 * locale/programs/locarchive.c: Include libc-mmap.h.
34729 (prepare_address_space): Take two new outputs (the mmap base and len).
34730 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
34732 (create_archive): Declare new mmap base and len values for
34733 prepare_address_space, and store the result in ah.
34734 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
34735 (enlarge_archive): If ah->mmap_base is not NULL, use that and
34736 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34737 Declare new mmap base and len values for
34738 prepare_address_space, and store the result in new_ah.
34739 (open_archive): Declare new mmap base and len values for
34740 prepare_address_space, and store the result in ah.
34741 (close_archive): If ah->mmap_base is not NULL, use that and
34742 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34743 * sysdeps/generic/libc-mmap.h: New file.
34745 2013-06-24 Mike Frysinger <vapier@gentoo.org>
34747 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
34748 (ALIGN_UP): Likewise.
34749 (PTR_ALIGN_DOWN): Likewise.
34750 (PTR_ALIGN_UP): Likewise.
34752 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34754 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
34755 entry mapped to PPC_PLATFORM_POWER8.
34756 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
34758 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
34759 (_dl_string_platform): Add case for exporting platform position for
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
34762 search path to sysdeps/powerpc/powerpc32/power8 directory.
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
34764 search path to sysdeps/powerpc/powerpc64/power8 directory.
34765 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
34766 power7 directories.
34767 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
34768 power7 directories.
34770 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34772 * INSTALL: Regenerate.
34774 * nscd/connections.c (nscd_init): Fix comment.
34776 2013-06-22 Joseph Myers <joseph@codesourcery.com>
34778 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
34781 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
34782 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
34784 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34786 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
34788 (DL_DST_REQ_STATIC): Remove macro.
34790 2013-06-21 Joseph Myers <joseph@codesourcery.com>
34793 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
34794 with a shift of 0 bits.
34796 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
34798 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
34801 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34804 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
34806 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34808 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34809 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
34810 accepts -fno-tree-loop-distribute-patterns.
34811 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
34812 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
34814 * string/memset.c (memset): Likewise.
34815 * string/test-memmove.c (simple_memmove): Disable loop transformation
34817 * string/test-memset.c (simple_memset): Likewise.
34818 * benchtests/bench-memmove.c (simple_memmove): Likewise.
34819 * benchtests/bench-memset.c (simple_memset): Likewise.
34820 * configure: Regenerated.
34822 2013-06-20 Joseph Myers <joseph@codesourcery.com>
34824 * math/test-misc.c (main): Ignore fesetround failure when failures
34825 of subsequent rounding tests would be ignored.
34828 * math/fedisblxcpt.c (fedisableexcept): Return 0.
34829 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
34830 * math/fegetenv.c (__fegetenv): Return 0.
34831 * math/fegetexcept.c (fegetexcept): Return 0.
34832 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
34834 * math/feholdexcpt.c (feholdexcept): Return 0.
34835 * math/fesetenv.c (__fesetenv): Return 0.
34836 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
34837 argument FE_TONEAREST.
34838 * math/feupdateenv.c (__feupdateenv): Return 0.
34839 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
34841 2013-06-18 Roland McGrath <roland@hack.frob.com>
34843 * elf/rtld-Rules (rtld-compile-command.S): New variable.
34844 (rtld-compile-command.s, rtld-compile-command.c): New variables.
34845 ($(objpfx)rtld-%.os rules): Use them.
34847 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34849 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
34852 2013-06-17 Roland McGrath <roland@hack.frob.com>
34854 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
34855 length of target pattern, then descending length of dependency pattern.
34856 * configure.in (AWK): Require gawk 3.1.2 or newer.
34857 * manual/install.texi (Tools for Compilation): Say that we do.
34858 * configure: Regenerated.
34860 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
34861 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
34862 * scripts/sysd-rules.awk: ... this new script.
34863 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
34864 than a glob-style pattern.
34866 2013-06-17 Joseph Myers <joseph@codesourcery.com>
34868 * math/test-misc.c (main): Do not treat incorrectly rounded
34869 conversions as failure unless ROUNDING_TESTS passes.
34871 2013-06-15 Joseph Myers <joseph@codesourcery.com>
34874 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
34875 restore exception state around main square root computation, then
34876 check for inexactness explicitly.
34878 * math/libm-test.inc (fma_test_data): Add another test.
34880 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34882 * manual/threads.texi (Non-POSIX Extensions): New document
34883 node. Document pthread_getattr_default_np and
34884 pthread_setattr_default_np.
34886 * Versions.def (libpthread): Add GLIBC_2.18.
34887 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34896 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
34898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34907 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34910 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
34912 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34913 H.J. Lu <hjl.tools@gmail.com>
34916 * sysdeps/x86_64/rtld-memset.c: Remove file.
34917 * sysdeps/x86_64/rtld-memset.S: New file.
34919 2013-06-14 Joseph Myers <joseph@codesourcery.com>
34921 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
34922 (test_in_one_mode): Take arguments for whether the rounding mode
34923 is supported for each floating-point type.
34924 (do_test): Pass new arguments to test_in_one_mode using
34927 2013-06-13 Roland McGrath <roland@hack.frob.com>
34929 * posix/tst-waitid.c (do_test): Distinguish different instances of
34930 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
34931 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
34932 before entering the kernel for waitpid.
34934 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34936 * NEWS: Fix note on clock function precision. Text by Roland
34939 2013-06-13 Roland McGrath <roland@hack.frob.com>
34941 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
34942 it into place only when and if the sanity check passes.
34944 2013-06-13 Joseph Myers <joseph@codesourcery.com>
34946 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
34947 output for whether conversion result is exact. Take argument
34948 indicating whether type is IBM long double.
34949 (round_for_all): Change need_exact field to ibm_ld.
34950 * stdlib/tst-strtod-round.c (struct exactness): New type.
34951 (struct test): Change bool ld_ok field to struct exactness exact.
34952 (TEST): Update all definitions for change to field.
34953 (tests): Regenerate array contents.
34954 (test_in_one_mode): Take pointer to new field instead of old ld_ok
34955 field value. Check for IBM long double here.
34956 (do_test): Update calls to test_in_one_mode.
34958 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34961 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34962 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34964 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34967 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34968 generated by the compiler on loop optimizations.
34969 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34970 general definitions.
34972 2013-06-12 Joseph Myers <joseph@codesourcery.com>
34974 * math/bug-nextafter.c: Include <math-tests.h>.
34975 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34977 * math/bug-nexttoward.c: Include <math-tests.h>.
34978 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34980 * math/test-misc.c: Include <math-tests.h>.
34981 (main): Only test for exceptions if EXCEPTION_TESTS is true for
34984 2013-06-12 Andreas Jaeger <aj@suse.de>
34986 * po/ia.po: Update Interlingua translation from translation
34989 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34991 * include/fenv.h: Include stdbool.h.
34992 (struct rm_ctx): New structure.
34993 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34995 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34996 (SET_RESTORE_ROUNDF): Likewise.
34997 (SET_RESTORE_ROUNDL): Likewise.
34998 (SET_RESTORE_ROUND_NOEX): Likewise.
34999 (SET_RESTORE_ROUND_NOEXF): Likewise.
35000 (SET_RESTORE_ROUND_NOEXL): Likewise.
35001 (SET_RESTORE_ROUND_53BIT): Likewise.
35002 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35003 (libc_feresetround_noexf_ctx): Likewise.
35004 (libc_feresetround_noexl_ctx): Likewise.
35005 (libc_feholdsetround_53bit_ctx): Likewise.
35006 (libc_feresetround_53bit_ctx): Likewise.
35007 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35008 (libc_feholdexcept_setround_sse_ctx): New function.
35009 (libc_fesetenv_sse_ctx): Likewise.
35010 (libc_feupdateenv_sse_ctx): Likewise.
35011 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35012 (libc_feholdexcept_setround_387_ctx): Likewise.
35013 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35014 (libc_feholdsetround_387_prec_ctx): Likewise.
35015 (libc_feholdsetround_387_ctx): Likewise.
35016 (libc_feholdsetround_387_53bit_ctx): Likewise.
35017 (libc_feholdsetround_sse_ctx): Likewise.
35018 (libc_feresetround_sse_ctx): Likewise.
35019 (libc_feresetround_387_ctx): Likewise.
35020 (libc_feupdateenv_387_ctx): Likewise.
35021 (libc_feholdexcept_setroundf_ctx): Define macro.
35022 (libc_fesetenvf_ctx): Likewise.
35023 (libc_feupdateenvf_ctx): Likewise.
35024 (libc_feholdsetroundf_ctx): Likewise.
35025 (libc_feresetroundf_ctx): Likewise.
35026 (libc_feholdexcept_setround_ctx): Likewise.
35027 (libc_fesetenv_ctx): Likewise.
35028 (libc_feupdateenv_ctx): Likewise.
35029 (libc_feholdsetround_ctx): Likewise.
35030 (libc_feresetround_ctx): Likewise.
35031 (libc_feholdexcept_setroundl_ctx): Likewise.
35032 (libc_feupdateenvl_ctx): Likewise.
35033 (libc_feholdsetroundl_ctx): Likewise.
35034 (libc_feresetroundl_ctx): Likewise.
35035 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35036 (libc_feresetround_53bit_ctx): Likewise.
35038 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35040 * locale/iso-639.def: Convert to UTF-8.
35042 2013-06-11 Joseph Myers <joseph@codesourcery.com>
35044 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35045 (EXCEPTION_TESTS_double): Likewise.
35046 (EXCEPTION_TESTS_long_double): Likewise.
35047 (EXCEPTION_TESTS): Likewise.
35048 * math/libm-test.inc (test_exceptions): Only test exceptions if
35049 EXCEPTION_TESTS (FLOAT).
35051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35053 * benchtests/Makefile (string-bench): Add strcpy_chk and
35055 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35056 * benchtests/bench-stpcpy_chk.c: New file.
35057 * benchtests/bench-strcpy_chk-ifunc.c: New file.
35058 * benchtests/bench-strcpy_chk.c: New file.
35059 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35061 (do_test): Likewise.
35063 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35065 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35066 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35067 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35068 with tabs where appropriate.
35069 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35071 [PPC_PLATFORM_PPC440]: Likewise.
35072 [PPC_PLATFORM_PPC464]: Likewise.
35073 [PPC_PLATFORM_PPC476]: Likewise.
35074 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35075 ppc464, and ppc476 platform strings merging from ports/
35078 2013-06-11 Andreas Schwab <schwab@suse.de>
35081 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35082 (from_ucs4_idx): Regenerate.
35083 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35084 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35085 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35086 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35087 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35088 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35089 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35090 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35091 from FROM_LOOP and TO_LOOP specific macros.
35092 (BODY): Handle combining characters.
35093 * iconvdata/BIG5HKSCS.irreversible: Update.
35094 * iconvdata/BIG5HKSCS.precomposed: New file.
35095 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35097 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35099 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35101 * include/sys/time.h: Fix indentation and add copyright header.
35103 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35104 (do_test): Likewise.
35105 * string/test-memchr.c (do_one_test): Likewise.
35106 (do_test): Likewise.
35107 * string/test-memcmp.c (do_one_test): Likewise.
35108 (do_test): Likewise.
35109 * string/test-memcpy.c (do_one_test): Likewise.
35110 (do_test): Likewise.
35111 * string/test-memmem.c (do_one_test): Likewise.
35112 (do_test): Likewise.
35113 (do_random_tests): Likewise.
35114 * string/test-memmove.c (do_one_test): Likewise.
35115 (do_test): Likewise.
35116 * string/test-memset.c (do_one_test): Likewise.
35117 (do_test): Likewise.
35118 * string/test-rawmemchr.c (do_one_test): Likewise.
35119 (do_test): Likewise.
35120 * string/test-strcasecmp.c (do_one_test): Likewise.
35121 (do_test): Likewise.
35122 * string/test-strcasestr.c (do_one_test): Likewise.
35123 (do_test): Likewise.
35124 * string/test-strcat.c (do_one_test): Likewise.
35125 (do_test): Likewise.
35126 * string/test-strchr.c (do_one_test): Likewise.
35127 (do_test): Likewise.
35128 * string/test-strcmp.c (do_one_test): Likewise.
35129 (do_test): Likewise.
35130 * string/test-strcpy.c (do_one_test): Likewise.
35131 (do_test): Likewise.
35132 * string/test-string.h: Likewise.
35133 (test_init): Likewise.
35134 * string/test-strlen.c (do_one_test): Likewise.
35135 (do_test): Likewise.
35136 * string/test-strncasecmp.c (do_one_test): Likewise.
35137 (do_test): Likewise.
35138 * string/test-strncat.c (do_one_test): Likewise.
35139 (do_test): Likewise.
35140 * string/test-strncmp.c (do_one_test): Likewise.
35141 (do_test_limit): Likewise.
35142 (do_test): Likewise.
35143 * string/test-strncpy.c (do_one_test): Likewise.
35144 (do_test): Likewise.
35145 * string/test-strnlen.c (do_one_test): Likewise.
35146 (do_test): Likewise.
35147 * string/test-strpbrk.c (do_one_test): Likewise.
35148 (do_test): Likewise.
35149 * string/test-strrchr.c (do_one_test): Likewise.
35150 (do_test): Likewise.
35151 * string/test-strspn.c (do_one_test): Likewise.
35152 (do_test): Likewise.
35153 * string/test-strstr.c (do_one_test): Likewise.
35154 (do_test): Likewise.
35156 * benchtests/Makefile (string-bench): Add string benchmarks.
35157 * benchtests/bench-bcopy-ifunc.c: New file.
35158 * benchtests/bench-bcopy.c: New file.
35159 * benchtests/bench-bzero-ifunc.c: New file.
35160 * benchtests/bench-bzero.c: New file.
35161 * benchtests/bench-memccpy-ifunc.c: New file.
35162 * benchtests/bench-memccpy.c: New file.
35163 * benchtests/bench-memchr-ifunc.c: New file.
35164 * benchtests/bench-memchr.c: New file.
35165 * benchtests/bench-memcmp-ifunc.c: New file.
35166 * benchtests/bench-memcmp.c: New file.
35167 * benchtests/bench-memmem-ifunc.c: New file.
35168 * benchtests/bench-memmem.c: New file.
35169 * benchtests/bench-memmove-ifunc.c: New file.
35170 * benchtests/bench-memmove.c: New file.
35171 * benchtests/bench-mempcpy-ifunc.c: New file.
35172 * benchtests/bench-mempcpy.c: New file.
35173 * benchtests/bench-memset-ifunc.c: New file.
35174 * benchtests/bench-memset.c: New file.
35175 * benchtests/bench-rawmemchr-ifunc.c: New file.
35176 * benchtests/bench-rawmemchr.c: New file.
35177 * benchtests/bench-stpcpy-ifunc.c: New file.
35178 * benchtests/bench-stpcpy.c: New file.
35179 * benchtests/bench-stpncpy-ifunc.c: New file.
35180 * benchtests/bench-stpncpy.c: New file.
35181 * benchtests/bench-strcasecmp-ifunc.c: New file.
35182 * benchtests/bench-strcasecmp.c: New file.
35183 * benchtests/bench-strcasestr-ifunc.c: New file.
35184 * benchtests/bench-strcasestr.c: New file.
35185 * benchtests/bench-strcat-ifunc.c: New file.
35186 * benchtests/bench-strcat.c: New file.
35187 * benchtests/bench-strchr-ifunc.c: New file.
35188 * benchtests/bench-strchr.c: New file.
35189 * benchtests/bench-strchrnul-ifunc.c: New file.
35190 * benchtests/bench-strchrnul.c: New file.
35191 * benchtests/bench-strcmp-ifunc.c: New file.
35192 * benchtests/bench-strcmp.c: New file.
35193 * benchtests/bench-strcpy-ifunc.c: New file.
35194 * benchtests/bench-strcpy.c: New file.
35195 * benchtests/bench-strcspn-ifunc.c: New file.
35196 * benchtests/bench-strcspn.c: New file.
35197 * benchtests/bench-strlen-ifunc.c: New file.
35198 * benchtests/bench-strlen.c: New file.
35199 * benchtests/bench-strncasecmp-ifunc.c: New file.
35200 * benchtests/bench-strncasecmp.c: New file.
35201 * benchtests/bench-strncat-ifunc.c: New file.
35202 * benchtests/bench-strncat.c: New file.
35203 * benchtests/bench-strncmp-ifunc.c: New file.
35204 * benchtests/bench-strncmp.c: New file.
35205 * benchtests/bench-strncpy-ifunc.c: New file.
35206 * benchtests/bench-strncpy.c: New file.
35207 * benchtests/bench-strnlen-ifunc.c: New file.
35208 * benchtests/bench-strnlen.c: New file.
35209 * benchtests/bench-strpbrk-ifunc.c: New file.
35210 * benchtests/bench-strpbrk.c: New file.
35211 * benchtests/bench-strrchr-ifunc.c: New file.
35212 * benchtests/bench-strrchr.c: New file.
35213 * benchtests/bench-strspn-ifunc.c: New file.
35214 * benchtests/bench-strspn.c: New file.
35215 * benchtests/bench-strstr-ifunc.c: New file.
35216 * benchtests/bench-strstr.c: New file.
35218 * benchtests/Makefile: Disable parallel execution of targets.
35219 (string-bench): Add memcpy.
35220 (benchset): New variable to store a list of benchmark sets.
35221 (bench-func): Renamed from bench.
35222 (bench-set): New target.
35223 (bench): Depend on bench-func and bench-set.
35224 * benchtests/README: Add section on benchmark sets.
35225 * benchtests/bench-memcpy-ifunc.c: New file.
35226 * benchtests/bench-memcpy.c: New file.
35227 * benchtests/bench-string.h: New file.
35229 2013-06-11 Andreas Schwab <schwab@suse.de>
35232 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35233 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35234 values in the triple.
35235 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35236 terminator in the group key.
35238 2013-06-11 Andreas Jaeger <aj@suse.de>
35240 * po/zh_TW.po: Update Chinese (traditional) translation from
35241 translation project.
35243 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35245 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35246 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35247 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35249 (clock_getcpuclockid): Likewise.
35250 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35251 Add weak_alias and libc_hidden_def.
35252 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35253 * rt/clock_gettime.c (clock_gettime): Rename to
35254 __clock_gettime. Add weak_alias and libc_hidden_def.
35255 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35256 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35257 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35258 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35259 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35261 * rt/clock_settime.c (clock_settime): Rename to
35262 __clock_settime. Add weak_alias and libc_hidden_def.
35263 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35265 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35267 * mach/err_boot.sub: Remove trailing whitespace.
35268 * mach/err_ipc.sub: Likewise.
35269 * mach/err_mach.sub: Likewise.
35271 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35272 (ROUNDING_TESTS_double): Likewise.
35273 (ROUNDING_TESTS_long_double): Likewise.
35274 (ROUNDING_TESTS): Likewise.
35275 * math/libm-test.inc: Include <math-tests.h>.
35276 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35277 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35278 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35279 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35281 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35283 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35286 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35288 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35289 otherwise empty TRANS lines.
35290 * sysdeps/gnu/errlist.c: Regenerated.
35292 * catgets/gencat.c (error_print): Use (void) in function
35294 * crypt/crypt_util.c (__init_des): Likewise.
35295 * crypt/speeds.c (Stop): Likewise.
35297 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35298 * inet/ruserpass.c (token): Likewise.
35299 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35300 * intl/localealias.c (extend_alias_table): Likewise.
35301 * intl/plural-exp.c (init_germanic_plural): Likewise.
35302 * libio/fcloseall.c (__fcloseall): Likewise.
35303 * libio/genops.c (_IO_flush_all): Likewise.
35304 (_IO_flush_all_linebuffered): Likewise.
35305 (_IO_cleanup): Likewise.
35306 (_IO_iter_begin): Likewise.
35307 (_IO_iter_end): Likewise.
35308 (_IO_list_lock): Likewise.
35309 (_IO_list_unlock): Likewise.
35310 (_IO_list_resetlock): Likewise.
35311 * libio/getchar.c (getchar): Likewise.
35312 * libio/getchar_u.c (getchar_unlocked): Likewise.
35313 * libio/getwchar.c (getwchar): Likewise.
35314 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35315 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35316 * login/getpt.c (__getpt): Likewise.
35317 * login/tst-utmp.c (main): Likewise.
35318 * malloc/hooks.c (__malloc_check_init): Likewise.
35319 * malloc/malloc.c (__malloc_stats): Likewise.
35320 * malloc/mtrace.c (tr_break): Likewise.
35321 (mtrace): Likewise.
35322 (muntrace): Likewise.
35323 * misc/fstab.c (endfsent): Likewise.
35324 * misc/getclktck.c (__getclktck): Likewise.
35325 * misc/getdtsz.c (__getdtablesize): Likewise.
35326 * misc/gethostid.c (gethostid): Likewise.
35327 * misc/getpagesize.c (__getpagesize): Likewise.
35328 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35329 (__get_nprocs): Likewise.
35330 (__get_phys_pages): Likewise.
35331 (__get_avphys_pages): Likewise.
35332 * misc/getttyent.c (getttyent): Likewise.
35333 (setttyent): Likewise.
35334 (endttyent): Likewise.
35335 * misc/getusershell.c (getusershell): Likewise.
35336 (endusershell): Likewise.
35337 (setusershell): Likewise.
35338 (initshells): Likewise.
35339 * misc/hsearch.c (__hdestroy): Likewise.
35340 * misc/sync.c (sync): Likewise.
35341 * misc/syslog.c (closelog_internal): Likewise.
35342 (closelog): Likewise.
35343 * misc/ttyslot.c (ttyslot): Likewise.
35344 * misc/vhangup.c (vhangup): Likewise.
35345 * posix/fork.c (__fork): Likewise.
35346 * posix/getegid.c (__getegid): Likewise.
35347 * posix/geteuid.c (__geteuid): Likewise.
35348 * posix/getgid.c (__getgid): Likewise.
35349 * posix/getpid.c (__getpid): Likewise.
35350 * posix/getppid.c (__getppid): Likewise.
35351 * posix/getuid.c (__getuid): Likewise.
35352 * posix/pause.c (pause): Likewise.
35353 * posix/setpgrp.c (setpgrp): Likewise.
35354 * posix/setsid.c (__setsid): Likewise.
35355 * posix/test-vfork.c (noop): Likewise.
35356 * resolv/gethnamaddr.c (_endhtent): Likewise.
35357 (_gethtent): Likewise.
35358 (ht_endhostent): Likewise.
35359 (gethostent): Likewise.
35360 (dns_service): Likewise.
35361 * stdlib/drand48.c (drand48): Likewise.
35362 * stdlib/lrand48.c (lrand48): Likewise.
35363 * stdlib/mrand48.c (mrand48): Likewise.
35364 * stdlib/rand.c (rand): Likewise.
35365 * stdlib/random.c (__random): Likewise.
35366 * stdlib/setenv.c (clearenv): Likewise.
35367 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35368 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35369 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35370 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35371 (__get_nprocs): Likewise.
35372 (__get_phys_pages): Likewise.
35373 (__get_avphys_pages): Likewise.
35374 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35375 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35376 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35377 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35378 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35379 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35380 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35381 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35382 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35383 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35384 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35385 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35386 * sysdeps/posix/clock.c (clock): Likewise.
35387 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35388 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35389 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35390 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35391 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35393 (__get_nprocs_conf): Likewise.
35394 (__get_phys_pages): Likewise.
35395 (__get_avphys_pages): Likewise.
35396 * time/clock.c (clock): Likewise.
35397 * time/tzset.c (__tzname_max): Likewise.
35399 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35401 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35402 (__bswap_32): Do not use "register".
35403 * crypt/crypt.c (_ufc_doit_r): Likewise.
35404 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35405 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35406 * gmon/gmon.c (__monstartup): Likewise.
35407 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35408 * hurd/hurdmalloc.c (more_memory): Likewise.
35409 (malloc): Likewise.
35411 (realloc): Likewise.
35412 (malloc_fork_prepare): Likewise.
35413 (malloc_fork_parent): Likewise.
35414 (malloc_fork_child): Likewise.
35415 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35416 (_svcauth_des): Likewise.
35417 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35418 * inet/inet_net.c (inet_network): Likewise.
35419 * inet/inet_netof.c (inet_netof): Likewise.
35420 * inet/rcmd.c (__validuser2_sa): Likewise.
35421 * io/fts.c (fts_open): Likewise.
35422 (fts_load): Likewise.
35423 (fts_close): Likewise.
35424 (fts_read): Likewise.
35425 (fts_children): Likewise.
35426 (fts_build): Likewise.
35427 (fts_stat): Likewise.
35428 (fts_sort): Likewise.
35429 (fts_alloc): Likewise.
35430 (fts_lfree): Likewise.
35431 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35432 (_IO_file_xsgetn): Likewise.
35433 (_IO_file_xsgetn_mmap): Likewise.
35434 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35435 (_IO_cookie_write): Likewise.
35436 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35437 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35438 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35439 * malloc/obstack.c (_obstack_begin): Likewise.
35440 (_obstack_begin_1): Likewise.
35441 (_obstack_newchunk): Likewise.
35442 (_obstack_allocated_p): Likewise.
35443 (obstack_free): Likewise.
35444 (_obstack_memory_used): Likewise.
35445 * misc/getttyent.c (getttynam): Likewise.
35446 (getttyent): Likewise.
35449 * misc/getusershell.c (initshells): Likewise.
35450 * misc/syslog.c (__vsyslog_chk): Likewise.
35451 * misc/ttyslot.c (ttyslot): Likewise.
35452 * nis/nis_hash.c (__nis_hash): Likewise.
35453 * posix/fnmatch_loop.c (FCT): Likewise.
35454 * posix/getconf.c (print_all): Likewise.
35456 * posix/getopt.c (exchange): Likewise.
35457 * posix/glob.c (globfree): Likewise.
35458 (prefix_array): Likewise.
35459 (__glob_pattern_type): Likewise.
35460 * resolv/arpa/nameser.h (NS_GET16): Likewise.
35461 (NS_GET32): Likewise.
35462 (NS_PUT16): Likewise.
35463 (NS_PUT32): Likewise.
35464 * resolv/gethnamaddr.c (getanswer): Likewise.
35465 (gethostbyname2): Likewise.
35466 (gethostbyaddr): Likewise.
35467 (_gethtent): Likewise.
35468 (_gethtbyname2): Likewise.
35469 (_gethtbyaddr): Likewise.
35470 * resolv/ns_print.c (dst_s_get_int16): Likewise.
35471 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35472 * resolv/res_init.c (__res_vinit): Likewise.
35473 (net_mask): Likewise.
35474 * resolv/res_mkquery.c (outchar): Likewise.
35476 * stdio-common/printf_fp.c (outchar): Likewise.
35478 * stdio-common/printf_fphex.c (outchar): Likewise.
35480 * stdio-common/printf_size.c (outchar): Likewise.
35482 * stdio-common/test_rdwr.c (main): Likewise.
35483 * stdio-common/tfformat.c (matches): Likewise.
35484 * stdio-common/vfprintf.c (outchar): Likewise.
35485 (printf_unknown): Likewise.
35486 (buffered_vfprintf): Likewise.
35487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35488 * stdio-common/xbug.c (AppendToBuffer): Likewise.
35489 (ReadFile): Likewise.
35490 * stdlib/qsort.c (SWAP): Likewise.
35491 (_quicksort): Likewise.
35492 * stdlib/setenv.c (__add_to_environ): Likewise.
35493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35494 * stdlib/strtol_l.c (__strtol_l): Likewise.
35495 * stdlib/tst-strtod.c (main): Likewise.
35496 * stdlib/tst-strtol.c (main): Likewise.
35497 * stdlib/tst-strtoll.c (main): Likewise.
35498 * string/bits/string2.h (__strcmp_cc): Likewise.
35499 (__strcmp_cg): Likewise.
35500 (__strcspn_c1): Likewise.
35501 (__strcspn_c2): Likewise.
35502 (__strcspn_c3): Likewise.
35503 (__strspn_c1): Likewise.
35504 (__strspn_c2): Likewise.
35505 (__strspn_c3): Likewise.
35506 (__strsep_1c): Likewise.
35507 (__strsep_2c): Likewise.
35508 (__strsep_3c): Likewise.
35509 * string/memccpy.c (__memccpy): Likewise.
35510 * string/stpcpy.c (__stpcpy): Likewise.
35511 * string/strcmp.c (strcmp): Likewise.
35512 * string/strrchr.c (strrchr): Likewise.
35513 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35515 * sysdeps/mach/hurd/getcwd.c
35516 (_hurd_canonicalize_directory_name_internal): Likewise.
35517 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35518 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35519 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35520 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35521 Likewise, in both definitions.
35522 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35524 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35525 64] (__bswap_64): Likewise.
35526 * time/test_time.c (main): Likewise.
35527 * time/tzfile.c (__tzfile_read): Likewise.
35528 (__tzfile_compute): Likewise.
35529 * time/tzset.c (__tzset_parse_tz): Likewise.
35530 (tzset_internal): Likewise.
35531 (compute_change): Likewise.
35532 * wcsmbs/wcscat.c (__wcscat): Likewise.
35533 * wcsmbs/wcschr.c (wcschr): Likewise.
35534 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35535 * wcsmbs/wcscspn.c (wcscspn): Likewise.
35536 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35537 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35538 * wcsmbs/wcsspn.c (wcsspn): Likewise.
35539 * wcsmbs/wcsstr.c (wcsstr): Likewise.
35540 * wcsmbs/wmemchr.c (wmemchr): Likewise.
35541 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35542 * wcsmbs/wmemset.c (wmemset): Likewise.
35544 2013-06-06 Joseph Myers <joseph@codesourcery.com>
35546 * scripts/config.guess: Update to version 2013-05-16.
35547 * scripts/config.sub: Update to version 2013-04-24.
35548 * scripts/install-sh: Update to version 2011-11-20.07.
35549 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35550 * scripts/move-if-change: Update to version 2012-01-06 07:23.
35552 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
35554 * debug/fgetws_u_chk.c: Fix leading whitespaces.
35555 * elf/sln.c: Likewise.
35556 * hurd/hurd/ioctl.h: Likewise.
35557 * hurd/hurdmalloc.c: Likewise.
35558 * hurd/xattr.c: Likewise.
35559 * include/shlib-compat.h: Likewise.
35560 * inet/ruserpass.c: Likewise.
35561 * libio/iofgets_u.c: Likewise.
35562 * libio/iofgetws_u.c: Likewise.
35563 * locale/programs/ld-identification.c: Likewise.
35564 * locale/programs/ld-time.c: Likewise.
35565 * mach/msg-destroy.c: Likewise.
35566 * nss/nss_files/files-netgrp.c: Likewise.
35567 * resolv/res_data.c: Likewise.
35568 * soft-fp/op-1.h: Likewise.
35569 * soft-fp/op-2.h: Likewise.
35570 * soft-fp/op-4.h: Likewise.
35571 * soft-fp/op-common.h: Likewise.
35572 * stdio-common/printf_fphex.c: Likewise.
35573 * stdlib/strtod_l.c: Likewise.
35574 * sunrpc/rpc/clnt.h: Likewise.
35575 * sysdeps/generic/framestate.c: Likewise.
35576 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35577 * sysdeps/i386/bsd-setjmp.S: Likewise.
35578 * sysdeps/i386/__longjmp.S: Likewise.
35579 * sysdeps/i386/setjmp.S: Likewise.
35580 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35583 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35590 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35594 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35595 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35596 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35597 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35598 * sysdeps/ieee754/support.c: Likewise.
35599 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35600 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
35601 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
35602 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
35603 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
35604 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
35605 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
35606 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
35607 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
35608 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
35609 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
35610 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
35611 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
35612 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
35613 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
35614 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
35615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35618 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
35620 * posix/transbug.c: Remove executable mode.
35622 2013-06-05 Joseph Myers <joseph@codesourcery.com>
35624 * crypt/speeds.c: Remove trailing whitespace.
35625 * dlfcn/default.c: Likewise.
35626 * elf/ifuncdep2.c: Likewise.
35627 * elf/ifuncmain1.c: Likewise.
35628 * elf/ifuncmain1vis.c: Likewise.
35629 * elf/testobj.h: Likewise.
35630 * elf/tst-stackguard1.c: Likewise.
35631 * gmon/sys/gmon.h: Likewise.
35632 * hurd/hurdmsg.c: Likewise.
35633 * hurd/new-fd.c: Likewise.
35634 * hurd/ports-get.c: Likewise.
35635 * iconvdata/ibm1008_420.c: Likewise.
35636 * inet/tst-getni1.c: Likewise.
35637 * inet/tst-getni2.c: Likewise.
35638 * libio/ioungetc.c: Likewise.
35639 * libio/wfiledoalloc.c: Likewise.
35640 * manual/libm-err-tab.pl: Likewise.
35641 * math/w_dremf.c: Likewise.
35642 * misc/ftruncate.c: Likewise.
35643 * posix/bug-glob2.c: Likewise.
35644 * posix/tst-pcre.c: Likewise.
35645 * posix/wait4.c: Likewise.
35646 * resolv/README: Likewise.
35647 * resolv/res_debug.h: Likewise.
35648 * resolv/tst-inet_ntop.c: Likewise.
35649 * setjmp/bug269-setjmp.c: Likewise.
35650 * soft-fp/extended.h: Likewise.
35651 * soft-fp/op-1.h: Likewise.
35652 * soft-fp/op-2.h: Likewise.
35653 * soft-fp/op-4.h: Likewise.
35654 * soft-fp/op-8.h: Likewise.
35655 * soft-fp/testit.c: Likewise.
35656 * stdio-common/bug16.c: Likewise.
35657 * stdlib/random.c: Likewise.
35658 * sunrpc/rpcsvc/rquota.x: Likewise.
35659 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
35660 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35662 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35666 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35667 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35671 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35686 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35688 * sysdeps/ieee754/s_lib_version.c: Likewise.
35689 * sysdeps/mach/hurd/check_fds.c: Likewise.
35690 * sysdeps/mach/hurd/getsockname.c: Likewise.
35691 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
35692 * sysdeps/mach/hurd/recvfrom.c: Likewise.
35693 * sysdeps/powerpc/bits/link.h: Likewise.
35694 * sysdeps/powerpc/dl-procinfo.c: Likewise.
35695 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
35696 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
35697 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
35698 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35699 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35700 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
35701 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35702 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
35703 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35704 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35705 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35706 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
35707 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35708 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35709 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35710 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35714 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35715 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
35716 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35717 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35718 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
35719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35723 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35727 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35728 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
35729 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35730 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
35731 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35732 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35733 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
35734 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
35735 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
35736 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
35737 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
35738 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35739 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
35740 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
35741 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35742 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
35743 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
35744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35746 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35747 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35748 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
35749 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35750 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35751 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35752 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
35753 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
35755 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
35756 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
35757 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35758 * sysdeps/powerpc/sysdep.h: Likewise.
35759 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35760 * sysdeps/s390/s390-64/sub_n.S: Likewise.
35761 * sysdeps/sh/dl-trampoline.S: Likewise.
35762 * sysdeps/sh/memset.S: Likewise.
35763 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
35764 * sysdeps/sh/strlen.S: Likewise.
35765 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
35766 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
35767 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
35768 * sysdeps/sparc/sparc32/rem.S: Likewise.
35769 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
35770 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
35771 * sysdeps/sparc/sparc32/strchr.S: Likewise.
35772 * sysdeps/sparc/sparc32/udiv.S: Likewise.
35773 * sysdeps/sparc/sparc32/urem.S: Likewise.
35774 * sysdeps/sparc/sparc64/add_n.S: Likewise.
35775 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35776 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
35777 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
35778 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
35779 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
35780 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35781 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
35782 * sysdeps/unix/bsd/times.c: Likewise.
35783 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
35784 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
35785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35788 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
35789 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35790 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
35791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
35792 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
35793 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
35794 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35795 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
35796 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35797 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35798 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35799 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35800 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
35801 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
35802 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
35803 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
35804 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
35805 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
35807 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
35808 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35809 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
35810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35811 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
35812 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
35813 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
35814 * sysdeps/x86_64/strcspn.S: Likewise.
35816 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35818 * locale/C-translit.h: Revert #include <stdint.h> because this is a
35819 generated file. Regenerate properly from gen-translit.pl.
35820 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
35821 locale/C-translit.h.
35823 2013-06-05 Andreas Schwab <schwab@suse.de>
35826 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
35827 week as 6 instead of -1.
35828 * time/tst-strptime.c (day_tests): Add test case.
35830 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35832 * sysdeps/generic/math_private.h
35833 (libc_feholdexcept_setround_53bit): Replace with
35834 libc_feholdsetround_53bit.
35835 (libc_feupdateenv_53bit): Replace with
35836 libc_feresetround_53bit.
35837 (SET_RESTORE_ROUND_53BIT): Adjust.
35839 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35841 * string/test-strchrnul.c: Add copyright header.
35843 * posix/tst-getaddrinfo4.c: Increase test timeout.
35845 2013-06-03 Carlos O'Donell <carlos@redhat.com>
35848 * math/libm-test.inc (MAX_EXP): Remove
35850 (ulp): Use MIN_EXP - MANT_DIG.
35851 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
35853 2013-05-31 Carlos O'Donell <carlos@redhat.com>
35855 * po/be.po: Revert last change.
35856 * po/zh_CN.po: Likewise.
35857 * po/header.pot: Likewise.
35859 2013-05-31 Joseph Myers <joseph@codesourcery.com>
35861 * Makefile ($(common-objpfx)linkobj/libc.so): Define
35862 link-libc-deps to empty as target-specific variable.
35863 * Makerules (link-libc-args): New variable.
35864 (libc-for-link): Likewise.
35865 (link-libc-deps): Likewise.
35866 (lib%.so): Depend on $(link-libc-deps). Link with
35868 (build-module): Link with $(link-libc-args).
35869 (build-module-asneeded): Likewise.
35870 (build-module-helper-objlist): Filter out $(link-libc-deps) from
35872 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
35873 target-specific variable.
35874 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
35875 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
35876 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
35878 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
35880 ($(objpfx)libpcprofile.so): Likewise.
35881 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
35883 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
35884 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
35885 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
35887 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
35888 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
35889 * login/Makefile ($(objpfx)libutil.so): Likewise.
35890 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
35891 * math/Makefile ($(objpfx)libm.so): Likewise.
35892 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
35893 $(objpfx)libnsl.so): Define libc-for-link as target-specific
35894 variable instead of depending directly on libc.
35895 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
35896 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
35898 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
35900 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
35901 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
35902 ($(objpfx)libanl.so): Likewise.
35903 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
35905 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
35907 * sysdeps/i386/fpu/Makefile: Remove file.
35908 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
35909 ($(objpfx)libm.so): Remove dependency on ld.so.
35911 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
35914 * nis/yp_xdr.c (XDRMAXNAME): Define.
35915 (XDRMAXRECORD): Define.
35916 (xdr_domainname): Use XDRMAXNAME.
35917 (xdr_mapname): Likewise.
35918 (xdr_peername): Likewise.
35919 (xdr_keydat): Use XDRMAXRECORD.
35920 (xdr_valdat): Likewise.
35922 2013-05-30 Jeff Law <law@redhat.com>
35925 * manual/errno.texi (ESTALE): Update to account for more than
35926 just NFS file systems.
35927 * sysdeps/gnu/errlist.c: Regenerated.
35929 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35932 * elf/Makefile (tests): Add tst-null-argv.
35933 (modules-names): Add tst-null-argv-lib.
35934 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
35935 (tst-null-argv-ENV): Set environment for tst-null-argv.
35936 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
35937 (RTLD_PROGNAME): New macro.
35938 * elf/tst-null-argv.c: New test case.
35939 * elf/tst-null-argv-lib.c: Library for test case.
35940 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
35941 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
35942 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
35943 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
35944 * elf/dl-init.c (call_init): Likewise.
35945 (_dl_init): Likewise.
35946 * elf/dl-load.c (print_search_path): Likewise.
35947 (_dl_map_object): Likewise.
35948 * elf/dl-lookup.c (do_lookup_x): Likewise.
35949 (add_dependency): Likewise.
35950 (_dl_lookup_symbol_x): Likewise.
35951 (_dl_debug_bindings): Likewise.
35952 * elf/dl-open.c (_dl_show_scope): Likewise.
35953 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35954 * elf/dl-version.c (match_symbol): Likewise.
35955 (_dl_check_map_versions): Likewise.
35956 * elf/rtld.c (dl_main): Likewise.
35957 (print_unresolved): Use RTLD_PROGNAME.
35958 (print_missing_version): Likewise.
35959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35960 (elf_machine_rela): Likewise.
35961 * sysdeps/powerpc/powerpc32/dl-machine.c
35962 (__process_machine_rela): Likewise.
35963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35970 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35976 2013-05-28 Carlos O'Donell <carlos@redhat.com>
35978 * po/be.po: Add descriptive title.
35979 * po/zh_CN.po: Likewise.
35980 * po/header.pot: Likewise.
35982 2013-05-28 Mike Frysinger <vapier@gentoo.org>
35984 * locale/programs/locarchive.c (create_archive): Inlucde fname in
35986 (enlarge_archive): Likewise.
35988 2013-05-28 Ben North <ben@redfrontdoor.org>
35990 * manual/arith.texi (frexp): It is the magnitude of the return
35991 value which lies in [0.5, 1), not the return value itself.
35993 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35997 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35999 * stdio-common/bug26.c (main): Correct fscanf template.
36001 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36002 declare _dl_skip_args.
36004 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36007 * manual/platform.texi: Add missing @end deftypefun.
36009 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36012 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36013 bit of mantissa of 2^16382.
36014 * math/libm-test.inc (hypot_test_data): Add more tests.
36016 * math/libm-test.inc: Add drem and pow10 to list of tested
36018 (pow10_test): New function.
36019 (drem_test): Likewise.
36020 (drem_test_tonearest): Likewise.
36021 (drem_test_towardzero): Likewise.
36022 (drem_test_downward): Likewise.
36023 (drem_test_upward): Likewise.
36024 (main): Call the new functions.
36026 * math/libm-test.inc (finite_test_data): Remove.
36027 (finite_test): Run tests from isfinite_test_data.
36028 (gamma_test_data): Remove.
36029 (gamma_test): Run tests from lgamma_test_data.
36030 * sysdeps/i386/fpu/libm-test-ulps: Update.
36031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36033 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36035 * manual/platform.texi: Add PowerPC PPR function set documentation.
36036 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36039 2013-05-24 Carlos O'Donell <carlos@redhat.com>
36041 * math/libm-test.inc (MAX_EXP): Define.
36043 (ulp): New function.
36044 (check_float_internal): Use ULPDIFF.
36045 (cpow_test): Disable failing test.
36046 (check_ulp): Test ulp() implemetnation.
36047 (main): Call check_ulp before starting tests.
36049 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36051 * math/gen-libm-test.pl (generate_testfile): Do not handle
36052 START_DATA and END_DATA.
36053 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36055 (acos_tonearest_test_data): Likewise.
36056 (acos_towardzero_test_data): Likewise.
36057 (acos_downward_test_data): Likewise.
36058 (acos_upward_test_data): Likewise.
36059 (acosh_test_data): Likewise.
36060 (asin_test_data): Likewise.
36061 (asin_tonearest_test_data): Likewise.
36062 (asin_towardzero_test_data): Likewise.
36063 (asin_downward_test_data): Likewise.
36064 (asin_upward_test_data): Likewise.
36065 (asinh_test_data): Likewise.
36066 (atan_test_data): Likewise.
36067 (atanh_test_data): Likewise.
36068 (atan2_test_data): Likewise.
36069 (cabs_test_data): Likewise.
36070 (cacos_test_data): Likewise.
36071 (cacosh_test_data): Likewise.
36072 (carg_test_data): Likewise.
36073 (casin_test_data): Likewise.
36074 (casinh_test_data): Likewise.
36075 (catan_test_data): Likewise.
36076 (catanh_test_data): Likewise.
36077 (cbrt_test_data): Likewise.
36078 (ccos_test_data): Likewise.
36079 (ccosh_test_data): Likewise.
36080 (ceil_test_data): Likewise.
36081 (cexp_test_data): Likewise.
36082 (cimag_test_data): Likewise.
36083 (clog_test_data): Likewise.
36084 (clog10_test_data): Likewise.
36085 (conj_test_data): Likewise.
36086 (copysign_test_data): Likewise.
36087 (cos_test_data): Likewise.
36088 (cos_tonearest_test_data): Likewise.
36089 (cos_towardzero_test_data): Likewise.
36090 (cos_downward_test_data): Likewise.
36091 (cos_upward_test_data): Likewise.
36092 (cosh_test_data): Likewise.
36093 (cosh_tonearest_test_data): Likewise.
36094 (cosh_towardzero_test_data): Likewise.
36095 (cosh_downward_test_data): Likewise.
36096 (cosh_upward_test_data): Likewise.
36097 (cpow_test_data): Likewise.
36098 (cproj_test_data): Likewise.
36099 (creal_test_data): Likewise.
36100 (csin_test_data): Likewise.
36101 (csinh_test_data): Likewise.
36102 (csqrt_test_data): Likewise.
36103 (ctan_test_data): Likewise.
36104 (ctan_tonearest_test_data): Likewise.
36105 (ctan_towardzero_test_data): Likewise.
36106 (ctan_downward_test_data): Likewise.
36107 (ctan_upward_test_data): Likewise.
36108 (ctanh_test_data): Likewise.
36109 (ctanh_tonearest_test_data): Likewise.
36110 (ctanh_towardzero_test_data): Likewise.
36111 (ctanh_downward_test_data): Likewise.
36112 (ctanh_upward_test_data): Likewise.
36113 (erf_test_data): Likewise.
36114 (erfc_test_data): Likewise.
36115 (exp_test_data): Likewise.
36116 (exp_tonearest_test_data): Likewise.
36117 (exp_towardzero_test_data): Likewise.
36118 (exp_downward_test_data): Likewise.
36119 (exp_upward_test_data): Likewise.
36120 (exp10_test_data): Likewise.
36121 (exp2_test_data): Likewise.
36122 (expm1_test_data): Likewise.
36123 (fabs_test_data): Likewise.
36124 (fdim_test_data): Likewise.
36125 (finite_test_data): Likewise.
36126 (floor_test_data): Likewise.
36127 (fma_test_data): Likewise.
36128 (fma_towardzero_test_data): Likewise.
36129 (fma_downward_test_data): Likewise.
36130 (fma_upward_test_data): Likewise.
36131 (fmax_test_data): Likewise.
36132 (fmin_test_data): Likewise.
36133 (fmod_test_data): Likewise.
36134 (fpclassify_test_data): Likewise.
36135 (frexp_test_data): Likewise.
36136 (gamma_test_data): Likewise.
36137 (hypot_test_data): Likewise.
36138 (ilogb_test_data): Likewise.
36139 (isfinite_test_data): Likewise.
36140 (isgreater_test_data): Likewise.
36141 (isgreaterequal_test_data): Likewise.
36142 (isinf_test_data): Likewise.
36143 (isless_test_data): Likewise.
36144 (islessequal_test_data): Likewise.
36145 (islessgreater_test_data): Likewise.
36146 (isnan_test_data): Likewise.
36147 (isnormal_test_data): Likewise.
36148 (issignaling_test_data): Likewise.
36149 (isunordered_test_data): Likewise.
36150 (j0_test_data): Likewise.
36151 (j1_test_data): Likewise.
36152 (jn_test_data): Likewise.
36153 (ldexp_test_data): Likewise.
36154 (lgamma_test_data): Likewise.
36155 (lrint_test_data): Likewise.
36156 (lrint_tonearest_test_data): Likewise.
36157 (lrint_towardzero_test_data): Likewise.
36158 (lrint_downward_test_data): Likewise.
36159 (lrint_upward_test_data): Likewise.
36160 (llrint_test_data): Likewise.
36161 (llrint_tonearest_test_data): Likewise.
36162 (llrint_towardzero_test_data): Likewise.
36163 (llrint_downward_test_data): Likewise.
36164 (llrint_upward_test_data): Likewise.
36165 (log_test_data): Likewise.
36166 (log10_test_data): Likewise.
36167 (log1p_test_data): Likewise.
36168 (log2_test_data): Likewise.
36169 (logb_test_data): Likewise.
36170 (logb_downward_test_data): Likewise.
36171 (lround_test_data): Likewise.
36172 (llround_test_data): Likewise.
36173 (modf_test_data): Likewise.
36174 (nearbyint_test_data): Likewise.
36175 (nextafter_test_data): Likewise.
36176 (nexttoward_test_data): Likewise.
36177 (pow_test_data): Likewise.
36178 (pow_tonearest_test_data): Likewise.
36179 (pow_towardzero_test_data): Likewise.
36180 (pow_downward_test_data): Likewise.
36181 (pow_upward_test_data): Likewise.
36182 (remainder_test_data): Likewise.
36183 (remainder_tonearest_test_data): Likewise.
36184 (remainder_towardzero_test_data): Likewise.
36185 (remainder_downward_test_data): Likewise.
36186 (remainder_upward_test_data): Likewise.
36187 (remquo_test_data): Likewise.
36188 (rint_test_data): Likewise.
36189 (rint_tonearest_test_data): Likewise.
36190 (rint_towardzero_test_data): Likewise.
36191 (rint_downward_test_data): Likewise.
36192 (rint_upward_test_data): Likewise.
36193 (round_test_data): Likewise.
36194 (scalb_test_data): Likewise.
36195 (scalbn_test_data): Likewise.
36196 (scalbln_test_data): Likewise.
36197 (signbit_test_data): Likewise.
36198 (sin_test_data): Likewise.
36199 (sin_tonearest_test_data): Likewise.
36200 (sin_towardzero_test_data): Likewise.
36201 (sin_downward_test_data): Likewise.
36202 (sin_upward_test_data): Likewise.
36203 (sincos_test_data): Likewise.
36204 (sinh_test_data): Likewise.
36205 (sinh_tonearest_test_data): Likewise.
36206 (sinh_towardzero_test_data): Likewise.
36207 (sinh_downward_test_data): Likewise.
36208 (sinh_upward_test_data): Likewise.
36209 (sqrt_test_data): Likewise.
36210 (tan_test_data): Likewise.
36211 (tan_tonearest_test_data): Likewise.
36212 (tan_towardzero_test_data): Likewise.
36213 (tan_downward_test_data): Likewise.
36214 (tan_upward_test_data): Likewise.
36215 (tanh_test_data): Likewise.
36216 (tgamma_test_data): Likewise.
36217 (trunc_test_data): Likewise.
36218 (y0_test_data): Likewise.
36219 (y1_test_data): Likewise.
36220 (yn_test_data): Likewise.
36221 (significand_test_data): Likewise.
36223 * math/gen-libm-test.pl (@functions): Remove variable.
36224 (generate_testfile): Don't handle START and END lines.
36225 * math/libm-test.inc (START): New macro.
36227 (END_COMPLEX): Likewise.
36228 (acos_test): Use END macro without arguments.
36229 (acos_test_tonearest): Likewise.
36230 (acos_test_towardzero): Likewise.
36231 (acos_test_downward): Likewise.
36232 (acos_test_upward): Likewise.
36233 (acosh_test): Likewise.
36234 (asin_test): Likewise.
36235 (asin_test_tonearest): Likewise.
36236 (asin_test_towardzero): Likewise.
36237 (asin_test_downward): Likewise.
36238 (asin_test_upward): Likewise.
36239 (asinh_test): Likewise.
36240 (atan_test): Likewise.
36241 (atanh_test): Likewise.
36242 (atan2_test): Likewise.
36243 (cabs_test): Likewise.
36244 (cacos_test): Use END_COMPLEX macro without arguments.
36245 (cacosh_test): Likewise.
36246 (carg_test): Use END macro without arguments.
36247 (casin_test): Use END_COMPLEX macro without arguments.
36248 (casinh_test): Likewise.
36249 (catan_test): Likewise.
36250 (catanh_test): Likewise.
36251 (cbrt_test): Use END macro without arguments.
36252 (ccos_test): Use END_COMPLEX macro without arguments.
36253 (ccosh_test): Likewise.
36254 (ceil_test): Use END macro without arguments.
36255 (cexp_test): Use END_COMPLEX macro without arguments.
36256 (cimag_test): Use END macro without arguments.
36257 (clog_test): Use END_COMPLEX macro without arguments.
36258 (clog10_test): Likewise.
36259 (conj_test): Likewise.
36260 (copysign_test): Use END macro without arguments.
36261 (cos_test): Likewise.
36262 (cos_test_tonearest): Likewise.
36263 (cos_test_towardzero): Likewise.
36264 (cos_test_downward): Likewise.
36265 (cos_test_upward): Likewise.
36266 (cosh_test): Likewise.
36267 (cosh_test_tonearest): Likewise.
36268 (cosh_test_towardzero): Likewise.
36269 (cosh_test_downward): Likewise.
36270 (cosh_test_upward): Likewise.
36271 (cpow_test): Use END_COMPLEX macro without arguments.
36272 (cproj_test): Likewise.
36273 (creal_test): Use END macro without arguments.
36274 (csin_test): Use END_COMPLEX macro without arguments.
36275 (csinh_test): Likewise.
36276 (csqrt_test): Likewise.
36277 (ctan_test): Likewise.
36278 (ctan_test_tonearest): Likewise.
36279 (ctan_test_towardzero): Likewise.
36280 (ctan_test_downward): Likewise.
36281 (ctan_test_upward): Likewise.
36282 (ctanh_test): Likewise.
36283 (ctanh_test_tonearest): Likewise.
36284 (ctanh_test_towardzero): Likewise.
36285 (ctanh_test_downward): Likewise.
36286 (ctanh_test_upward): Likewise.
36287 (erf_test): Use END macro without arguments.
36288 (erfc_test): Likewise.
36289 (exp_test): Likewise.
36290 (exp_test_tonearest): Likewise.
36291 (exp_test_towardzero): Likewise.
36292 (exp_test_downward): Likewise.
36293 (exp_test_upward): Likewise.
36294 (exp10_test): Likewise.
36295 (exp2_test): Likewise.
36296 (expm1_test): Likewise.
36297 (fabs_test): Likewise.
36298 (fdim_test): Likewise.
36299 (finite_test): Likewise.
36300 (floor_test): Likewise.
36301 (fma_test): Likewise.
36302 (fma_test_towardzero): Likewise.
36303 (fma_test_downward): Likewise.
36304 (fma_test_upward): Likewise.
36305 (fmax_test): Likewise.
36306 (fmin_test): Likewise.
36307 (fmod_test): Likewise.
36308 (fpclassify_test): Likewise.
36309 (frexp_test): Likewise.
36310 (gamma_test): Likewise.
36311 (hypot_test): Likewise.
36312 (ilogb_test): Likewise.
36313 (isfinite_test): Likewise.
36314 (isgreater_test): Likewise.
36315 (isgreaterequal_test): Likewise.
36316 (isinf_test): Likewise.
36317 (isless_test): Likewise.
36318 (islessequal_test): Likewise.
36319 (islessgreater_test): Likewise.
36320 (isnan_test): Likewise.
36321 (isnormal_test): Likewise.
36322 (issignaling_test): Likewise.
36323 (isunordered_test): Likewise.
36324 (j0_test): Likewise.
36325 (j1_test): Likewise.
36326 (jn_test): Likewise.
36327 (ldexp_test): Likewise.
36328 (lgamma_test): Likewise.
36329 (lrint_test): Likewise.
36330 (lrint_test_tonearest): Likewise.
36331 (lrint_test_towardzero): Likewise.
36332 (lrint_test_downward): Likewise.
36333 (lrint_test_upward): Likewise.
36334 (llrint_test): Likewise.
36335 (llrint_test_tonearest): Likewise.
36336 (llrint_test_towardzero): Likewise.
36337 (llrint_test_downward): Likewise.
36338 (llrint_test_upward): Likewise.
36339 (log_test): Likewise.
36340 (log10_test): Likewise.
36341 (log1p_test): Likewise.
36342 (log2_test): Likewise.
36343 (logb_test): Likewise.
36344 (logb_test_downward): Likewise.
36345 (lround_test): Likewise.
36346 (llround_test): Likewise.
36347 (modf_test): Likewise.
36348 (nearbyint_test): Likewise.
36349 (nextafter_test): Likewise.
36350 (nexttoward_test): Likewise.
36351 (pow_test): Likewise.
36352 (pow_test_tonearest): Likewise.
36353 (pow_test_towardzero): Likewise.
36354 (pow_test_downward): Likewise.
36355 (pow_test_upward): Likewise.
36356 (remainder_test): Likewise.
36357 (remainder_test_tonearest): Likewise.
36358 (remainder_test_towardzero): Likewise.
36359 (remainder_test_downward): Likewise.
36360 (remainder_test_upward): Likewise.
36361 (remquo_test): Likewise.
36362 (rint_test): Likewise.
36363 (rint_test_tonearest): Likewise.
36364 (rint_test_towardzero): Likewise.
36365 (rint_test_downward): Likewise.
36366 (rint_test_upward): Likewise.
36367 (round_test): Likewise.
36368 (scalb_test): Likewise.
36369 (scalbn_test): Likewise.
36370 (scalbln_test): Likewise.
36371 (signbit_test): Likewise.
36372 (sin_test): Likewise.
36373 (sin_test_tonearest): Likewise.
36374 (sin_test_towardzero): Likewise.
36375 (sin_test_downward): Likewise.
36376 (sin_test_upward): Likewise.
36377 (sincos_test): Likewise.
36378 (sinh_test): Likewise.
36379 (sinh_test_tonearest): Likewise.
36380 (sinh_test_towardzero): Likewise.
36381 (sinh_test_downward): Likewise.
36382 (sinh_test_upward): Likewise.
36383 (sqrt_test): Likewise.
36384 (tan_test): Likewise.
36385 (tan_test_tonearest): Likewise.
36386 (tan_test_towardzero): Likewise.
36387 (tan_test_downward): Likewise.
36388 (tan_test_upward): Likewise.
36389 (tanh_test): Likewise.
36390 (tgamma_test): Likewise.
36391 (trunc_test): Likewise.
36392 (y0_test): Likewise.
36393 (y1_test): Likewise.
36394 (yn_test): Likewise.
36395 (significand_test): Likewise.
36397 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36400 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36402 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36405 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36406 __ppc_mdoio and __ppc_mdoom.
36407 * manual/platform.texi: Document new functions __ppc_yield,
36408 __ppc_mdoio and __ppc_mdoom.
36410 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36412 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36413 (main): Mention "tls" pseudo-hwcap is legacy.
36414 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36416 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36418 * math/gen-libm-test.pl (parse_args): Output only string of
36419 arguments as text for test name, not full call or descriptions of
36420 tests for extra outputs.
36421 (generate_testfile): Do not pass function name to parse_args.
36422 Generate this_func variable from START.
36423 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36425 (struct test_ff_f_data): Likewise.
36426 (test_ff_f_data_nexttoward): Likewise.
36427 (struct test_fi_f_data): Likewise.
36428 (struct test_fl_f_data): Likewise.
36429 (struct test_if_f_data): Likewise.
36430 (struct test_fff_f_data): Likewise.
36431 (struct test_c_f_data): Likewise.
36432 (struct test_f_f1_data): Likewise. Remove field extra_name.
36433 (struct test_fF_f1_data): Likewise.
36434 (struct test_ffI_f1_data): Likewise.
36435 (struct test_c_c_data): Rename test_name field to arg_str.
36436 (struct test_cc_c_data): Likewise.
36437 (struct test_f_i_data): Likewise.
36438 (struct test_ff_i_data): Likewise.
36439 (struct test_f_l_data): Likewise.
36440 (struct test_f_L_data): Likewise.
36441 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36443 (COMMON_TEST_SETUP): New macro.
36444 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36445 (COMMON_TEST_CLEANUP): Likewise.
36446 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36447 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36449 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36450 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
36452 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36453 (RUN_TEST_fff_f): Take argument string. Call new setup and
36455 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36456 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
36458 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36459 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
36461 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36462 (RUN_TEST_fF_f1): Take argument string. Call new setup and
36464 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36465 (RUN_TEST_fI_f1): Take argument string. Call new setup and
36467 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36468 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
36470 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36471 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
36473 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36474 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
36476 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36477 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
36479 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36480 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
36482 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36483 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
36485 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36486 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
36488 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36489 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
36491 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36492 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
36494 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36495 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
36497 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36498 (RUN_TEST_fFF_11): Take argument string. Call new setup and
36500 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36502 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
36504 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36505 to _sifields.sigfault.
36506 (si_addr_lsb): Define new macro.
36507 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36509 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36511 2013-05-03 Carlos O'Donell <carlos at redhat.com>
36514 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36516 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36518 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36519 loading the domain.
36521 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36523 * math/gen-libm-test.pl (parse_args): Do not include expected
36524 result in test name.
36525 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36527 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36528 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36529 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36532 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36534 * benchtests/Makefile: Sort function entries.
36536 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36537 tanh, asinh, acosh, atanh.
36538 * benchtests/acos-inputs: New file.
36539 * benchtests/acosh-inputs: New file.
36540 * benchtests/asin-inputs: New file.
36541 * benchtests/asinh-inputs: New file.
36542 * benchtests/atanh-inputs: New file.
36543 * benchtests/cosh-inputs: New file.
36544 * benchtests/log-inputs: New file.
36545 * benchtests/sinh-inputs: New file.
36546 * benchtests/tanh-inputs: New file.
36548 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
36551 * posix/tst-getaddrinfo4.c: New test.
36552 * posix/Makefile (tests): Add it.
36554 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36557 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36558 when no services were used.
36559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36560 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36562 2013-05-21 Andreas Schwab <schwab@suse.de>
36565 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36566 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36568 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36569 redundant variable declarations and reallocation of buffer when
36570 parsing as IPv6 address. Always set NSS status when called from
36571 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
36572 buffer too small. Correct computation of needed size.
36573 * nss/Makefile (tests): Add test-digits-dots.
36574 * nss/test-digits-dots.c: New test.
36576 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36578 * benchtests/Makefile: Remove instructions for adding
36580 * benchtests/README: New file to explain how to execute and
36581 enhance the benchmark tests.
36583 2013-05-21 Andreas Schwab <schwab@suse.de>
36586 * setjmp/Makefile (tests): Add tst-sigsetjmp.
36587 * setjmp/tst-sigsetjmp.c: New test.
36589 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36591 * sysdeps/x86_64/memset.S (memset): New implementation.
36592 (__bzero): Likewise.
36593 (__memset_tail): New function.
36595 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
36597 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36598 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36599 __memcpy_sse2_unaligned ifunc selection.
36600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36601 Add memcpy-sse2-unaligned.S.
36602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36603 Add: __memcpy_sse2_unaligned.
36605 2013-05-19 Joseph Myers <joseph@codesourcery.com>
36608 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36609 math_force_eval before restoring floating-point envrionment.
36610 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
36611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
36613 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
36615 (__nearbyintl): Use math_force_eval before restoring
36616 floating-point environment.
36617 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
36619 * math/gen-libm-test.pl (special_functions): Remove.
36620 (parse_args): Don't handle TEST_extra. Handle functions with no
36622 * math/libm-test.inc (struct test_sincos_data): Replace with
36623 struct test_fFF_11_data.
36624 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
36625 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
36626 (sincos_test_data): Change element type to struct
36627 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
36628 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
36629 RUN_TEST_LOOP_sincos.
36630 * math/README.libm-test: Don't mention special handling of
36631 individual functions.
36632 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
36633 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36634 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36635 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36636 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36639 * math/gen-libm-test.pl (get_variable): Remove function.
36640 (parse_args): Don't show pointer parameters to call in test
36641 names. Use "extra output N" in test names for extra outputs
36642 rather than naming variables.
36644 2013-05-18 Joseph Myers <joseph@codesourcery.com>
36647 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
36648 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
36649 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
36651 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
36653 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
36656 * math/gen-libm-test.pl (@tests): Remove variable.
36657 ($count): Likewise.
36658 (new_test): Remove function.
36659 (show_exceptions): New function.
36660 (special_functions): Use show_exceptions instead of new_test.
36661 (parse_args): Likewise.
36662 (generate_testfile): Pass only function name in generated call to
36663 print_max_error or print_complex_max_error.
36664 (get_ulps): Do not handle complex tests specially.
36665 (output_test): Rename to ...
36666 (get_all_ulps_for_test): ... this. Return a string rather than
36667 printing to a file. Require ulps to be present.
36668 (output_ulps): Generate arrays rather than #defines.
36669 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
36670 (struct ulp_data): New type.
36671 (BUILD_COMPLEX_ULP): Remove macro.
36672 (compare_ulp_data): New function.
36673 (find_ulps): Likewise.
36674 (find_test_ulps): Likewise.
36675 (find_function_ulps): Likewise.
36676 (find_complex_function_ulps): Likewise.
36677 (print_max_error): Determine allowed ulps using
36678 find_function_ulps.
36679 (print_complex_max_error): Determine allowed ulps using
36680 find_complex_function_ulps.
36681 (check_float_internal): Determine max ulps using find_test_ulps.
36682 (check_float): Do not take max_ulp parameter. Update call to
36683 check_float_internal.
36684 (check_complex): Likewise.
36685 (check_int): Do not take max_ulp parameter.
36686 (check_long): Likewise.
36687 (check_bool): Likewise.
36688 (check_longlong): Likewise.
36689 (struct test_f_f_data): Remove max_ulp field.
36690 (struct test_ff_f_data): Likewise.
36691 (struct test_ff_f_data_nexttoward): Likewise.
36692 (struct test_fi_f_data): Likewise.
36693 (struct test_fl_f_data): Likewise.
36694 (struct test_if_f_data): Likewise.
36695 (struct test_fff_f_data): Likewise.
36696 (struct test_c_f_data): Likewise.
36697 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
36698 (struct test_fF_f1_data): Likewise.
36699 (struct test_ffI_f1_data): Likewise.
36700 (struct test_c_c_data): Remove max_ulp field.
36701 (struct test_cc_c_data): Likewise.
36702 (struct test_f_i_data): Likewise.
36703 (struct test_ff_i_data): Likewise.
36704 (struct test_f_l_data): Likewise.
36705 (struct test_f_L_data): Likewise.
36706 (struct test_sincos_data): Likewise.
36707 (RUN_TEST_f_f): Do not handle ulps.
36708 (RUN_TEST_LOOP_f_f): Likewise.
36709 (RUN_TEST_2_f): Likewise.
36710 (RUN_TEST_LOOP_2_f): Likewise.
36711 (RUN_TEST_fff_f): Likewise.
36712 (RUN_TEST_LOOP_fff_f): Likewise.
36713 (RUN_TEST_c_f): Likewise.
36714 (RUN_TEST_LOOP_c_f): Likewise.
36715 (RUN_TEST_f_f1): Likewise.
36716 (RUN_TEST_LOOP_f_f1): Likewise.
36717 (RUN_TEST_fF_f1): Likewise.
36718 (RUN_TEST_LOOP_fF_f1): Likewise.
36719 (RUN_TEST_fI_f1): Likewise.
36720 (RUN_TEST_LOOP_fI_f1): Likewise.
36721 (RUN_TEST_ffI_f1): Likewise.
36722 (RUN_TEST_LOOP_ffI_f1): Likewise.
36723 (RUN_TEST_c_c): Likewise.
36724 (RUN_TEST_LOOP_c_c): Likewise.
36725 (RUN_TEST_cc_c): Likewise.
36726 (RUN_TEST_LOOP_cc_c): Likewise.
36727 (RUN_TEST_f_i): Likewise.
36728 (RUN_TEST_LOOP_f_i): Likewise.
36729 (RUN_TEST_f_i_tg): Likewise.
36730 (RUN_TEST_LOOP_f_i_tg): Likewise.
36731 (RUN_TEST_ff_i_tg): Likewise.
36732 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36733 (RUN_TEST_f_b): Likewise.
36734 (RUN_TEST_LOOP_f_b): Likewise.
36735 (RUN_TEST_f_b_tg): Likewise.
36736 (RUN_TEST_LOOP_f_b_tg): Likewise.
36737 (RUN_TEST_f_l): Likewise.
36738 (RUN_TEST_LOOP_f_l): Likewise.
36739 (RUN_TEST_f_L): Likewise.
36740 (RUN_TEST_LOOP_f_L): Likewise.
36741 (RUN_TEST_sincos): Likewise.
36742 (RUN_TEST_LOOP_sincos): Likewise.
36744 2013-05-17 Joseph Myers <joseph@codesourcery.com>
36748 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
36749 main case of finite arguments, set rounding mode to FE_TONEAREST
36750 and discard exceptions.
36751 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
36753 (remainder_tonearest_test_data): New variable.
36754 (remainder_test_tonearest): New function.
36755 (remainder_towardzero_test_data): New variable.
36756 (remainder_test_towardzero): New function.
36757 (remainder_downward_test_data): New variable.
36758 (remainder_test_downward): New function.
36759 (remainder_upward_test_data): New variable.
36760 (remainder_test_upward): New function.
36761 (main): Call the new test functions.
36763 * math/libm-test.inc (struct test_f_f1_data): Remove field
36765 (struct test_fF_f1_data): Likewise.
36766 (struct test_ffI_f1_data): Likewise.
36767 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
36768 based on value of EXTRA_EXPECTED.
36769 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36770 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
36771 EXTRA_VAR based on value of EXTRA_EXPECTED.
36772 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36773 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
36774 EXTRA_VAR based on value of EXTRA_EXPECTED.
36775 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36776 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
36777 EXTRA_VAR based on value of EXTRA_EXPECTED.
36778 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36779 * math/gen-libm-test.pl (parse_args): Don't output initializers
36780 for extra output values.
36782 * math/libm-test.inc (check_int): Expect result to be exactly
36783 equal to expected value and do not handle ulps.
36784 (check_long): Likewise.
36785 (check_longlong): Likewise.
36787 * math/libm-test.inc (ceil_test_data): Test for "inexact"
36789 (cimag_test_data): Likewise.
36790 (conj_test_data): Likewise.
36791 (copysign_test_data): Likewise.
36792 (cproj_test_data): Likewise.
36793 (creal_test_data): Likewise.
36794 (fabs_test_data): Likewise.
36795 (fdim_test_data): Likewise.
36796 (finite_test_data): Likewise.
36797 (floor_test_data): Likewise.
36798 (fmax_test_data): Likewise.
36799 (fmin_test_data): Likewise.
36800 (fmod_test_data): Likewise.
36801 (fpclassify_test_data): Likewise.
36802 (frexp_test_data): Likewise.
36803 (ilogb_test_data): Likewise.
36804 (isfinite_test_data): Likewise.
36805 (isgreater_test_data): Likewise.
36806 (isgreaterequal_test_data): Likewise.
36807 (isinf_test_data): Likewise.
36808 (isless_test_data): Likewise.
36809 (islessequal_test_data): Likewise.
36810 (islessgreater_test_data): Likewise.
36811 (isnan_test_data): Likewise.
36812 (isnormal_test_data): Likewise.
36813 (issignaling_test_data): Likewise.
36814 (isunordered_test_data): Likewise.
36815 (ldexp_test_data): Likewise.
36816 (lrint_test_data): Likewise.
36817 (lrint_test_data) [TEST_FLOAT]: Disable one test.
36818 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
36819 (lrint_tonearest_test_data): Test for "inexact" exceptions.
36820 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36821 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
36822 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36824 (lrint_towardzero_test_data): Test for "inexact" exceptions.
36825 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36826 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
36827 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
36829 (lrint_downward_test_data): Test for "inexact" exceptions.
36830 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36831 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
36832 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
36834 (lrint_upward_test_data): Test for "inexact" exceptions.
36835 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
36837 (llrint_test_data): Test for "inexact" exceptions.
36838 (llrint_test_data) [TEST_FLOAT]: Disable one test.
36839 (llrint_tonearest_test_data): Test for "inexact" exceptions.
36840 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
36841 (llrint_towardzero_test_data): Test for "inexact" exceptions.
36842 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
36843 (llrint_downward_test_data): Test for "inexact" exceptions.
36844 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
36845 (llrint_upward_test_data): Test for "inexact" exceptions.
36846 (logb_test_data): Likewise.
36847 (logb_downward_test_data): Likewise.
36848 (nextafter_test_data): Likewise.
36849 (nexttoward_test_data): Likewise.
36850 (remainder_test_data): Likewise.
36851 (remquo_test_data): Likewise.
36852 (scalbn_test_data): Likewise.
36853 (scalbln_test_data): Likewise.
36854 (signbit_test_data): Likewise.
36855 (sqrt_test_data): Likewise.
36856 (significand_test_data): Likewise.
36858 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36861 * benchtests/bench-modf.c (struct args): Mark arg0 as
36863 * scripts/bench.pl: Mark members of struct args as volatile.
36865 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36868 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
36869 negative infinity on POWER6 or lower.
36870 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
36872 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36875 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
36876 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
36877 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
36878 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
36879 (_FP_SETQNAN): New macro.
36880 (_FP_SETQNAN_SEMIRAW): Likewise.
36881 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
36882 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
36883 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
36884 (FP_EXTEND): Use _FP_FRAC_SNANP.
36885 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
36886 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
36888 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
36893 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36895 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
36896 with DIVIDE_BY_ZERO_EXCEPTION.
36897 (gamma_test_data): Likewise.
36898 (lgamma_test_data): Likewise.
36899 (log_test_data): Likewise.
36900 (log10_test_data): Likewise.
36901 (log2_test_data): Likewise.
36902 (tgamma_test_data): Likewise.
36904 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
36905 (acos_test_tonearest): Likewise.
36906 (acos_test_towardzero): Likewise.
36907 (acos_test_downward): Likewise.
36908 (acos_test_upward): Likewise.
36909 (acosh_test): Likewise.
36910 (asin_test): Likewise.
36911 (asin_test_tonearest): Likewise.
36912 (asin_test_towardzero): Likewise.
36913 (asin_test_downward): Likewise.
36914 (asin_test_upward): Likewise.
36915 (asinh_test): Likewise.
36916 (atan_test): Likewise.
36917 (atanh_test): Likewise.
36918 (atan2_test): Likewise.
36919 (cabs_test): Likewise.
36920 (cacos_test): Likewise.
36921 (cacosh_test): Likewise.
36922 (casin_test): Likewise.
36923 (casinh_test): Likewise.
36924 (catan_test): Likewise.
36925 (catanh_test): Likewise.
36926 (cbrt_test): Likewise.
36927 (ccos_test): Likewise.
36928 (ccosh_test): Likewise.
36929 (cexp_test): Likewise.
36930 (clog_test): Likewise.
36931 (clog10_test): Likewise.
36932 (cos_test): Likewise.
36933 (cos_test_tonearest): Likewise.
36934 (cos_test_towardzero): Likewise.
36935 (cos_test_downward): Likewise.
36936 (cos_test_upward): Likewise.
36937 (cosh_test): Likewise.
36938 (cosh_test_tonearest): Likewise.
36939 (cosh_test_towardzero): Likewise.
36940 (cosh_test_downward): Likewise.
36941 (cosh_test_upward): Likewise.
36942 (cpow_test): Likewise.
36943 (csin_test): Likewise.
36944 (csinh_test): Likewise.
36945 (csqrt_test): Likewise.
36946 (ctan_test): Likewise.
36947 (ctan_test_tonearest): Likewise.
36948 (ctan_test_towardzero): Likewise.
36949 (ctan_test_downward): Likewise.
36950 (ctan_test_upward): Likewise.
36951 (ctanh_test): Likewise.
36952 (ctanh_test_tonearest): Likewise.
36953 (ctanh_test_towardzero): Likewise.
36954 (ctanh_test_downward): Likewise.
36955 (ctanh_test_upward): Likewise.
36956 (erf_test): Likewise.
36957 (erfc_test): Likewise.
36958 (exp_test): Likewise.
36959 (exp_test_tonearest): Likewise.
36960 (exp_test_towardzero): Likewise.
36961 (exp_test_downward): Likewise.
36962 (exp_test_upward): Likewise.
36963 (exp10_test): Likewise.
36964 (exp2_test): Likewise.
36965 (expm1_test): Likewise.
36966 (fmod_test): Likewise.
36967 (gamma_test): Likewise.
36968 (hypot_test): Likewise.
36969 (j0_test): Likewise.
36970 (j1_test): Likewise.
36971 (jn_test): Likewise.
36972 (lgamma_test): Likewise.
36973 (log_test): Likewise.
36974 (log10_test): Likewise.
36975 (log1p_test): Likewise.
36976 (log2_test): Likewise.
36977 (logb_test_downward): Likewise.
36978 (pow_test): Likewise.
36979 (pow_test_tonearest): Likewise.
36980 (pow_test_towardzero): Likewise.
36981 (pow_test_downward): Likewise.
36982 (pow_test_upward): Likewise.
36983 (remainder_test): Likewise.
36984 (remquo_test): Likewise.
36985 (sin_test): Likewise.
36986 (sin_test_tonearest): Likewise.
36987 (sin_test_towardzero): Likewise.
36988 (sin_test_downward): Likewise.
36989 (sin_test_upward): Likewise.
36990 (sincos_test): Likewise.
36991 (sinh_test): Likewise.
36992 (sinh_test_tonearest): Likewise.
36993 (sinh_test_towardzero): Likewise.
36994 (sinh_test_downward): Likewise.
36995 (sinh_test_upward): Likewise.
36996 (sqrt_test): Likewise.
36997 (tan_test): Likewise.
36998 (tan_test_tonearest): Likewise.
36999 (tan_test_towardzero): Likewise.
37000 (tan_test_downward): Likewise.
37001 (tan_test_upward): Likewise.
37002 (tanh_test): Likewise.
37003 (tgamma_test): Likewise.
37004 (y0_test): Likewise.
37005 (y1_test): Likewise.
37006 (yn_test): Likewise.
37008 * math/gen-libm-test.pl (adjust_arg): Remove function.
37009 (special_function): Remove argument $in_func. Only handle
37010 generating output for tables of tests, not inside functions.
37011 (parse_args): Likewise.
37012 (generate_testfile): Remove variable $in_func. Update call to
37014 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37015 (MINUS_ZERO_INIT): Rename macro to minus_zero.
37016 (PLUS_INFTY_INIT): Rename macro to plus_infty.
37017 (MINUS_INFTY_INIT): Rename macro to minus_infty.
37018 (QNAN_VALUE_INIT): Rename macro to qnan_value.
37019 (MAX_VALUE_INIT): Rename macro to max_value.
37020 (MIN_VALUE_INIT): Rename macro to min_value.
37021 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37022 (plus_zero): Remove variable.
37023 (minus_zero): Likewise.
37024 (plus_infty): Likewise.
37025 (minus_infty): Likewise.
37026 (qnan_value): Likewise.
37027 (max_value): Likewise.
37028 (min_value): Likewise.
37029 (min_subnorm_value): Likewise.
37031 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37033 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37034 uint64_t or uint32_t usage.
37035 * crypt/sha256-block.c: Likewise.
37036 * crypt/sha256-crypt.c: Likewise.
37037 * crypt/sha256.c: Likewise.
37038 * crypt/sha512-block.c: Likewise.
37039 * crypt/sha512-crypt.c: Likewise.
37040 * crypt/sha512.c: Likewise.
37041 * debug/backtrace-tst.c: Likewise.
37042 * debug/pcprofiledump.c: Likewise.
37043 * elf/cache.c: Likewise.
37044 * elf/dl-cache.c: Likewise.
37045 * elf/dl-misc.c: Likewise.
37046 * elf/dl-profile.c: Likewise.
37047 * elf/dl-support.c: Likewise.
37048 * elf/ldconfig.c: Likewise.
37049 * elf/sprof.c: Likewise.
37050 * iconv/dummy-repertoire.c: Likewise.
37051 * iconv/iconv_charmap.c: Likewise.
37052 * iconv/skeleton.c: Likewise.
37053 * iconvdata/8bit-generic.c: Likewise.
37054 * iconvdata/cp737.h: Likewise.
37055 * iconvdata/cp775.h: Likewise.
37056 * iconvdata/ibm1008.h: Likewise.
37057 * iconvdata/ibm1025.h: Likewise.
37058 * iconvdata/ibm1046.h: Likewise.
37059 * iconvdata/ibm1097.h: Likewise.
37060 * iconvdata/ibm1112.h: Likewise.
37061 * iconvdata/ibm1122.h: Likewise.
37062 * iconvdata/ibm1123.h: Likewise.
37063 * iconvdata/ibm1124.h: Likewise.
37064 * iconvdata/ibm1129.h: Likewise.
37065 * iconvdata/ibm1130.h: Likewise.
37066 * iconvdata/ibm1132.h: Likewise.
37067 * iconvdata/ibm1133.h: Likewise.
37068 * iconvdata/ibm1137.h: Likewise.
37069 * iconvdata/ibm1140.h: Likewise.
37070 * iconvdata/ibm1141.h: Likewise.
37071 * iconvdata/ibm1142.h: Likewise.
37072 * iconvdata/ibm1143.h: Likewise.
37073 * iconvdata/ibm1144.h: Likewise.
37074 * iconvdata/ibm1145.h: Likewise.
37075 * iconvdata/ibm1146.h: Likewise.
37076 * iconvdata/ibm1147.h: Likewise.
37077 * iconvdata/ibm1148.h: Likewise.
37078 * iconvdata/ibm1149.h: Likewise.
37079 * iconvdata/ibm1153.h: Likewise.
37080 * iconvdata/ibm1154.h: Likewise.
37081 * iconvdata/ibm1155.h: Likewise.
37082 * iconvdata/ibm1156.h: Likewise.
37083 * iconvdata/ibm1157.h: Likewise.
37084 * iconvdata/ibm1158.h: Likewise.
37085 * iconvdata/ibm1160.h: Likewise.
37086 * iconvdata/ibm1161.h: Likewise.
37087 * iconvdata/ibm1162.h: Likewise.
37088 * iconvdata/ibm1163.h: Likewise.
37089 * iconvdata/ibm1164.h: Likewise.
37090 * iconvdata/ibm1166.h: Likewise.
37091 * iconvdata/ibm1167.h: Likewise.
37092 * iconvdata/ibm12712.h: Likewise.
37093 * iconvdata/ibm1390.h: Likewise.
37094 * iconvdata/ibm1399.h: Likewise.
37095 * iconvdata/ibm16804.h: Likewise.
37096 * iconvdata/ibm4517.h: Likewise.
37097 * iconvdata/ibm4899.h: Likewise.
37098 * iconvdata/ibm4909.h: Likewise.
37099 * iconvdata/ibm4971.h: Likewise.
37100 * iconvdata/ibm5347.h: Likewise.
37101 * iconvdata/ibm803.h: Likewise.
37102 * iconvdata/ibm856.h: Likewise.
37103 * iconvdata/ibm901.h: Likewise.
37104 * iconvdata/ibm902.h: Likewise.
37105 * iconvdata/ibm9030.h: Likewise.
37106 * iconvdata/ibm9066.h: Likewise.
37107 * iconvdata/ibm921.h: Likewise.
37108 * iconvdata/ibm922.h: Likewise.
37109 * iconvdata/ibm9448.h: Likewise.
37110 * iconvdata/isiri-3342.h: Likewise.
37111 * iconvdata/jis0201.h: Likewise.
37112 * include/link.h: Likewise.
37113 * include/netdb.h: Likewise.
37114 * inet/check_native.c: Likewise.
37115 * inet/check_pf.c: Likewise.
37116 * inet/getipv4sourcefilter.c: Likewise.
37117 * inet/getnameinfo.c: Likewise.
37118 * inet/getsourcefilter.c: Likewise.
37119 * inet/htonl.c: Likewise.
37120 * inet/setipv4sourcefilter.c: Likewise.
37121 * inet/setsourcefilter.c: Likewise.
37122 * inet/test-inet6_opt.c: Likewise.
37123 * inet/tst-network.c: Likewise.
37124 * locale/C-collate.c: Likewise.
37125 * locale/C-ctype.c: Likewise.
37126 * locale/C-time.c: Likewise.
37127 * locale/C-translit.h: Likewise.
37128 * locale/loadarchive.c: Likewise.
37129 * locale/programs/3level.h: Likewise.
37130 * locale/programs/charmap.c: Likewise.
37131 * locale/programs/charmap.h: Likewise.
37132 * locale/programs/ld-address.c: Likewise.
37133 * locale/programs/ld-collate.c: Likewise.
37134 * locale/programs/ld-ctype.c: Likewise.
37135 * locale/programs/ld-identification.c: Likewise.
37136 * locale/programs/ld-measurement.c: Likewise.
37137 * locale/programs/ld-messages.c: Likewise.
37138 * locale/programs/ld-monetary.c: Likewise.
37139 * locale/programs/ld-name.c: Likewise.
37140 * locale/programs/ld-numeric.c: Likewise.
37141 * locale/programs/ld-paper.c: Likewise.
37142 * locale/programs/ld-telephone.c: Likewise.
37143 * locale/programs/ld-time.c: Likewise.
37144 * locale/programs/linereader.c: Likewise.
37145 * locale/programs/locale.c: Likewise.
37146 * locale/programs/locarchive.c: Likewise.
37147 * locale/programs/locfile.h: Likewise.
37148 * locale/programs/repertoire.c: Likewise.
37149 * locale/programs/simple-hash.c: Likewise.
37150 * locale/programs/simple-hash.h: Likewise.
37151 * malloc/memusage.c: Likewise.
37152 * malloc/memusagestat.c: Likewise.
37153 * nis/nis_defaults.c: Likewise.
37154 * nis/nis_hash.c: Likewise.
37155 * nis/nis_print.c: Likewise.
37156 * nis/nis_xdr.c: Likewise.
37157 * nscd/connections.c: Likewise.
37158 * nscd/hstcache.c: Likewise.
37159 * nscd/nscd_gethst_r.c: Likewise.
37160 * nscd/nscd_getserv_r.c: Likewise.
37161 * nscd/nscd_helper.c: Likewise.
37162 * nscd/servicescache.c: Likewise.
37163 * nss/makedb.c: Likewise.
37164 * nss/nss_db/db-XXX.c: Likewise.
37165 * nss/nss_db/db-initgroups.c: Likewise.
37166 * nss/nss_db/db-netgrp.c: Likewise.
37167 * nss/nss_files/files-network.c: Likewise.
37168 * nss/nss_files/files-parse.c: Likewise.
37169 * posix/bug-regex5.c: Likewise.
37170 * posix/fnmatch_loop.c: Likewise.
37171 * posix/regcomp.c: Likewise.
37172 * posix/regexec.c: Likewise.
37173 * posix/tst-rfc3484-2.c: Likewise.
37174 * posix/tst-rfc3484-3.c: Likewise.
37175 * posix/tst-rfc3484.c: Likewise.
37176 * resolv/nss_dns/dns-canon.c: Likewise.
37177 * resolv/nss_dns/dns-network.c: Likewise.
37178 * resolv/res_init.c: Likewise.
37179 * resolv/res_mkquery.c: Likewise.
37180 * resolv/tst-aton.c: Likewise.
37181 * stdlib/cxa_atexit.c: Likewise.
37182 * stdlib/cxa_finalize.c: Likewise.
37183 * stdlib/gen-fpioconst.c: Likewise.
37184 * stdlib/strtol_l.c: Likewise.
37185 * string/tst-endian.c: Likewise.
37186 * sunrpc/auth_des.c: Likewise.
37187 * sunrpc/clnt_udp.c: Likewise.
37188 * sunrpc/rtime.c: Likewise.
37189 * sunrpc/svcauth_des.c: Likewise.
37190 * sunrpc/xdr.c: Likewise.
37191 * sunrpc/xdr_intXX_t.c: Likewise.
37192 * sunrpc/xdr_rec.c: Likewise.
37193 * sysdeps/generic/ldconfig.h: Likewise.
37194 * sysdeps/generic/ldsodefs.h: Likewise.
37195 * sysdeps/generic/memusage.h: Likewise.
37196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37206 * sysdeps/posix/getaddrinfo.c: Likewise.
37207 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37209 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37211 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37212 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37213 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37214 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37215 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37216 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37217 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37219 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37220 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37221 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37222 * sysdeps/x86_64/dl-tls.h: Likewise.
37223 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37224 * time/alt_digit.c: Likewise.
37225 * time/era.c: Likewise.
37226 * wcsmbs/tst-c16c32-1.c: Likewise.
37228 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37230 * math/libm-test.inc (struct test_sincos_data): New type.
37231 (RUN_TEST_LOOP_sincos): New macro.
37232 (sincos_test_data): New variable.
37233 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37235 2013-05-16 Richard Henderson <rth@redhat.com>
37237 * math/atest-exp2.c (LIMB64): New macro.
37238 (CONSTSZ): New macro.
37239 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37241 (print_mpn_fp): ... to function scope.
37242 (read_mpn_hex): Remove.
37243 (get_log2): Remove.
37244 (exp2_mpn): Use mp_log2.
37245 (main): Use mp_exp1.
37247 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37249 * math/libm-test.inc: Remove comment about not testing "inexact"
37251 (INEXACT_EXCEPTION): New macro.
37252 (NO_INEXACT_EXCEPTION): Likewise.
37253 (INVALID_EXCEPTION_OK): Update value.
37254 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37255 (OVERFLOW_EXCEPTION_OK): Likewise.
37256 (UNDERFLOW_EXCEPTION_OK): Likewise.
37257 (IGNORE_ZERO_INF_SIGN): Likewise.
37258 (ERRNO_UNCHANGED): Likewise.
37259 (ERRNO_EDOM): Likewise.
37260 (ERRNO_ERANGE): Likewise.
37261 (test_exceptions): Handle testing "inexact" exceptions.
37262 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37263 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37264 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37265 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37267 (rint_towardzero_test_data): Likewise.
37268 (rint_downward_test_data): Likewise.
37269 (rint_upward_test_data): Likewise.
37271 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37272 with OVERFLOW_EXCEPTION.
37273 (exp10_test_data): Likewise.
37274 (exp2_test_data): Likewise.
37275 (expm1_test_data): Likewise.
37276 (lgamma_test_data): Likewise.
37277 (pow_test_data): Likewise.
37278 (tgamma_test_data): Likewise.
37279 (yn_test_data): Remove duplicate test of overflow.
37281 * math/libm-test.inc (struct test_cc_c_data): New type.
37282 (RUN_TEST_LOOP_cc_c): New macro.
37283 (cpow_test_data): New variable.
37284 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37286 * math/libm-test.inc (struct test_f_L_data): New type.
37287 (RUN_TEST_LOOP_f_L): New macro.
37288 (llrint_test_data): New variable.
37289 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37290 (llrint_tonearest_test_data): New variable.
37291 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37292 (llrint_towardzero_test_data): New variable.
37293 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37294 (llrint_downward_test_data): New variable.
37295 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37296 (llrint_upward_test_data): New variable.
37297 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37298 (llround_test_data): New variable.
37299 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37301 2013-05-13 Peter Collingbourne <pcc@google.com>
37303 * math/atest-exp2.c (get_log2): Remove const attribute.
37305 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37307 * math/libm-test.inc (struct test_f_l_data): New type.
37308 (RUN_TEST_LOOP_f_l): New macro.
37309 (lrint_test_data): New variable.
37310 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37311 (lrint_tonearest_test_data): New variable.
37312 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37313 (lrint_towardzero_test_data): New variable.
37314 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37315 (lrint_downward_test_data): New variable.
37316 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37317 (lrint_upward_test_data): New variable.
37318 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37319 (lround_test_data): New variable.
37320 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37322 2013-05-15 Peter Collingbourne <pcc@google.com>
37324 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37325 (EXTRACT_WORDS64) Use where appropriate.
37326 (INSERT_WORDS64) Likewise.
37328 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37329 constraints with x constraints.
37330 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37332 * malloc/obstack.c (_obstack_compat): Add initializer.
37334 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37336 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37337 si_trapno and add si_addr_lsb to _sifields.sigfault.
37338 (si_trapno): Remove macro.
37339 (si_addr_lsb): Define new macro.
37340 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37342 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37344 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37345 instead of TEST_f_l.
37346 (llrint_test_tonearest): Likewise.
37347 (llrint_test_towardzero): Likewise.
37348 (llrint_test_downward): Likewise.
37349 (llrint_test_upward): Likewise.
37350 (llround_test): Likewise.
37352 * math/libm-test.inc (struct test_f_i_data): Add comment.
37353 (RUN_TEST_LOOP_f_b): New macro.
37354 (RUN_TEST_LOOP_f_b_tg): Likewise.
37355 (finite_test_data): New variable.
37356 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37357 (isfinite_test_data): New variable.
37358 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37359 (isinf_test_data): New variable.
37360 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37361 (isnan_test_data): New variable.
37362 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37363 (isnormal_test_data): New variable.
37364 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37365 (issignaling_test_data): New variable.
37366 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37367 (signbit_test_data): New variable.
37368 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37370 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37371 with INVALID_EXCEPTION.
37372 (acosh_test_data): Likewise.
37373 (asin_test_data): Likewise.
37374 (atanh_test_data): Likewise.
37375 (fmod_test_data): Likewise.
37376 (log_test_data): Likewise.
37377 (log10_test_data): Likewise.
37378 (log2_test_data): Likewise.
37379 (pow_test_data): Likewise.
37380 (sqrt_test_data): Likewise.
37381 (y0_test_data): Likewise.
37382 (y1_test_data): Likewise.
37383 (yn_test_data): Likewise.
37385 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37388 * math/libm-test.inc (struct test_ff_i_data): New type.
37389 (RUN_TEST_LOOP_ff_i_tg): New macro.
37390 (isgreater_test_data): New variable.
37391 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37392 (isgreaterequal_test_data): New variable.
37393 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37394 (isless_test_data): New variable.
37395 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37396 (islessequal_test_data): New variable.
37397 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37398 (islessgreater_test_data): New variable.
37399 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37400 (isunordered_test_data): New variable.
37401 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37403 2013-05-14 David S. Miller <davem@davemloft.net>
37405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37407 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37409 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37411 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37413 (struct test_f_i_data): Change type of max_ulp to int.
37415 * math/libm-test.inc (test_ffI_f1_data): New type.
37416 (RUN_TEST_LOOP_ffI_f1): New macro.
37417 (remquo_test_data): New variable.
37418 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37420 * setjmp/tst-setjmp-fp.c: New file.
37421 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37422 (link-libm): New variable.
37423 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37425 * math/libm-test.inc (struct test_f_i_data): New type.
37426 (RUN_TEST_LOOP_f_i): New macro.
37427 (RUN_TEST_LOOP_f_i_tg): Likewise.
37428 (fpclassify_test_data): New variable.
37429 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37430 (ilogb_test_data): New variable.
37431 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37433 * math/libm-test.inc (scalbln_test): Correct function name in END
37436 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37437 (RUN_TEST_LOOP_fI_f1): New macro.
37438 (frexp_test_data): New variable.
37439 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37441 * math/libm-test.inc (struct test_fF_f1_data): New type.
37442 (RUN_TEST_LOOP_fF_f1): New macro.
37443 (modf_test_data): New variable.
37444 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37446 * math/libm-test.inc (struct test_f_f1_data): New type.
37447 (RUN_TEST_LOOP_f_f1): New macro.
37448 (gamma_test_data): New variable.
37449 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37450 (lgamma_test_data): New variable.
37451 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37453 2013-05-13 Carlos O'Donell <carlos@redhat.com>
37455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37456 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37457 (main): Comment "tls" pseudo-hwcap.
37459 2013-05-13 Joseph Myers <joseph@codesourcery.com>
37461 * math/libm-test.inc (struct test_fl_f_data): New type.
37462 (RUN_TEST_LOOP_fl_f): New variable.
37463 (scalbln_test_data): New variable.
37464 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37466 * math/libm-test.inc (struct test_fi_f_data): New type.
37467 (RUN_TEST_LOOP_fi_f): New macro.
37468 (ldexp_test_data): New variable.
37469 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37470 (scalbn_test_data): New variable.
37471 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37473 * math/libm-test.inc (struct test_c_f_data): New type.
37474 (RUN_TEST_LOOP_c_f): New macro.
37475 (cabs_test_data): New variable.
37476 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37477 (carg_test_data): New variable.
37478 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37479 (cimag_test_data): New variable.
37480 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37481 (creal_test_data): New variable.
37482 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37484 * math/libm-test.inc (struct test_if_f_data): New type.
37485 (RUN_TEST_LOOP_if_f): New macro.
37486 (jn_test_data): New variable.
37487 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37488 (yn_test_data): New variable.
37489 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37491 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37493 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37495 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37496 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37498 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37500 * benchtests/Makefile (CPPFLAGS-nonlib): Add
37501 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37502 (bench-deps): Add bench-timing.h.
37503 * benchtests-bench-skeleton.c: Include bench-timing.h.
37504 (main): Use TIMING_* macros instead of clock_gettime.
37505 * benchtests/bench-timing.h: New file.
37508 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37509 Renamed from _LIB_VERSION.
37510 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37512 2013-05-12 Joseph Myers <joseph@codesourcery.com>
37514 * math/libm-test.inc (struct test_fff_f_data): New type.
37515 (RUN_TEST_LOOP_fff_f): New macro.
37516 (fma_test_data): New variable.
37517 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37518 (fma_towardzero_test_data): New variable.
37519 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37520 (fma_downward_test_data): New variable.
37521 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37522 (fma_upward_test_data): New variable.
37523 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37525 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37526 (struct test_c_c_data): New type.
37527 (RUN_TEST_LOOP_c_c): New macro.
37528 (cacos_test_data): New variable.
37529 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37530 (cacosh_test_data): New variable.
37531 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37532 (casin_test_data): New variable.
37533 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37534 (casinh_test_data): New variable.
37535 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37536 (catan_test_data): New variable.
37537 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37538 (catanh_test_data): New variable.
37539 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37540 (ccos_test_data): New variable.
37541 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37542 (ccosh_test_data): New variable.
37543 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37544 (cexp_test_data): New variable.
37545 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37546 (clog_test_data): New variable.
37547 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37548 (clog10_test_data): New variable.
37549 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37550 (conj_test_data): New variable.
37551 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37552 (cproj_test_data): New variable.
37553 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37554 (csin_test_data): New variable.
37555 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37556 (csinh_test_data): New variable.
37557 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37558 (csqrt_test_data): New variable.
37559 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37560 (ctan_test_data): New variable.
37561 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37562 (ctan_tonearest_test_data): New variable.
37563 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37564 (ctan_towardzero_test_data): New variable.
37565 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37566 (ctan_downward_test_data): New variable.
37567 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37568 (ctan_upward_test_data): New variable.
37569 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37570 (ctanh_test_data): New variable.
37571 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37572 (ctanh_tonearest_test_data): New variable.
37573 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37574 (ctanh_towardzero_test_data): New variable.
37575 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37576 (ctanh_downward_test_data): New variable.
37577 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37578 (ctanh_upward_test_data): New variable.
37579 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37580 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37583 * math/libm-test.inc (struct test_ff_f_data): New type.
37584 (struct test_ff_f_data_nexttoward): Likewise.
37585 (RUN_TEST_LOOP_2_f): New macro.
37586 (RUN_TEST_LOOP_ff_f): Likewise.
37587 (atan2_test_data): New variable.
37588 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37589 (copysign_test_data): New variable.
37590 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37591 (fdim_test_data): New variable.
37592 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37593 (fmax_test_data): New variable.
37594 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37595 (fmin_test_data): New variable.
37596 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37597 (fmod_test_data): New variable.
37598 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37599 (hypot_test_data): New variable.
37600 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
37601 (nextafter_test_data): New variable.
37602 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
37603 (nexttoward_test_data): New variable.
37604 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
37605 (pow_test_data): New variable.
37606 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
37607 (pow_tonearest_test_data): New variable.
37608 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
37609 (pow_towardzero_test_data): New variable.
37610 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
37611 (pow_downward_test_data): New variable.
37612 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
37613 (pow_upward_test_data): New variable.
37614 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
37615 (remainder_test_data): New variable.
37616 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
37617 (scalb_test_data): New variable.
37618 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
37619 * sysdeps/i386/fpu/libm-test-ulps: Update.
37621 2013-05-11 Joseph Myers <joseph@codesourcery.com>
37623 * math/libm-test.inc (fma_test): Use max_value instead of local
37625 (nextafter_test): Likewise.
37627 * math/libm-test.inc (acos_towardzero_test_data): New variable.
37628 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37629 (acos_downward_test_data): New variable.
37630 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37631 (acos_upward_test_data): New variable.
37632 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37633 (acosh_test_data): New variable.
37634 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
37635 (asin_test_data): New variable.
37636 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
37637 (asin_tonearest_test_data): New variable.
37638 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37639 (asin_towardzero_test_data): New variable.
37640 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37641 (asin_downward_test_data): New variable.
37642 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37643 (asin_upward_test_data): New variable.
37644 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37645 (asinh_test_data): New variable.
37646 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
37647 (atan_test_data): New variable.
37648 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
37649 (atanh_test_data): New variable.
37650 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
37651 (cbrt_test_data): New variable.
37652 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
37653 (ceil_test_data): New variable.
37654 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
37655 (cos_test_data): New variable.
37656 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37657 (cos_tonearest_test_data): New variable.
37658 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37659 (cos_towardzero_test_data): New variable.
37660 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37661 (cos_downward_test_data): New variable.
37662 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37663 (cos_upward_test_data): New variable.
37664 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37665 (cosh_test_data): New variable.
37666 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
37667 (cosh_tonearest_test_data): New variable.
37668 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37669 (cosh_towardzero_test_data): New variable.
37670 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37671 (cosh_downward_test_data): New variable.
37672 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37673 (cosh_upward_test_data): New variable.
37674 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37675 (erf_test_data): New variable.
37676 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
37677 (erfc_test_data): New variable.
37678 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
37679 (exp_test_data): New variable.
37680 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
37681 (exp_tonearest_test_data): New variable.
37682 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37683 (exp_towardzero_test_data): New variable.
37684 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37685 (exp_downward_test_data): New variable.
37686 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37687 (exp_upward_test_data): New variable.
37688 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37689 (exp10_test_data): New variable.
37690 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
37691 (exp2_test_data): New variable.
37692 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
37693 (expm1_test_data): New variable.
37694 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
37695 (fabs_test_data): New variable.
37696 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
37697 (floor_test_data): New variable.
37698 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
37699 (j0_test_data): New variable.
37700 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
37701 (j1_test_data): New variable.
37702 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
37703 (log_test_data): New variable.
37704 (log_test): Run tests with RUN_TEST_LOOP_f_f.
37705 (log10_test_data): New variable.
37706 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
37707 (log1p_test_data): New variable.
37708 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
37709 (log2_test_data): New variable.
37710 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
37711 (logb_test_data): New variable.
37712 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
37713 (logb_downward_test_data): New variable.
37714 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37715 (nearbyint_test_data): New variable.
37716 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
37717 (rint_test_data): New variable.
37718 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
37719 (rint_tonearest_test_data): New variable.
37720 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37721 (rint_towardzero_test_data): New variable.
37722 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37723 (rint_downward_test_data): New variable.
37724 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37725 (rint_upward_test_data): New variable.
37726 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37727 (round_test_data): New variable.
37728 (round_test): Run tests with RUN_TEST_LOOP_f_f.
37729 (sin_test_data): New variable.
37730 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
37731 (sin_tonearest_test_data): New variable.
37732 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37733 (sin_towardzero_test_data): New variable.
37734 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37735 (sin_downward_test_data): New variable.
37736 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37737 (sin_upward_test_data): New variable.
37738 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37739 (sinh_test_data): New variable.
37740 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
37741 (sinh_tonearest_test_data): New variable.
37742 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37743 (sinh_towardzero_test_data): New variable.
37744 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37745 (sinh_downward_test_data): New variable.
37746 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37747 (sinh_upward_test_data): New variable.
37748 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37749 (sqrt_test_data): New variable.
37750 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
37751 (tan_test_data): New variable.
37752 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
37753 (tan_tonearest_test_data): New variable.
37754 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37755 (tan_towardzero_test_data): New variable.
37756 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
37757 (tan_downward_test_data): New variable.
37758 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
37759 (tan_upward_test_data): New variable.
37760 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
37761 (tanh_test_data): New variable.
37762 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
37763 (tgamma_test_data): New variable.
37764 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
37765 (trunc_test_data): New variable.
37766 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
37767 (y0_test_data): New variable.
37768 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
37769 (y1_test_data): New variable.
37770 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
37771 (significand_test_data): New variable.
37772 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
37774 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
37777 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
37779 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
37781 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
37783 2013-05-10 Andreas Jaeger <aj@suse.de>
37786 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
37787 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
37789 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37791 * math/gen-libm-test.pl (adjust_arg): New function.
37792 (special_functions): Handle generating output in both functions
37794 (parse_args): Likewise.
37795 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
37796 $in_func argument to parse_args.
37797 * math/libm-test.inc (struct test_f_f_data): New type.
37798 (IF_ROUND_INIT_): New macro.
37799 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
37800 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37801 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37802 (IF_ROUND_INIT_FE_UPWARD): Likewise.
37803 (ROUND_RESTORE_): Likewise.
37804 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
37805 (ROUND_RESTORE_FE_TONEAREST): Likewise.
37806 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
37807 (ROUND_RESTORE_FE_UPWARD): Likewise.
37808 (RUN_TEST_LOOP_f_f): New macro.
37809 (acos_test_data): New variable.
37810 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
37811 (acos_tonearest_test_data): New variable.
37812 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
37814 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37816 * benchtests/bench-skeleton.c (startup): Fix coding style.
37818 2013-05-10 Joseph Myers <joseph@codesourcery.com>
37821 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
37822 negative infinity argument.
37823 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
37824 negative infinity argument.
37825 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
37826 negative infinity argument.
37827 * math/libm-test.inc (tgamma_test): Expect errno to be set for
37830 2013-05-10 Florian Weimer <fweimer@redhat.com>
37832 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
37833 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
37834 * iconv/iconv_prog.c (main): Likewise.
37835 * locale/programs/charmap-dir.c (charmap_readdir)
37836 (fopen_uncompressed): Likewise.
37837 * locale/programs/locfile.c (siblings_uncached)
37838 (write_locale_data): Use lstat64 instead of lstat.
37839 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
37842 2013-05-10 Andreas Jaeger <aj@suse.de>
37845 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
37847 Include <locale.h>.
37849 2013-05-09 Carlos O'Donell <carlos@redhat.com>
37851 * elf/dl-close.c (_dl_close_worker): Add comments.
37853 2013-05-09 Joseph Myers <joseph@codesourcery.com>
37856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
37858 (__ieee754_rem_pio2l): Update comments.
37861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
37863 (__ieee754_rem_pio2l): Update comments.
37865 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37866 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
37868 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
37871 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
37872 (M_PI_34_LOG10El): Likewise.
37873 (M_PI2_LOG10El): Likewise.
37874 (M_PI4_LOG10El): Likewise.
37875 (M_PI_LOG10El): Likewise.
37877 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37881 2013-05-08 Joseph Myers <joseph@codesourcery.com>
37883 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
37884 (MINUS_ZERO_INIT): Likewise.
37885 (PLUS_INFTY_INIT): Likewise.
37886 (MINUS_INFTY_INIT): Likewise.
37887 (QNAN_VALUE_INIT): Likewise.
37888 (MAX_VALUE_INIT): Likewise.
37889 (MIN_VALUE_INIT): Likewise.
37890 (MIN_SUBNORM_VALUE_INIT): Likewise.
37891 (plus_zero): Initialize with PLUS_ZERO_INIT.
37892 (minus_zero): Initialize with MINUS_ZERO_INIT.
37893 (plus_infty): Initialize with PLUS_INFTY_INIT.
37894 (minus_infty): Initialize with MINUS_INFTY_INIT.
37895 (qnan_value): Initialize with QNAN_VALUE_INIT.
37896 (max_value): Initialize with MAX_VALUE_INIT.
37897 (min_value): Initialize with MIN_VALUE_INIT.
37898 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37900 * math/libm-test.inc (RUN_TEST_if_f): New macro.
37901 (jn_test): Use TEST_if_f instead of TEST_ff_f.
37902 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
37903 (yn_test): Use TEST_if_f instead of TEST_ff_f.
37905 * math/libm-test.inc (RUN_TEST_f_f): New macro.
37906 (RUN_TEST_2_f): Likewise.
37907 (RUN_TEST_ff_f): Likewise.
37908 (RUN_TEST_fi_f): Likewise.
37909 (RUN_TEST_fl_f): Likewise.
37910 (RUN_TEST_fff_f): Likewise.
37911 (RUN_TEST_c_f): Likewise.
37912 (RUN_TEST_f_f1): Likewise.
37913 (RUN_TEST_fF_f1): Likewise.
37914 (RUN_TEST_fI_f1): Likewise.
37915 (RUN_TEST_ffI_f1): Likewise.
37916 (RUN_TEST_c_c): Likewise.
37917 (RUN_TEST_cc_c): Likewise.
37918 (RUN_TEST_f_i): Likewise.
37919 (RUN_TEST_f_i_tg): Likewise.
37920 (RUN_TEST_ff_i_tg): Likewise.
37921 (RUN_TEST_f_b): Likewise.
37922 (RUN_TEST_f_b_tg): Likewise.
37923 (RUN_TEST_f_l): Likewise.
37924 (RUN_TEST_f_L): Likewise.
37925 (RUN_TEST_sincos): Likewise.
37926 * math/gen-libm-test.pl (new_test): Take new argument to indicate
37927 whether to show exceptions. Do not include ");\n" in return
37929 (special_functions): Output call to RUN_TEST_sincos instead of
37930 check_float calls. Update calls to new_test.
37931 (parse_args): Output call to single RUN_TEST_* macro instead of
37932 check_* calls and other assignments. Update calls to new_test.
37938 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37939 input to result for tgamma overflow.
37940 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
37941 (gamma_coeff): New variable.
37942 (NCOEFF): New macro.
37943 (gamma_positive): New function.
37944 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
37945 underflow here. Use gamma_positive instead of exp (lgamma) for
37947 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
37948 (gamma_coeff): New variable.
37949 (NCOEFF): New macro.
37950 (gammaf_positive): New function.
37951 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
37952 underflow here. Use gamma_positive instead of exp (lgamma) for
37954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
37955 (gamma_coeff): New variable.
37956 (NCOEFF): New macro.
37957 (gammal_positive): New function.
37958 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37959 underflow here. Use gamma_positive instead of exp (lgamma) for
37961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37962 (gamma_coeff): New variable.
37963 (NCOEFF): New macro.
37964 (gammal_positive): New function.
37965 (__ieee754_gammal_r): Handle positive infinity, overflow and
37966 underflow here. Handle NaN the same as positive infinity. Remove
37967 check x < 0xffffffff for negative integers. Use gamma_positive
37968 instead of exp (lgamma) for other arguments.
37969 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37970 (gamma_coeff): New variable.
37971 (NCOEFF): New macro.
37972 (gammal_positive): New function.
37973 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37974 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37975 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37976 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37977 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37978 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37979 * sysdeps/generic/math_private.h (__gamma_productf): New
37981 (__gamma_product): Likewise.
37982 (__gamma_productl): Likewise.
37983 * math/Makefile (libm-calls): Add gamma_product.
37984 * math/libm-test.inc (tgamma_test): Add more tests.
37985 * sysdeps/i386/fpu/libm-test-ulps: Update.
37986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37988 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
37990 * benchtests/bench-skeleton.c (main): Preheat CPU.
37992 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
37994 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37996 2013-05-07 Roland McGrath <roland@hack.frob.com>
37998 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37999 and _dl_skip_args_internal.
38001 2013-05-07 Carlos O'Donell <carlos@redhat.com>
38003 * manual/message.texi (Message Translation): Talk about users.
38004 Message to key mapping impacts design.
38006 2013-05-06 Roland McGrath <roland@hack.frob.com>
38008 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38010 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38012 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38013 * sysdeps/wordsize-64/glob64.c: ... here.
38015 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38016 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38019 * debug/getlogin_r_chk.c: Moved to ...
38020 * login/getlogin_r_chk.c: ... here.
38021 * debug/Makefile (routines): Move getlogin_r_chk to ...
38022 * login/Makefile (routines): ... here.
38023 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38024 * login/Versions (libc: GLIBC_2.4): ... here.
38026 * io/poll.c (__poll): Renamed from poll.
38027 Add libc_hidden_def.
38028 (poll): Define as weak alias.
38030 * debug/ptsname_r_chk.c: Moved to ...
38031 * login/ptsname_r_chk.c: ... here.
38032 * debug/Makefile (routines): Move ptsname_r_chk to ...
38033 * login/Makefile (routines): ... here.
38034 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38035 * login/Versions (libc: GLIBC_2.4): ... here.
38037 * posix/getlogin.c: Moved to ...
38038 * login/getlogin.c: ... here.
38039 * posix/getlogin_r.c: Moved to ...
38040 * login/getlogin_r.c: ... here.
38041 * posix/getlogin_r.c: Moved to ...
38042 * login/getlogin_r.c: ... here.
38043 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38044 * login/Makefile (routines): ... here.
38045 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38046 * login/Versions (libc: GLIBC_2.0): ... here.
38048 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38049 (setrlimit): Define as weak alias.
38051 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38052 Call __ names for open, ftruncate, and close.
38053 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38054 (truncate): Define as weak alias.
38056 2013-05-06 Joseph Myers <joseph@codesourcery.com>
38058 * math/gen-libm-test.pl (parse_args): Initialize x before each
38059 test of frexp, modf and remquo.
38061 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38062 test signgam value.
38064 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38068 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38072 2013-05-06 Roland McGrath <roland@hack.frob.com>
38074 * elf/dl-writev.h: New file.
38075 * elf/dl-misc.c: Include it.
38076 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38077 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38079 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38081 * math/libm-test.inc (noXFails): Remove variable.
38082 (noXPasses): Likewise.
38083 (BUILD_COMPLEX_INT): Remove macro.
38084 (print_screen): Remove xfail argument.
38085 (print_screen_max_error): Likewise.
38086 (update_stats): Likewise.
38087 (print_max_error): Likewise. Update calls to other affected
38089 (print_complex_max_error): Likewise.
38090 (test_single_exception): Update calls to print_screen.
38091 (test_single_errno): Likewise.
38092 (check_float_internal): Remove xfail argument. Update calls to
38093 other affected functions.
38094 (check_float): Likewise.
38095 (check_complex): Likewise.
38096 (check_int): Likewise.
38097 (check_long): Likewise.
38098 (check_bool): Likewise.
38099 (check_longlong): Likewise.
38100 (main): Don't print noXFails and noXPasses.
38101 * math/gen-libm-test.pl (top level): Don't mention expected
38102 failure handling in comment.
38103 (new_test): Don't handle expected failures.
38104 (parse_args): Don't mention expected failure handling in comment.
38105 (generate_testfile): Don't handle expected failures.
38106 (parse_ulps): Likewise.
38107 (print_ulps_file): Likewise.
38108 (get_failure): Remove function.
38109 (output_test): Don't handle expected failures.
38110 * make/README.libm-test: Don't mention expected failure handling.
38112 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38113 (minus_zero): Likewise.
38114 (plus_infty): Likewise.
38115 (minus_infty): Likewise.
38116 (qnan_value): Likewise.
38117 (max_value): Likewise.
38118 (min_value): Likewise.
38119 (min_subnorm_value): Likewise.
38120 (initialize): Do not initialize those variables dynamically.
38122 2013-05-03 Roland McGrath <roland@hack.frob.com>
38124 * io/open.c (__open_2): Moved to ...
38125 * io/open_2.c: ... this new file.
38126 * io/open64.c (__open64_2): Moved to ...
38127 * io/open64_2.c: ... this new file.
38128 * io/openat.c (__openat_2): Moved to ...
38129 * io/openat_2.c: ... this new file.
38130 * io/openat64.c (__openat64_2): Moved to ...
38131 * io/openat64_2.c: ... this new file.
38132 * io/Makefile (routines): Add them.
38133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38134 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38135 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38136 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38137 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38138 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38139 (__openat64): Add hidden_ver.
38140 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38141 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38143 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38144 Separately conditionalize setting of GLRO(dl_sysinfo) so
38145 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38146 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38148 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38153 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38154 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38155 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38156 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38157 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38159 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38161 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38162 test signgam value.
38164 * math/libm-test.inc (hypot_test): Do not use
38165 IGNORE_ZERO_INF_SIGN.
38167 2013-05-03 Andreas Jaeger <aj@suse.de>
38169 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38171 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38172 (PF_MAX): Adjust for VSOCK change.
38174 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38178 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38181 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38182 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38183 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38185 2013-05-02 David S. Miller <davem@davemloft.net>
38187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38189 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38191 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38193 2013-05-01 Roland McGrath <roland@hack.frob.com>
38195 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38197 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38200 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38201 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38202 Use __attribute__ ((__gnu_inline__)).
38203 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38204 Don't use __attribute__ ((__gnu_inline__)).
38206 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38209 * math/s_catan.c (__catan): Handle small real or imaginary part of
38210 input specially to avoid spurious underflow.
38211 * math/s_catanf.c (__catanf): Likewise.
38212 * math/s_catanh.c (__catanh): Likewise.
38213 * math/s_catanhf.c (__catanhf): Likewise.
38214 * math/s_catanhl.c (__catanhl): Likewise.
38215 * math/s_catanl.c (__catanl): Likewise.
38216 * math/libm-test.inc (catan_test): Add more tests.
38217 (catanh_test): Likewise.
38218 * sysdeps/i386/fpu/libm-test-ulps: Update.
38219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38221 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38225 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38228 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38229 accurately for denominator in atan2.
38230 * math/s_catanf.c (__catanf): Likewise.
38231 * math/s_catanh.c (__catanh): Likewise.
38232 * math/s_catanhf.c (__catanhf): Likewise.
38233 * math/s_catanhl.c (__catanhl): Likewise.
38234 * math/s_catanl.c (__catanl): Likewise.
38235 * math/libm-test.inc (catan_test): Add more tests.
38236 (catanh_test): Likewise.
38237 * sysdeps/i386/fpu/libm-test-ulps: Update.
38238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38240 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38242 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38244 * benchtests/Makefile (bench): Remove slow benchmarks.
38245 * benchtests/atan-inputs: Add slow benchmark inputs.
38246 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38247 (BENCH_FUNC): Accept variant offset.
38249 * benchtests/bench-skeleton.c (main): Run benchmark for each
38251 * benchtests/cos-inputs: Add slow benchmark inputs.
38252 * benchtests/exp-inputs: Likewise.
38253 * benchtests/pow-inputs: Likewise.
38254 * benchtests/sin-inputs: Likewise.
38255 * benchtests/slowatan-inputs: Remove.
38256 * benchtests/slowatan.c: Remove.
38257 * benchtests/slowcos-inputs: Remove.
38258 * benchtests/slowcos.c: Remove.
38259 * benchtests/slowexp-inputs: Remove.
38260 * benchtests/slowexp.c: Remove.
38261 * benchtests/slowpow-inputs: Remove.
38262 * benchtests/slowpow.c: Remove.
38263 * benchtests/slowsin-inputs: Remove.
38264 * benchtests/slowsin.c: Remove.
38265 * benchtests/slowtan-inputs: Remove.
38266 * benchtests/slowtan.c: Remove.
38267 * benchtests/tan-inputs: Add slow benchmark inputs.
38268 * scripts/bench.pl: Parse comments and directives.
38270 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38272 ($(objpfx)bench-%.c): Remove *-ITER.
38273 * benchtests/bench-modf.c: Remove definition of ITER.
38274 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38275 (main): Loop for DURATION seconds instead of fixed number of
38277 * scripts/bench.pl: Don't expect iterations in parameters.
38279 2013-04-29 Roland McGrath <roland@hack.frob.com>
38281 * io/fchdir.c (__fchdir): Renamed from fchdir.
38282 (fchdir): Define as weak alias.
38284 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38286 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38287 (ERRNO_EDOM): Likewise.
38288 (ERRNO_ERANGE): Likewise.
38289 (noErrnoTests): New variable.
38290 (init_max_error): Set errno to 0.
38291 (test_single_errno): New function.
38292 (test_errno): Likewise.
38293 (check_float_internal): Call test_errno. Set errno to 0.
38294 (check_complex): Refer to errno tests in comment.
38295 (check_int): Call test_errno. Set errno to 0.
38296 (check_long): Likewise.
38297 (check_bool): Likewise.
38298 (check_longlong): Likewise.
38299 (cos_test): Use ERRNO_* flags for errno tests instead of
38301 (expm1_test): Likewise.
38302 (fmod_test): Likewise.
38303 (ilogb_test): Likewise.
38304 (lgamma_test): Likewise.
38305 (pow_test): Likewise.
38306 (remainder_test): Likewise.
38307 (sin_test): Likewise.
38308 (tan_test): Likewise.
38309 (yn_test): Likewise.
38310 (initialize): Set errno to 0.
38311 (main): Print number of errno tests.
38312 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38314 2013-04-29 Andreas Jaeger <aj@suse.de>
38317 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38321 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38322 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38326 * stdlib/random.c (__initstate): Return NULL if
38330 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38331 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38334 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38338 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38340 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38341 of individual tests.
38342 (casin_test): Likewise.
38343 (casinh_test): Likewise.
38345 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38348 * math/s_catan.c (__catan): Handle arguments with large real or
38349 imaginary part separately without squaring.
38350 * math/s_catanf.c (__catanf): Likewise.
38351 * math/s_catanh.c (__catanh): Likewise.
38352 * math/s_catanhf.c (__catanhf): Likewise.
38353 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38355 (__catanhl): Handle arguments with large real or imaginary part
38356 separately without squaring.
38357 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38359 (__catanl): Handle arguments with large real or imaginary part
38360 separately without squaring.
38361 * math/libm-test.inc (catan_test): Add more tests.
38362 (catanh_test): Likewise.
38363 * sysdeps/i386/fpu/libm-test-ulps: Update.
38364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38366 2013-04-27 Andreas Jaeger <aj@suse.de>
38369 * stdlib/stdlib.h: Update guards for qecvt.
38370 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38373 2013-04-27 Allan McRae <allan@archlinux.org>
38375 * sysdeps/i386/fpu/libm-test-ulps: Update.
38377 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38380 * math/s_catan.c: Include <float.h>.
38381 (__catan): Ensure underflow exception occurs for underflowed
38383 * math/s_catanf.c: Include <float.h>.
38384 (__catanf): Ensure underflow exception occurs for underflowed
38386 * math/s_catanh.c: Include <float.h>.
38387 (__catanh): Ensure underflow exception occurs for underflowed
38389 * math/s_catanhf.c: Include <float.h>.
38390 (__catanhf): Ensure underflow exception occurs for underflowed
38392 * math/s_catanhl.c: Include <float.h>.
38393 (__catanhl): Ensure underflow exception occurs for underflowed
38395 * math/s_catanl.c: Include <float.h>.
38396 (__catanl): Ensure underflow exception occurs for underflowed
38398 * math/libm-test.inc (catan_test): Add more tests.
38399 (catanh_test): Likewise.
38402 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38403 underflowed result.
38404 * math/s_ccoshf.c (__ccoshf): Likewise.
38405 * math/s_ccoshl.c (__ccoshl): Likewise.
38406 * math/s_csin.c (__csin): Likewise.
38407 * math/s_csinf.c (__csinf): Likewise.
38408 * math/s_csinh.c (__csinh): Likewise.
38409 * math/s_csinhf.c (__csinhf): Likewise.
38410 * math/s_csinhl.c (__csinhl): Likewise.
38411 * math/s_csinl.c (__csinl): Likewise.
38412 * math/libm-test.inc (ccos_test): Add more tests.
38413 (ccosh_test): Likewise.
38414 (csin_test): Likewise.
38415 (csinh_test): Likewise.
38417 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38419 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38420 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38421 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38422 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38423 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38424 powerpc/power5+/fpu folders.
38425 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38428 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38432 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38434 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38435 additions to variable.
38436 [$(config-machine) = x86_64] (modules-names): Likewise.
38437 ($(objpfx)tst-audit3): Remove dependency.
38438 ($(objpfx)tst-audit3.out): Likewise.
38439 ($(objpfx)tst-audit4): Likewise.
38440 ($(objpfx)tst-audit4.out): Likewise.
38441 ($(objpfx)tst-audit5): Likewise.
38442 ($(objpfx)tst-audit5.out): Likewise.
38443 ($(objpfx)tst-audit6): Likewise.
38444 ($(objpfx)tst-audit6.out): Likewise.
38445 ($(objpfx)tst-audit7): Likewise.
38446 ($(objpfx)tst-audit7.out): Likewise.
38447 (tst-audit3-ENV): Remove variable.
38448 (tst-audit4-ENV): Likewise.
38449 (tst-audit5-ENV): Likewise.
38450 (tst-audit6-ENV): Likewise.
38451 (tst-audit7-ENV): Likewise.
38452 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38453 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38454 addition to variable.
38455 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38459 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38460 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38461 tst-audit3, tst-audit4 and tst-audit5.
38462 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38463 tst-audit6 and tst-audit7.
38464 [$(subdir) = elf] (modules-names): Add audit modules for those
38466 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38467 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38468 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38469 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38470 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38471 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38472 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38473 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38474 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38475 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38476 [$(subdir) = elf] (tst-audit3-ENV): New variable.
38477 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38478 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38479 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38480 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38481 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38483 [$(subdir) = elf && $(config-cflags-avx) = yes]
38484 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38485 [$(subdir) = elf && $(config-cflags-avx) = yes]
38486 (CFLAGS-tst-auditmod4a.c): Likewise.
38487 [$(subdir) = elf && $(config-cflags-avx) = yes]
38488 (CFLAGS-tst-auditmod4b.c): Likewise.
38489 [$(subdir) = elf && $(config-cflags-avx) = yes]
38490 (CFLAGS-tst-auditmod6b.c): Likewise.
38491 [$(subdir) = elf && $(config-cflags-avx) = yes]
38492 (CFLAGS-tst-auditmod6c.c): Likewise.
38493 [$(subdir) = elf && $(config-cflags-avx) = yes]
38494 (CFLAGS-tst-auditmod7b.c): Likewise.
38495 * elf/tst-audit3.c: Move to ...
38496 * sysdeps/x86_64/tst-audit3.c: ... here.
38497 * elf/tst-audit4.c: Move to ...
38498 * sysdeps/x86_64/tst-audit4.c: ... here.
38499 * elf/tst-audit5.c: Move to ...
38500 * sysdeps/x86_64/tst-audit5.c: ... here.
38501 * elf/tst-audit6.c: Move to ...
38502 * sysdeps/x86_64/tst-audit6.c: ... here.
38503 * elf/tst-audit7.c: Move to ...
38504 * sysdeps/x86_64/tst-audit7.c: ... here.
38505 * elf/tst-auditmod3a.c: Move to ...
38506 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38507 * elf/tst-auditmod3b.c: Move to ...
38508 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38509 * elf/tst-auditmod4a.c: Move to ...
38510 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38511 * elf/tst-auditmod4b.c: Move to ...
38512 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38513 * elf/tst-auditmod5a.c: Move to ...
38514 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38515 * elf/tst-auditmod5b.c: Move to ...
38516 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38517 * elf/tst-auditmod6a.c: Move to ...
38518 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38519 * elf/tst-auditmod6b.c: Move to ...
38520 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38521 * elf/tst-auditmod6c.c: Move to ...
38522 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38523 * elf/tst-auditmod7a.c: Move to ...
38524 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38525 * elf/tst-auditmod7b.c: Move to ...
38526 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38528 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
38531 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38532 define unconditionally.
38533 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38534 define unconditionally.
38535 (INT8_C, INT16_C, etc.): Likewise.
38537 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
38539 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38540 __ehdr_start with hidden visibility.
38542 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38544 2013-04-24 Carlos O'Donell <carlos@redhat.com>
38546 * math/libm-test.inc (cos_test): Use accurate hex constants.
38547 (sincost_test): Likewise.
38549 2013-04-24 Joseph Myers <joseph@codesourcery.com>
38551 * math/libm-test.inc (catan_test): Add more tests.
38552 (catanh_test): Likewise.
38554 * math/s_catanf.c (__catanf): Use suffixed floating-point
38556 * math/s_catanhf.c (__catanhf): Likewise.
38557 * math/s_catanhl.c (__catanhl): Likewise.
38558 * math/s_catanl.c (__catanl): Likewise.
38561 * math/s_catan.c (__catan): Calculate imaginary part of result
38562 with log1p not log unless computing log of number close to 0.
38563 * math/s_catanf.c (__catanf): Likewise.
38564 * math/s_catanl.c (__catanl): Likewise.
38565 * math/s_catanh.c (__catanh): Calculate real part of result with
38566 log1p not log unless computing log of number close to 0.
38567 * math/s_catanhf.c (__catanhf): Likewise.
38568 * math/s_catanhl.c (__catanhl): Likewise.
38569 * math/libm-test.inc (catan_test): Add more tests.
38570 (catanh_test): Likewise.
38571 * sysdeps/i386/fpu/libm-test-ulps: Update.
38572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38574 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38576 * benchtests/Makefile: Mention files in which fast and slow
38577 paths of math functions are implemented.
38579 2013-04-23 Roland McGrath <roland@hack.frob.com>
38581 * sysdeps/posix/timespec_get.c: New file.
38583 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38585 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38587 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38589 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38590 powerpc/power5/fpu folders.
38591 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38592 * benchtests/Makefile: Add modf testcase.
38593 * benchtests/bench-modf.c: New file: Benchmark test for mo
38595 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38598 * time/Makefile (tests): Add tst-strptime-whitespace.
38599 * time/strptime_l.c (get_number): Use ISSPACE.
38600 (__strptime_internal): Likewise.
38601 * time/tst-strptime-whitespace.c: New test case.
38603 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
38605 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
38607 (_nss_files_init): Set it here.
38609 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
38611 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
38612 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
38615 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
38617 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
38619 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
38624 2013-04-21 David S. Miller <davem@davemloft.net>
38626 * po/ru.po: Update Russion translation from translation project.
38628 2013-04-17 Adam Conrad <adconrad@0c3.net>
38630 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
38633 2013-04-17 Carlos O'Donell <carlos@redhat.com>
38635 * configure.in: Remove i386 configure warning. Remove i386 case.
38636 * configure: Regenerate.
38637 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
38638 Add example to error message.
38639 * sysdeps/i386/configure: Regenerate.
38641 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38643 * benchtests/Makefile (bench): Add cos, tan, slowcos and
38645 * benchtests/cos-inputs: New file.
38646 * benchtests/slowcos-inputs: New file.
38647 * benchtests/slowcos.c: New file.
38648 * benchtests/slowtan-inputs: New file.
38649 * benchtests/slowtan.c: New file.
38650 * benchtests/tan-inputs: New file.
38652 2013-04-16 Roland McGrath <roland@hack.frob.com>
38654 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
38657 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38659 * benchtests/Makefile: Include cppflags-iterator.mk to add
38660 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
38662 * Makefile.in (bench-clean): New target.
38663 * benchtests/Makefile (bench-clean): Likewise.
38665 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
38667 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
38669 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
38671 * stdio-common/tstdiomisc.c: Fix coding-style violation.
38673 2013-04-15 Andreas Schwab <schwab@suse.de>
38675 * nscd/grpcache.c (cache_addgr): Properly check for short write.
38676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38677 * nscd/pwdcache.c (cache_addpw): Likewise.
38678 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
38681 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38683 * benchtests/Makefile (bench): Write all output to
38684 bench-out.tmp together.
38686 2013-04-15 Andreas Schwab <schwab@suse.de>
38688 * nscd/nscd.c (main): Don't fork again after closing files.
38690 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38692 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
38694 * benchtests/Rules (bench-deps): Collect dependencies into a
38695 single variable. Add Makefile to dependencies.
38696 ($(objpfx)bench-%.c): Depend on bench-deps.
38698 2013-04-12 Roland McGrath <roland@hack.frob.com>
38699 Xavier Roche <roche+kml2@exalead.com>
38702 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
38703 just that it's a file descriptor.
38704 * manual/llio.texi (Synchronizing AIO Operations): Update description
38705 for EBADF error from aio_fsync.
38707 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38709 * Rules (bench): Move target definition...
38710 * benchtests/Makefile: ... here.
38712 2013-04-11 Carlos O'Donell <carlos@redhat.com>
38714 * math/libm-test.inc (cos_test): Fix PI/2 test.
38715 (sincos_test): Likewise.
38716 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38717 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
38719 2013-04-11 Andreas Schwab <schwab@suse.de>
38722 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
38723 accept exponent character only when digits were seen.
38724 * stdio-common/Makefile (tests): Add bug26.
38725 * stdio-common/bug26.c: New file.
38728 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
38731 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38733 * Makeconfig (rtld-prefix): Define built linker prefix.
38734 * Rules (run-bench): Use it.
38735 * math/Makefile (run-regen-ulps): Likewise.
38737 * Rules (bench): Remove eval.
38739 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38740 Roland McGrath <roland@hack.frob.com>
38741 Ondrej Bilka <neleai@seznam.cz>
38744 * time/getdate.c: Include ctype.h and alloca.h.
38745 (__getdate_r): Trim leading and trailing spaces of input.
38746 * time/tst-getdate.c (tests): Add tests with leading and
38749 2013-04-08 Roland McGrath <roland@hack.frob.com>
38752 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
38753 when computing value.
38755 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38757 * math/README.libm-test (How can I generate "libm-test-ulps"?):
38758 Use testrun.sh to run libm tests.
38761 * elf/dl-open.c (dl_open_worker): memset all of seen array.
38763 2013-04-06 Marko Myllynen <myllynen@redhat.com>
38766 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
38768 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38770 * Makefile.in (regen-ulps): New target.
38771 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
38772 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
38773 [ifneq (no,$(PERL)] (regen-ulps): New target.
38774 [ifeq (no,$(PERL)] (regen-ulps): New target.
38775 * math/libm-test.inc (ulps_file_name): Define.
38776 (output_dir): New variable.
38777 (options): Add "output-dir" option.
38778 (parse_opt): Handle 'o' case.
38779 (main): If output_dir is non-NULL use it as a prefix
38781 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
38783 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38785 [BZ #10060, #10062]
38786 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
38787 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
38788 fail configure if __sync_val_compare_and_swap is not inlined.
38789 * sysdeps/i386/configure: Regenerate.
38790 * configure.in: Build for i686 when configured for i386.
38791 * configure: Regenerate.
38792 * README: Remove i386 reference.
38794 2013-04-06 Carlos O'Donell <carlos@redhat.com>
38796 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
38797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38799 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
38801 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
38802 (lmsnanval): New variables.
38803 (F): Add conversion tests.
38804 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38805 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
38807 * stdio-common/tstdiomisc.c (F): Properly collect individual
38810 [BZ #14686, #15336]
38811 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
38812 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
38813 Instead, use input NaN values or generate a qNaN by arithmetic
38814 operation. Also fix bugs to comply with the standard.
38815 * math/libm-test.inc (remainder_test): Add more tests.
38817 [BZ #15335, #15342]
38818 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
38819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
38820 input NaN values or generate a qNaN by arithmetic operation.
38822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
38825 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
38828 2013-04-03 Joseph Myers <joseph@codesourcery.com>
38831 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
38832 underflowed result.
38833 * math/s_cexpf.c (__cexpf): Likewise.
38834 * math/s_cexpl.c (__cexpl): Likewise.
38835 * math/libm-test.inc (cexp_test): Add more tests.
38837 2013-04-03 Andreas Schwab <schwab@suse.de>
38840 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
38841 order arrays from heap if bigger than alloca cutoff.
38843 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
38845 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
38846 (SNAN_TESTS_double): Refer to GCC PR56831.
38847 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
38850 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38852 * Rules (bench): Move bench.out after the run is complete.
38854 * Rules (bench): Echo currently running benchmark.
38856 * benchtests/Makefile (bench): Add atan and slowatan.
38857 * benchtests/atan-inputs: New file.
38858 * benchtests/slowatan-inputs: New file.
38859 * benchtests/slowatan.c: New file.
38861 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
38862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
38866 * sysdeps/unix/sysv/linux/kernel-features.h
38867 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
38868 __ASSUME_XFS_RESTRICTED_CHOWN.
38869 * sysdeps/unix/sysv/linux/pathconf.c
38870 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38871 Save and restore errno.
38873 2013-04-02 Joseph Myers <joseph@codesourcery.com>
38876 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
38877 arguments using __kernel_casinh.
38878 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
38879 arguments using __kernel_casinhf.
38880 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
38881 arguments using __kernel_casinhl.
38882 * math/libm-test.inc (cacosh_test): Add more tests.
38883 * sysdeps/i386/fpu/libm-test-ulps: Update.
38884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38888 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
38889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
38891 * bench/Makefile (bench): Add sin and slowsin.
38892 * benchtests/sin-inputs: New file.
38893 * benchtests/slowsin-inputs: New file.
38894 * benchtests/slowsin.c: New file.
38896 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
38897 (bench): Add slowexp and slowpow.
38898 (exp-ITER): Increase iterations.
38899 (pow-ITER): Likewise.
38900 * benchtests/exp-inputs: Change input.
38901 * benchtests/pow-inputs: Likewise.
38902 * benchtests/slowexp-inputs: New file.
38903 * benchtests/slowexp.c: New file.
38904 * benchtests/slowpow-inputs: New file.
38905 * benchtests/slowpow.c: New file.
38907 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38909 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
38911 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38912 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
38913 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38914 * benchtests/Makefile: Add rint benchtest.
38915 * benchtests/rint-inputs: Input for rint benchtest.
38917 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
38919 * Versions.def (libm): Add GLIBC_2.18.
38920 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
38921 hidden libm prototypes.
38922 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38923 * math/Makefile (libm-calls): Add s_issignaling.
38924 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
38925 __issignalingf, __issignalingl. Adjust all libm.abilist files.
38926 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
38928 * math/math.h [__USE_GNU] (issignaling): New macro.
38929 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
38930 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
38935 * manual/arith.texi (issignaling): New section.
38936 * manual/libm-err-tab.pl (@all_functions): Update comment.
38937 * math/gen-libm-test.pl (parse_args): Apply special handling for
38939 * math/libm-test.inc (print_float, issignaling_test): New
38941 (check_float_internal): Add issignaling checks.
38942 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
38943 default definition.
38944 * sysdeps/powerpc/math-tests.h: New file.
38945 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
38947 * math/test-snan.c (TEST_FUNC): Likewise.
38949 2013-03-30 David S. Miller <davem@davemloft.net>
38951 * po/de.po: Update from translation team.
38953 2013-03-30 Joseph Myers <joseph@codesourcery.com>
38956 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38957 imaginary part less than 1.0 and real part less than 0.5
38959 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38960 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38961 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38962 (cacos_test): Add more tests.
38963 (casin_test): Likewise.
38964 (casinh_test): Likewise.
38965 * sysdeps/i386/fpu/libm-test-ulps: Update.
38966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38968 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38970 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38971 ONE with its value.
38973 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38974 (__pow_mp): Replace ONE and MONE with their values.
38975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38977 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38978 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38979 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38982 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38984 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38985 (__pow_mp): Replace ZERO and MZERO with their values.
38986 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38988 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38990 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38991 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38994 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38996 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38998 2013-03-28 Roland McGrath <roland@hack.frob.com>
39000 * include/stdlib.h [!SHARED] (__call_tls_dtors):
39001 Declare with __attribute__ ((weak)).
39002 * stdlib/exit.c (__libc_atexit) [!SHARED]:
39003 Call __call_tls_dtors only if it's not NULL.
39005 2013-03-28 Roland McGrath <roland@hack.frob.com>
39007 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39008 didn't do it already, then set _dl_phdr and _dl_phnum based on the
39009 magic __ehdr_start linker symbol if it's defined.
39010 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39011 them up here if it was already done.
39013 * elf/dl-support.c (_dl_phdr): Make pointer to const.
39014 (_dl_aux_init): Use const in cast when setting it.
39015 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39016 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39017 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39019 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39021 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39022 * csu/libc-tls.c: Nor here.
39023 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39025 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39026 (__libc_message): Never call vsyslog.
39028 2013-03-28 Alan Modra <amodra@gmail.com>
39030 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39032 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39035 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39038 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39042 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39045 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39046 Don't add gid passed as argument.
39048 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39050 2013-03-27 Joseph Myers <joseph@codesourcery.com>
39053 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39054 imaginary part between 1.0 and 1.5 and real part less than 0.5
39056 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39057 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39058 * math/libm-test.inc (cacos_test): Add more tests.
39059 (casin_test): Likewise.
39060 (casinh_test): Likewise.
39061 * sysdeps/i386/fpu/libm-test-ulps: Update.
39062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39064 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39066 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39069 (denorm): Likewise.
39070 (__dbl_mp): Likewise.
39071 (add_magnitudes): Likewise.
39072 (sub_magnitudes): Likewise.
39080 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39082 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39083 (__dubcos): Likewise.
39084 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39085 (__ieee754_acos): Likewise.
39086 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39087 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39088 (__exp1): Likewise.
39089 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39092 (my_log2): Likewise.
39093 (checkint): Likewise.
39094 * sysdeps/ieee754/dbl-64/e_remainder.c
39095 (__ieee754_remainder): Likewise.
39096 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39098 (bsloww): Likewise.
39099 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39101 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39102 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39103 MANTISSA_STORE_T to store computations on mantissa. Use
39104 macros for rounding and division.
39105 (denorm): Likewise.
39106 (__dbl_mp): Likewise.
39107 (add_magnitudes): Likewise.
39108 (sub_magnitudes): Likewise.
39111 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39112 powers of two in terms of TWOPOW macro.
39113 (mp_no): Make type of mantissa as MANTISSA_T.
39114 [!RADIXI]: Define RADIXI.
39115 [!TWO52]: Define TWO52.
39116 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39118 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39120 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39121 llroundl symbol when building for PPC32.
39123 2013-03-24 Mark H Weaver <mhw@netris.org>
39125 * manual/arith.texi (Normalization Functions): Fix prototypes for
39126 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39128 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39132 high value to check if expl overflow.
39133 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39134 to check for underflow and overflow.
39135 * math/libm-test.inc: Add exp test.
39137 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39140 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39143 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39145 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39148 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39150 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39151 wrap blocks consisting of several statements.
39153 * sysdeps/generic/math-tests.h: New file.
39154 * sysdeps/i386/fpu/math-tests.h: Likewise.
39155 * math/test-snan.c: Include it.
39156 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39158 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39162 (__ieee754_j0l): Do not improve calculations using cos of twice
39163 input for inputs above LDBL_MAX / 2.0L.
39164 (__ieee754_y0l): Likewise.
39165 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39166 (__ieee754_j1l): Do not improve calculations using cos of twice
39167 input for inputs above LDBL_MAX / 2.0L.
39168 (__ieee754_y1l): Likewise.
39169 * math/libm-test.inc (j0_test): Add another test.
39170 (j1_test): Likewise.
39171 (y0_test): Likewise.
39172 (y1_test): Likewise.
39173 * sysdeps/i386/fpu/libm-test-ulps: Update.
39175 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39177 * Rules ($(objpfx)bench-%.c): Include code from a C source
39180 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39183 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39184 imaginary part 1.0 and real part less than 0.5 specially.
39185 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39186 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39187 * math/libm-test.inc (cacos_test): Add more tests.
39188 (casin_test): Likewise.
39189 (casinh_test): Likewise.
39190 * sysdeps/i386/fpu/libm-test-ulps: Update.
39191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39193 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39195 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39196 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39198 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39200 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39201 * config.make.in (config-cflags-sse4): Remove variable.
39202 (config-cflags-avx): Likewise.
39203 (config-cflags-sse2avx): Likewise.
39204 (config-cflags-novzeroupper): Likewise.
39205 (config-asflags-i686): Likewise.
39206 (have-mfma4): Likewise.
39207 (have-as-vis3): Likewise.
39209 * configure.in (MIG): Do not AC_SUBST.
39210 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39211 (libc_cv_cc_sse4): Do not AC_SUBST.
39212 (libc_cv_cc_avx): Likewise.
39213 (libc_cv_cc_sse2avx): Likewise.
39214 (libc_cv_cc_novzeroupper): Likewise.
39215 (libc_cv_cc_fma4): Likewise.
39216 (libc_cv_as_i686): Likewise.
39217 (libc_cv_sparc_as_vis3): Likewise.
39218 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39220 (config-asflags-i686): Likewise.
39221 (config-cflags-avx): Likewise.
39222 (config-cflags-sse2avx): Likewise.
39223 (have-mfma4): Likewise.
39224 (config-cflags-novzeroupper): Likewise.
39225 * sysdeps/mach/configure.in (MIG): Likewise.
39226 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39227 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39229 (config-cflags-avx): Likewise.
39230 (config-cflags-sse2avx): Likewise.
39231 (have-mfma4): Likewise.
39232 (config-cflags-novzeroupper): Likewise.
39233 * configure: Regenerated.
39234 * sysdeps/i386/configure: Likewise.
39235 * sysdeps/mach/configure: Likewise.
39236 * sysdeps/sparc/configure: Likewise.
39237 * sysdeps/x86_64/configure: Likewise.
39239 2013-03-20 Roland McGrath <roland@hack.frob.com>
39242 * locale/programs/localedef.c (options): Put N_ translation marker
39243 on argument names, not just descriptions.
39245 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39247 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39249 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39252 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39254 2013-03-19 Roland McGrath <roland@hack.frob.com>
39256 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39257 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39258 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39259 [!BEFORE_ABORT] (before_abort): New function.
39260 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39261 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39262 (writev_for_fatal): New function.
39263 (WRITEV_FOR_FATAL): New macro; call that.
39264 (backtrace_and_maps): New function.
39265 (BEFORE_ABORT): New macro; call that.
39266 (struct str_list): Type removed.
39267 (__libc_message, __libc_fatal): Functions removed.
39268 Include <sysdeps/posix/libc_fatal.c> instead.
39270 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39272 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39274 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39277 2013-03-19 Andreas Schwab <schwab@suse.de>
39279 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39280 * sysdeps/gnu/configure: Regenerate.
39282 * configure.in: Substitute libc_cv_rtlddir.
39283 * configure: Regenerate.
39284 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39285 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39286 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39287 * elf/Makefile (install-others, CFLAGS-interp.c)
39288 (ldso_install, common-ldd-rewrite): Likewise.
39289 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39290 $(inst_slibdir)/$(rtld-installed-name).
39291 * scripts/rellns-sh: Add -p option.
39292 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39295 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39297 * manual/nptl.texi: Renamed to ...
39298 * manual/threads.texi: ... this.
39299 * manual/Makefile (chapters): Update.
39301 2013-03-18 Roland McGrath <roland@hack.frob.com>
39304 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39305 on argument names, not just descriptions.
39306 * malloc/memusagestat.c (options): Likewise.
39307 * nss/getent.c (options): Likewise.
39309 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39312 * iconv/iconv_prog.c (options): Put N_ translation marker
39313 on argument names, not just descriptions.
39314 * iconv/iconvconfig.c (options): Likewise.
39316 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39318 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39319 implementation which is faster on all x86_64 architectures.
39320 Tested on AMD, Intel Nehalem, SNB, IVB.
39321 * sysdeps/x86_64/strnlen.S: Likewise.
39323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39324 Remove all multiarch strlen and strnlen versions.
39325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39326 Remove strlen and strnlen related parts.
39328 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39329 Inline strlen part.
39330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39332 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39333 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39334 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39335 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39336 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39337 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39339 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39341 * manual/memory.texi (Malloc Tunable Parameters):
39342 Sort parameters alphabetically. Add comments for missing entries.
39344 2013-03-17 David S. Miller <davem@davemloft.net>
39346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39348 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39352 for arguments at most half maximum finite value.
39353 * math/libm-test.inc (j0_test): Add more tests.
39354 (j1_test): Likewise.
39355 (y0_test): Likewise.
39356 (y1_test): Likewise.
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39361 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39362 1 / x and functions P and Q for arguments above 0x1p256L.
39363 (__ieee754_y0l): Likewise.
39364 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39365 (__ieee754_y1l): Likewise.
39366 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39367 (j1_test): Likewise.
39368 (y0_test): Likewise.
39369 (y1_test): Likewise.
39371 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39373 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39376 2013-03-15 Roland McGrath <roland@hack.frob.com>
39378 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39379 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39380 zero since it's initialized to EXEC_PAGESIZE.
39382 * sysdeps/unix/sysv/linux/ldsodefs.h
39383 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39384 * sysdeps/generic/ldsodefs.h: ... here.
39386 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39388 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39390 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39392 * math/test-snan.c: Renamed from
39393 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39394 * math/Makefile (tests): Add test-snan.
39395 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39398 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39399 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39401 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39402 __builtin_nan family of functions.
39403 * math/libm-test.inc (initialize): Initialize qnan_value with
39404 __builtin_nan family of functions.
39405 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39407 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39409 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39410 storage class. Initialize qNaN_var and sNaN_var with
39411 __builtin_nan and __builtin_nans families of functions,
39414 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39415 (sqrt_test): Remove duplicate test with qNaN input.
39416 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39417 (round_test, signbit_test, significand_test): Note missing +/-Inf
39418 as well as qNaN tests.
39420 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39421 qNaN_var. Fix a few strings, too.
39422 * math/libm-test.inc (nan_value): Rename to qnan_value.
39423 * math/gen-libm-test.pl (%beautify): Adjust to that.
39424 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39425 * math/test-misc.c (main): Likewise.
39426 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39427 to __qnan_bytes, and __qnan_union, respectively.
39428 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39430 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39431 and lqnanval, respectively.
39432 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39433 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39434 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39435 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39437 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39438 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39441 * math/test-misc.c (main): Fix copy'n'pastos.
39442 * misc/tst-efgcvt.c (special): Likewise.
39444 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39445 Remove declarations.
39447 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39449 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39450 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39451 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39452 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39454 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39457 macro to return vdso values correctly in IFUNC implementations.
39458 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39459 Optimization by using IFUNC.
39461 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39462 Richard Henderson <rth@redhat.com>
39463 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39465 * Makefile.in (bench): New target.
39466 * NEWS: Mention the benchmark framework.
39467 * Rules (bench): Likewise.
39468 (binaries-bench): Generate binaries for functions to
39470 * benchtests/Makefile: New makefile for benchmark tests.
39471 * benchtests/bench-skeleton.c: New skeleton file for benchmark
39473 * benchtests/exp-inputs: New input file for EXP function.
39474 * benchtests/pow-inputs: New input file for POW function.
39475 * scripts/bench.pl: New script to generate source files for
39476 benchmark programs.
39478 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39480 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39481 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39482 computations on mantissa. Use macros for rounding and
39484 (denorm): Likewise.
39485 (__dbl_mp): Likewise.
39486 (add_magnitudes): Likewise.
39487 (sub_magnitudes): Likewise.
39490 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39491 powers of two in terms of TWOPOW macro.
39492 (mp_no): Make type of mantissa as MANTISSA_T.
39493 [!RADIXI]: Define RADIXI.
39494 [!TWO52]: Define TWO52.
39495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39497 * manual/nptl.texi (cindex): Modify threads to pthreads.
39499 2013-03-15 Joseph Myers <joseph@codesourcery.com>
39501 * sysdeps/x86_64/preconfigure: Regenerated.
39503 2013-03-14 Joseph Myers <joseph@codesourcery.com>
39506 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39508 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39509 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39511 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39512 * math/libm-test.inc (j0_test): Do not allow one spurious
39513 underflow exception.
39514 (y1_test): Likewise.
39516 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39518 * manual/Makefile (chapters): Add nptl.
39519 * manual/debug.texi (Debugging Support): Add link to Threads
39521 * manual/nptl.texi: New file.
39523 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39525 2013-03-14 Petr Baudis <pasky@ucw.cz>
39527 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39528 for non-NULL pointer before the memory validity test. Pointed
39529 out by Holger Brunck <holger.brunck@keymile.com>.
39531 2013-03-13 Andreas Schwab <schwab@suse.de>
39533 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39536 2013-03-13 Joseph Myers <joseph@codesourcery.com>
39538 * timezone/zic.c: Update from tzcode 2013b.
39540 2013-03-12 Carlos O'Donell <carlos@redhat.com>
39542 * manual/install.texi (Configuring and compiling):
39543 Mention i686 and i586.
39544 * INSTALL: Regenerate.
39546 2013-03-12 Roland McGrath <roland@hack.frob.com>
39548 * sysdeps/init_array/elf-init.c: New file.
39550 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39551 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39553 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39554 __gmon_start__ as global, but as static with a .preinit_array pointer.
39555 * sysdeps/init_array/gmon-start.c: New file. Use that.
39556 * sysdeps/init_array/crti.S: New file, empty except for comments.
39557 * sysdeps/init_array/crtn.S: Likewise.
39559 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
39561 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39564 Remove Prefer_SSE_for_memop.
39565 * sysdeps/x86_64/multiarch/init-arch.h: Remove
39566 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39567 HAS_PREFER_SSE_FOR_MEMOP.
39568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39571 Remove bzero, memset ifunc support.
39572 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39573 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39574 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39575 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39577 2013-03-11 Andreas Schwab <schwab@suse.de>
39580 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39583 (GLIBC_2.16): Remove pthread_atfork.
39585 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
39587 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39588 (ptestcases.h): Likewise.
39590 2013-03-08 Roland McGrath <roland@hack.frob.com>
39592 * Makeconfig ($(common-objpfx)config.status): Depend on
39593 sysdeps/*/preconfigure{,.in} too.
39595 2013-03-08 Joseph Myers <joseph@codesourcery.com>
39597 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39598 (__free_hook): Use void * instead of __malloc_ptr_t.
39599 (__malloc_hook): Likewise.
39600 (__realloc_hook): Likewise.
39601 (__memalign_hook): Likewise.
39602 (__after_morecore_hook): Likewise.
39603 * malloc/arena.c (save_malloc_hook): Likewise.
39604 (save_free_hook): Likewise.
39605 * malloc/hooks.c (malloc_hook_ini): Likewise.
39606 (realloc_hook_ini): Likewise.
39607 (memalign_hook_ini): Likewise.
39608 * malloc/malloc.c (malloc_hook_ini): Likewise.
39609 (realloc_hook_ini): Likewise.
39610 (memalign_hook_ini): Likewise.
39611 (__free_hook): Likewise.
39612 (__malloc_hook): Likewise.
39613 (__realloc_hook): Likewise.
39614 (__memalign_hook): Likewise.
39615 (__libc_malloc): Likewise.
39616 (__libc_free): Likewise.
39617 (__libc_realloc): Likewise.
39618 (__libc_memalign): Likewise.
39619 (__libc_valloc): Likewise.
39620 (__libc_pvalloc): Likewise.
39621 (__libc_calloc): Likewise.
39622 (__posix_memalign): Likewise.
39623 * malloc/morecore.c (__sbrk): Likewise.
39624 (__default_morecore): Likewise.
39626 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
39628 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
39629 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
39630 __malloc_ptrdiff_t.
39632 * malloc/malloc.h (__malloc_size_t): Remove macro.
39633 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
39635 (old_memalign_hook): Likewise.
39636 (old_realloc_hook): Likewise.
39637 (struct hdr): Likewise.
39639 (mallochook): Likewise.
39640 (memalignhook): Likewise.
39641 (reallochook): Likewise.
39642 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
39643 (tr_old_realloc_hook): Likewise.
39644 (tr_old_memalign_hook): Likewise.
39645 (tr_mallochook): Likewise.
39646 (tr_reallochook): Likewise.
39647 (tr_memalignhook): Likewise.
39649 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39651 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
39652 default_ldbl_pack and using as default implementation.
39653 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
39655 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
39656 redundant definition.
39657 (ldbl_insert_mantissa): Likewise.
39658 (ldbl_canonicalize): Likewise.
39659 (ldbl_nearbyint): Likewise.
39660 (ldbl_pack): Rename to ldbl_pack_ppc.
39661 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39662 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
39663 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
39665 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
39668 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
39669 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
39670 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
39671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
39672 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
39673 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
39674 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
39676 2013-03-07 Andreas Jaeger <aj@suse.de>
39678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39681 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39683 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
39684 Include mpa.h and declare __MPEXP.
39685 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
39686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39687 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39688 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
39689 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39690 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
39691 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
39693 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
39694 (__slowpow): Use long double EXPL and LOGL functions to
39696 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
39697 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39698 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
39699 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
39700 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
39701 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
39703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
39704 intermediate variable to calculate exponent.
39706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39710 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
39711 [!NO__SQR]: Define __sqr.
39712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
39713 and NO__SQR. Remove all code except __mul and __sqr. Include
39714 sysdeps/ieee754/dbl-64/mpa.c.
39715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39718 * posix/Makefile (tests): Add tst-pathconf.
39719 * posix/tst-pathconf.c: New test case.
39720 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
39722 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
39724 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
39726 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
39728 2013-03-06 Andreas Jaeger <aj@suse.de>
39730 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
39731 definition via __MAP_ANONYMOUS.
39733 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
39734 it's not part of Linux headers.
39736 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
39737 (MAP_HUGE_MASK): Define.
39739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39744 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39745 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
39747 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39748 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
39750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
39752 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
39753 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
39754 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
39755 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
39756 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
39757 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
39759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39762 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39763 Handle f2fs and efivarfs.
39765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
39768 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
39769 (EFIVARFS_MAGIC): Add.
39770 (F2FS_LINK_MAX): Add.
39772 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39774 * stdio-common/vfprintf.c: Replace __builtin_expect with
39777 2013-03-06 Joseph Myers <joseph@codesourcery.com>
39780 * sysdeps/generic/bp-sym.h: Remove file.
39781 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
39782 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
39783 <bp-sym.h> and <bp-asm.h>.
39784 (__longjmp): Don't use BP_SYM.
39785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
39787 (memcpy): Don't use BP_SYM.
39788 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
39789 <bp-sym.h> and <bp-asm.h>.
39790 (memcpy): Don't use BP_SYM.
39791 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
39793 (memcpy): Don't use BP_SYM.
39794 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
39796 (memset): Don't use BP_SYM.
39797 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39798 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39799 (__bzero): Don't use BP_SYM.
39800 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39801 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
39803 <bp-sym.h> and <bp-asm.h>.
39804 (memcmp): Don't use BP_SYM. Remove comment about bounded
39806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
39807 <bp-sym.h> and <bp-asm.h>.
39808 (memcpy): Don't use BP_SYM.
39809 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
39810 <bp-sym.h> and <bp-asm.h>.
39811 (memset): Don't use BP_SYM.
39812 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39813 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39814 (__bzero): Don't use BP_SYM.
39815 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39816 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
39818 <bp-sym.h> and <bp-asm.h>.
39819 (strncmp): Don't use BP_SYM. Remove comment about bounded
39821 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
39822 <bp-sym.h> and <bp-asm.h>.
39823 (memcpy): Don't use BP_SYM.
39824 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
39825 <bp-sym.h> and <bp-asm.h>.
39826 (memset): Don't use BP_SYM.
39827 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39828 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39829 (__bzero): Don't use BP_SYM.
39830 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39831 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
39833 <bp-sym.h> and <bp-asm.h>.
39834 (__memchr): Don't use BP_SYM.
39835 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
39836 <bp-sym.h> and <bp-asm.h>.
39837 (memcmp): Don't use BP_SYM. Remove comment about bounded
39839 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
39840 <bp-sym.h> and <bp-asm.h>.
39841 (memcpy): Don't use BP_SYM.
39842 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
39843 <bp-sym.h> and <bp-asm.h>.
39844 (__mempcpy): Don't use BP_SYM.
39845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
39846 <bp-sym.h> and <bp-asm.h>.
39847 (__memrchr): Don't use BP_SYM.
39848 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
39849 <bp-sym.h> and <bp-asm.h>.
39850 (memset): Don't use BP_SYM.
39851 (__bzero): Likewise.
39852 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
39853 <bp-sym.h> and <bp-asm.h>.
39854 (__rawmemchr): Don't use BP_SYM.
39855 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
39856 <bp-sym.h> and <bp-asm.h>.
39857 (__STRCMP): Don't use BP_SYM.
39858 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
39859 <bp-sym.h> and <bp-asm.h>.
39860 (strchr): Don't use BP_SYM.
39861 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
39862 <bp-sym.h> and <bp-asm.h>.
39863 (__strchrnul): Don't use BP_SYM.
39864 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
39865 <bp-sym.h> and <bp-asm.h>.
39866 (strlen): Don't use BP_SYM.
39867 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
39868 <bp-sym.h> and <bp-asm.h>.
39869 (strncmp): Don't use BP_SYM. Remove comment about bounded
39871 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
39872 <bp-sym.h> and <bp-asm.h>.
39873 (__strnlen): Don't use BP_SYM.
39874 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
39875 <bp-sym.h> and <bp-asm.h>.
39876 (__GI__setjmp): Don't use BP_SYM.
39877 (_setjmp): Likewise.
39878 (__sigsetjmp): Likewise.
39879 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
39880 (L(start_addresses)): Don't use BP_SYM.
39881 (_start): Likewise.
39882 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
39884 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
39885 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
39886 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39887 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39888 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
39890 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
39891 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
39892 about bounded pointers.
39893 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39894 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39895 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
39897 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39898 about bounded pointers. Remove GKM FIXME comments.
39899 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39900 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
39902 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
39903 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
39904 Remove GKM FIXME comments.
39905 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39906 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39907 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
39909 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
39910 about bounded pointers. Remove GKM FIXME comment.
39911 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
39913 (strncmp): Don't use BP_SYM. Remove comment about bounded
39915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
39916 <bp-sym.h> and <bp-asm.h>.
39917 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
39919 <bp-sym.h> and <bp-asm.h>.
39920 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39923 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39925 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
39928 2013-03-05 David S. Miller <davem@davemloft.net>
39930 * po/es.po: Update from translation team.
39932 2013-03-05 Andreas Jaeger <aj@suse.de>
39934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
39935 <bits/mman-linux.h>.
39936 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
39939 <bits/mman-linux.h> to end of file.
39940 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39942 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
39943 <bits/mman-linux.h> to end of file.
39944 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
39946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
39947 <bits/mman-linux.h> to end of file.
39949 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
39950 (MCL_CURRENT, MCL_FUTURE): Define here.
39952 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39957 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39959 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39961 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39962 fourth parameter needed for rt_sigprocmask syscall.
39963 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39964 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39965 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39966 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39967 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39968 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39970 2013-03-04 Joseph Myers <joseph@codesourcery.com>
39973 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39974 comment about bounded pointers.
39975 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39976 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39978 2013-03-04 Andreas Jaeger <aj@suse.de>
39980 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39981 common definitions.
39983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39984 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39986 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39987 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39990 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39993 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39994 __ieee754_sqrl instead of __sqrl.
39996 2013-03-01 Joseph Myers <joseph@codesourcery.com>
39998 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39999 * sysdeps/powerpc/fpu_control.h: ... here.
40000 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40001 * sysdeps/powerpc/bits/fenvinline.h: ... here.
40002 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40003 * sysdeps/powerpc/bits/mathinline.h: ... here.
40005 2013-03-01 Roland McGrath <roland@hack.frob.com>
40007 * elf/dl-hwcaps.c (_dl_important_hwcaps):
40008 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40009 to just [NEED_DL_SYSINFO_DSO].
40010 * elf/dl-support.c: Likewise.
40011 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40012 * elf/rtld.c (dl_main): Likewise.
40013 * elf/setup-vdso.h (setup_vdso): Likewise.
40014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40015 * sysdeps/unix/sysv/linux/dl-sysdep.c
40016 (_dl_discover_osversion): Likewise.
40018 2013-03-01 Carlos O'Donell <carlos@redhat.com>
40020 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40023 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40025 * NEWS: Mention libm performance improvements and non-x86 PI
40028 * csu/libc-start.c (__pthread_initialize_minimal): Change
40029 function arguments.
40030 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40032 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40035 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40037 <bp-sym.h> and <bp-asm.h>.
40038 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40041 (memcpy): Don't use BP_SYM.
40042 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40044 (__mpn_add_n): Don't use BP_SYM.
40045 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40046 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40048 (__mpn_addmul_1): Don't use BP_SYM.
40049 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40050 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40052 (_setjmp): Don't use BP_SYM.
40053 (__novmx_setjmp): Likewise.
40054 (__GI__setjmp): Likewise.
40055 (__vmx_setjmp): Likewise.
40056 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40058 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40059 (__bzero): Don't use BP_SYM.
40060 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40061 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40062 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40063 <bp-sym.h> and <bp-asm.h>.
40064 (memcpy): Don't use BP_SYM.
40065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40066 <bp-sym.h> and <bp-asm.h>.
40067 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40069 <bp-sym.h> and <bp-asm.h>.
40070 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40071 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40073 (__mpn_lshift): Don't use BP_SYM.
40074 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40075 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40077 (memset): Don't use BP_SYM.
40078 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40079 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40080 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40082 (__mpn_mul_1): Don't use BP_SYM.
40083 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40084 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40085 <bp-sym.h> and <bp-asm.h>.
40086 (memcmp): Don't use BP_SYM.
40087 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40088 <bp-sym.h> and <bp-asm.h>.
40089 (memcpy): Don't use BP_SYM.
40090 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40091 <bp-sym.h> and <bp-asm.h>.
40092 (memset): Don't use BP_SYM.
40093 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40094 <bp-sym.h> and <bp-asm.h>.
40095 (strncmp): Don't use BP_SYM.
40096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40097 <bp-sym.h> and <bp-asm.h>.
40098 (memcpy): Don't use BP_SYM.
40099 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40100 <bp-sym.h> and <bp-asm.h>.
40101 (memset): Don't use BP_SYM.
40102 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40103 <bp-sym.h> and <bp-asm.h>.
40104 (__memchr): Don't use BP_SYM.
40105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40106 <bp-sym.h> and <bp-asm.h>.
40107 (memcmp): Don't use BP_SYM.
40108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40109 <bp-sym.h> and <bp-asm.h>.
40110 (memcpy): Don't use BP_SYM.
40111 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40112 <bp-sym.h> and <bp-asm.h>.
40113 (__mempcpy): Don't use BP_SYM.
40114 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40115 <bp-sym.h> and <bp-asm.h>.
40116 (__memrchr): Don't use BP_SYM.
40117 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40118 <bp-sym.h> and <bp-asm.h>.
40119 (memset): Don't use BP_SYM.
40120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40121 <bp-sym.h> and <bp-asm.h>.
40122 (__rawmemchr): Don't use BP_SYM.
40123 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40124 <bp-sym.h> and <bp-asm.h>.
40125 (__STRCMP): Don't use BP_SYM.
40126 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40127 <bp-sym.h> and <bp-asm.h>.
40128 (strchr): Don't use BP_SYM.
40129 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40130 <bp-sym.h> and <bp-asm.h>.
40131 (__strchrnul): Don't use BP_SYM.
40132 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40133 <bp-sym.h> and <bp-asm.h>.
40134 (strlen): Don't use BP_SYM.
40135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40136 <bp-sym.h> and <bp-asm.h>.
40137 (strncmp): Don't use BP_SYM.
40138 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40139 <bp-sym.h> and <bp-asm.h>.
40140 (__strnlen): Don't use BP_SYM.
40141 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40143 (__mpn_rshift): Don't use BP_SYM.
40144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40145 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40146 <bp-sym.h> and <bp-asm.h>.
40147 (__sigsetjmp): Don't use BP_SYM.
40148 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40149 (L(start_addresses)): Don't use BP_SYM.
40150 (_start): Likewise.
40151 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40153 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40154 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40155 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40156 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40158 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40159 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40160 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40161 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40163 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40166 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40168 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40170 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40171 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40172 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40174 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40176 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40178 (strncmp): Don't use BP_SYM,
40179 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40181 (__mpn_sub_n): Don't use BP_SYM.
40182 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40183 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40185 (__mpn_submul_1): Don't use BP_SYM.
40186 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40188 <bp-sym.h> and <bp-asm.h>.
40189 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40191 <bp-sym.h> and <bp-asm.h>.
40192 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40195 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40198 Use ZK to minimize writes to Z.
40199 (sub_magnitudes): Simplify code a bit.
40200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40201 Use ZK to minimize writes to Z.
40202 (sub_magnitudes): Simplify code a bit.
40204 2013-02-27 Roland McGrath <roland@hack.frob.com>
40206 * csu/gmon-start.c: Add special exception to license text.
40208 2013-02-27 Richard Henderson <rth@redhat.com>
40210 * scripts/config.guess: Update from config.git.
40211 * scripts/config.sub: Likewise.
40213 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40217 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40219 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40221 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40223 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40225 2013-02-26 Roland McGrath <roland@hack.frob.com>
40227 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40228 [$(build-shared = yes].
40230 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40232 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40233 (__mul): Reduce iterations for calculating mantissa.
40235 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40237 (__mpranred): Likewise.
40240 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40241 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40243 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40245 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40246 Define __attribute__.
40248 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40250 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40252 * posix/regex_internal.h (__attribute): Remove.
40253 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40254 (re_string_context_at): Likewise.
40255 (bitset_not): Use __attribute__ and mark function as possibly
40257 (bitset_merge): Likewise.
40258 (bitset_mask): Likewise.
40259 (re_string_char_size_at): Likewise.
40260 (re_string_wchar_at): Likewise.
40261 (re_string_elem_size_at): Likewise.
40263 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40265 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40269 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40273 (denorm): Likewise.
40274 (__dbl_mp): Likewise.
40275 (add_magnitudes): Likewise.
40276 (sub_magnitudes): Likewise.
40280 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40283 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40286 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40290 up changes with default code.
40291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40294 2013-02-24 Allan McRae <allan@archlinux.org>
40296 * manual/socket.texi (The Internet Namespace): Order menu items
40297 to match that in the file.
40299 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40300 node listing of the info page menu.
40302 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40305 * sysdeps/i386/bp-asm.h: Remove file.
40306 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40307 (PARMS): Do not use macros from bp-asm.h.
40311 (__mpn_add_n): Do not use BP_SYM
40312 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40314 (PARMS): Do not use macros from bp-asm.h.
40317 (__mpn_addmul_1): Do not use BP_SYM
40318 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40320 (PARMS): Do not use macros from bp-asm.h.
40321 (SIGMSK): Likewise.
40322 (_setjmp): Likewise. Do not use BP_SYM.
40323 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40325 (PARMS): Do not use macros from bp-asm.h.
40326 (SIGMSK): Likewise.
40327 (setjmp): Likewise. Do not use BP_SYM.
40328 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40330 (PARMS): Do not use macros from bp-asm.h.
40331 (__frexp): Do not use BP_SYM.
40333 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40335 (PARMS): Do not use macros from bp-asm.h.
40336 (__frexpf): Do not use BP_SYM.
40337 (frexpf): Likewise.
40338 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40340 (PARMS): Do not use macros from bp-asm.h.
40341 (__frexpl): Do not use BP_SYM.
40342 (frexpl): Likewise.
40343 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40345 (PARMS): Do not use macros from bp-asm.h.
40346 (__remquo): Do not use BP_SYM.
40347 (remquo): Likewise.
40348 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40350 (PARMS): Do not use macros from bp-asm.h.
40351 (__remquof): Do not use BP_SYM.
40352 (remquof): Likewise.
40353 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40355 (PARMS): Do not use macros from bp-asm.h.
40356 (__remquol): Do not use BP_SYM.
40357 (remquol): Likewise.
40358 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40360 (PARMS): Do not use macros from bp-asm.h.
40363 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40364 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40366 (PARMS): Do not use macros from bp-asm.h.
40367 (strlen): Do not use BP_SYM.
40368 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40370 (PARMS): Do not use macros from bp-asm.h.
40374 (__mpn_add_n): Do not use BP_SYM.
40375 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40377 (PARMS): Do not use macros from bp-asm.h.
40380 (__mpn_addmul_1): Do not use BP_SYM.
40381 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40384 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40386 (PARMS): Do not use macros from bp-asm.h.
40389 (__mpn_lshift): Do not use BP_SYM.
40390 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40392 (PARMS): Do not use macros from bp-asm.h.
40396 (memcpy): Likewise. Do not use BP_SYM.
40397 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40398 libc_hidden_def and weak_alias.
40399 (mempcpy): Do not use BP_SYM in weak_alias.
40400 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40402 (PARMS): Do not use macros from bp-asm.h.
40405 [!BZERO_P] (CHR): Likewise.
40406 (memset): Likewise. Do not use BP_SYM.
40407 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40409 (PARMS): Do not use macros from bp-asm.h.
40412 (__mpn_mul_1): Do not use BP_SYM.
40413 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40415 (PARMS): Do not use macros from bp-asm.h.
40418 (__mpn_rshift): Do not use BP_SYM.
40419 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40421 (PARMS): Do not use macros from bp-asm.h.
40424 (strchr): Likewise. Do not use BP_SYM.
40425 (index): Do not use BP_SYM in weak_alias.
40426 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40428 (PARMS): Do not use macros from bp-asm.h.
40431 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40432 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40434 (PARMS): Do not use macros from bp-asm.h.
40435 (strlen): Do not use BP_SYM.
40436 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40438 (PARMS): Do not use macros from bp-asm.h.
40442 (__mpn_sub_n): Do not use BP_SYM.
40443 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40445 (PARMS): Do not use macros from bp-asm.h.
40448 (__mpn_submul_1): Do not use BP_SYM.
40449 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40451 (PARMS): Do not use macros from bp-asm.h.
40455 (__mpn_add_n): Do not use BP_SYM.
40456 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40459 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40461 (PARMS): Do not use macros from bp-asm.h.
40464 (memcmp): Do not use BP_SYM.
40465 (bcmp): Do not use BP_SYM in weak_alias.
40466 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40468 (PARMS): Do not use macros from bp-asm.h.
40472 (memcpy): Likewise. Do not use BP_SYM.
40473 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40475 (PARMS): Do not use macros from bp-asm.h.
40479 (memmove): Likewise. Do not use BP_SYM.
40480 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40482 (PARMS): Do not use macros from bp-asm.h.
40486 (__mempcpy): Likewise. Do not use BP_SYM.
40487 (mempcpy): Do not use BP_SYM in weak_alias.
40488 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40490 (PARMS): Do not use macros from bp-asm.h.
40493 [!BZERO_P] (CHR): Likewise.
40494 (memset): Likewise. Do not use BP_SYM.
40495 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40497 (PARMS): Do not use macros from bp-asm.h.
40499 (strcmp): Do not use BP_SYM.
40500 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40502 (PARMS): Do not use macros from bp-asm.h.
40505 [USE_AS_STRTOK_R] (SAVE): Likewise.
40506 (FUNCTION): Likewise. Do not use BP_SYM.
40507 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40509 (strtok_r): Likewise.
40510 (__GI___strtok_r): Likewise.
40511 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40512 (PARMS): Do not use macros from bp-asm.h.
40515 (__mpn_lshift): Do not use BP_SYM.
40516 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40517 (PARMS): Do not use macros from bp-asm.h.
40520 (__memchr): Do not use BP_SYM.
40521 (memchr): Do not use BP_SYM in weak_alias.
40522 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40523 (PARMS): Do not use macros from bp-asm.h.
40526 (memcmp): Do not use BP_SYM.
40527 (bcmp): Do not use BP_SYM in weak_alias.
40528 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40529 (PARMS): Do not use macros from bp-asm.h.
40532 (__mpn_mul_1): Do not use BP_SYM.
40533 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40535 (PARMS): Do not use macros from bp-asm.h.
40538 (__rawmemchr): Do not use BP_SYM.
40539 (rawmemchr): Do not use BP_SYM in weak_alias.
40540 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40541 (PARMS): Do not use macros from bp-asm.h.
40544 (__mpn_rshift): Do not use BP_SYM.
40545 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40546 (PARMS): Do not use macros from bp-asm.h.
40547 (SIGMSK): Likewise.
40548 (__sigsetjmp): Likewise. Do not use BP_SYM.
40549 * sysdeps/i386/start.S: Do not include "bp-sym.h".
40550 (_start): Do not use BP_SYM.
40551 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40552 (PARMS): Do not use macros from bp-asm.h.
40555 (__stpcpy): Likewise. Do not use BP_SYM.
40556 (stpcpy): Do not use BP_SYM in weak_alias.
40557 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40559 (PARMS): Do not use macros from bp-asm.h.
40563 (__stpncpy): Likewise. Do not use BP_SYM.
40564 (stpncpy): Do not use BP_SYM in weak_alias.
40565 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40566 (PARMS): Do not use macros from bp-asm.h.
40569 (strchr): Likewise. Do not use BP_SYM.
40570 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40572 (PARMS): Do not use macros from bp-asm.h.
40575 (__strchrnul): Likewise. Do not use BP_SYM.
40576 (strchrnul): Do not use BP_SYM in weak_alias.
40577 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40579 (PARMS): Do not use macros from bp-asm.h.
40581 (strcspn): Do not use BP_SYM.
40582 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40584 (PARMS): Do not use macros from bp-asm.h.
40587 (strpbrk): Likewise. Do not use BP_SYM.
40588 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40590 (PARMS): Do not use macros from bp-asm.h.
40593 (strrchr): Likewise. Do not use BP_SYM.
40594 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40595 (PARMS): Do not use macros from bp-asm.h.
40597 (strspn): Do not use BP_SYM.
40598 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40599 (PARMS): Do not use macros from bp-asm.h.
40603 (FUNCTION): Likewise. Do not use BP_SYM.
40604 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
40606 (strtok_r): Likewise.
40607 (__GI___strtok_r): Likewise.
40608 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40609 (PARMS): Do not use macros from bp-asm.h.
40613 (__mpn_sub_n): Do not use BP_SYM.
40614 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
40616 (PARMS): Do not use macros from bp-asm.h.
40619 (__mpn_submul_1): Do not use BP_SYM.
40620 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
40622 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
40624 (PARMS): Do not use macros from bp-asm.h.
40629 (__clone): Do not use BP_SYM.
40630 (clone): Do not use BP_SYM in weak_alias.
40631 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
40633 (PARMS): Do not use macros from bp-asm.h.
40635 (__mmap64): Do not use BP_SYM.
40636 (mmap64): Do not use BP_SYM in weak_alias.
40637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40638 <bp-sym.h> and <bp-asm.h>.
40639 (PARMS): Do not use macros from bp-asm.h.
40640 (__posix_fadvise64_l64): Do not use BP_SYM.
40641 * sysdeps/unix/sysv/linux/i386/semtimedop.S
40642 (PARMS): Do not use macros from bp-asm.h.
40644 (semtimedop): Do not use BP_SYM.
40645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
40648 2013-02-21 Allan McRae <allan@archlinux.org>
40650 * manual/message.texi (Charset conversion in gettext):
40651 Move @end statement to beginning of line.
40653 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
40657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40660 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
40661 (denorm): Likewise.
40662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
40663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
40665 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40667 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
40668 tail-call to the resolved function if pltexit isn't needed.
40670 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
40673 or Y being zero as being unlikely.
40674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40677 2013-02-20 Carlos O'Donell <carlos@redhat.com>
40679 * manual/nss.texi (System Databases and Name Service Switch):
40680 Remove frobnicate @pxref.
40682 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40684 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40685 __attribute__ ((unused)) to __attribute__ ((__unused__)).
40687 2013-02-20 Petr Machata <pmachata@redhat.com>
40689 * elf/elf.h (R_ARM_TARGET1): New macro.
40690 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
40691 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
40692 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
40693 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
40694 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
40695 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
40696 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
40697 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
40698 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
40699 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
40700 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
40701 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
40702 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
40703 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
40704 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
40705 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
40706 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
40707 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
40708 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
40709 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
40710 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
40711 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
40712 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
40713 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
40714 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
40715 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
40716 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
40717 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
40718 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
40719 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
40720 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
40721 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
40722 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
40723 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
40724 (R_ARM_THM_GOT_BREL12): Likewise.
40725 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40726 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
40727 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
40728 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
40729 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
40730 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
40731 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
40732 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
40733 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
40735 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
40737 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
40738 __attribute_used__ to __attribute__ ((unused)).
40740 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40742 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
40744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
40745 comment formatting.
40746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
40748 2013-02-19 Joseph Myers <joseph@codesourcery.com>
40751 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
40753 (ENTER): Remove both macro definitions.
40755 (CHECK_BOUNDS_LOW): Likewise.
40756 (CHECK_BOUNDS_HIGH): Likewise.
40757 (CHECK_BOUNDS_BOTH): Likewise.
40758 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
40759 (RETURN_BOUNDED_POINTER): Likewise.
40760 (RETURN_NULL_BOUNDED_POINTER): Likewise.
40761 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
40762 (POP_ERRNO_LOCATION_RETURN): Likewise.
40763 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
40764 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40765 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
40767 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40768 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
40769 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
40770 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
40771 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
40772 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
40773 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
40774 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
40775 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
40776 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
40777 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
40778 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40779 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40780 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
40782 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40783 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
40785 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40786 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
40787 * sysdeps/i386/i586/memset.S (memset): Likewise.
40788 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
40789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40790 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
40792 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40793 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
40794 Change uses of L(2) to L(out).
40795 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
40796 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
40797 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
40798 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40799 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
40801 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40802 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
40804 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40805 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
40806 (RETURN): Do not use macro LEAVE.
40807 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
40808 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
40809 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
40810 * sysdeps/i386/i686/memset.S (memset): Likewise.
40811 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
40812 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
40813 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40814 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
40816 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40817 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
40818 L(1_2) and L(1_3) into L(1).
40819 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40820 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
40821 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40822 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
40823 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40824 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
40825 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
40826 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40827 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
40829 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
40830 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40831 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
40832 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
40833 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
40834 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40835 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
40836 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
40837 * sysdeps/i386/strcspn.S (strcspn): Likewise.
40838 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
40839 * sysdeps/i386/strrchr.S (strrchr): Likewise.
40840 * sysdeps/i386/strspn.S (strspn): Likewise.
40841 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
40843 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40844 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
40845 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
40846 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
40847 L(1_3) into L(1_1).
40848 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
40849 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40850 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
40852 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40854 2013-02-19 Jakub Jelinek <jakub@redhat.com>
40856 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
40859 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40861 * math/atest-exp.c (exp_mpn): Remove ROUND.
40862 * math/atest-exp2.c (exp_mpn): Likewise.
40863 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
40865 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
40866 * stdlib/tst-tls-atexit-lib.c: Likewise.
40867 * stdlib/tst-tls-atexit.c: Likewise.
40869 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40871 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
40872 and __attribute_alloc_size__.
40874 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40876 * include/programs/xmalloc.h: Change __attribute_alloc_size to
40877 __attribute_alloc_size__.
40878 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
40879 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
40881 2013-02-18 Mike Frysinger <vapier@gentoo.org>
40883 * include/programs/xmalloc.h: New file.
40884 * catgets/gencat.c: Include it.
40885 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
40886 * elf/pldd.c: Likewise.
40887 * iconv/iconv_charmap.c: Likewise.
40888 * iconv/iconvconfig.c: Likewise.
40889 * iconv/strtab.c: Likewise.
40890 * locale/programs/locale.c: Likewise.
40891 * locale/programs/localedef.h: Likewise.
40892 * locale/programs/simple-hash.c: Likewise.
40893 * nscd/nscd.h: Likewise.
40894 * nss/makedb.c: Likewise.
40895 * sysdeps/generic/ldconfig.h: Likewise.
40897 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40899 * Versions.def: Add GLIBC_2.18.
40900 * include/link.h (struct link_map): New member l_tls_dtor_count.
40901 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
40902 (__call_tls_dtors): Likewise.
40903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
40904 __cxa_thread_atexit_impl.
40905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
40916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
40918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40921 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
40922 (tests): Add test case tst-tls-atexit.
40923 (modules-names): Add shared library for tst-tls-atexit.
40924 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
40925 (GLIBC_PRIVATE): Add __call_tls_dtors.
40926 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
40928 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
40929 * stdlib/tst-tls-atexit.c: New test case.
40930 * stdlib/tst-tls-atexit-lib.c: New test case.
40932 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
40934 * elf/Versions (ld): Add _dl_find_dso_for_object.
40935 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
40936 * elf/dl-open.c (_dl_find_dso_for_object): New function.
40937 (dl_open_worker): Use _dl_find_dso_for_object.
40938 * elf/dl-sym.c (do_sym): Likewise.
40939 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
40941 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40943 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
40944 Syntactic changes only.
40945 (_dl_runtime_profile): Do a tail-call to the resolved function.
40947 2013-02-17 Joseph Myers <joseph@codesourcery.com>
40950 * sysdeps/x86_64/bp-asm.h: Remove file.
40951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
40952 <bp-sym.h> and <bp-asm.h>.
40953 (__clone): Do not use BP_SYM.
40954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
40955 <bp-sym.h> and <bp-asm.h>.
40956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40957 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40959 (_setjmp): Do not use BP_SYM.
40960 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40962 (setjmp): Do not use BP_SYM.
40963 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40965 (mempcpy): Do not use BP_SYM in weak_alias.
40966 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40968 (strchr): Do not use BP_SYM.
40969 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40971 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40972 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40973 (_start): Do not use BP_SYM.
40974 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40976 (strcat): Do not use BP_SYM.
40977 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40979 (STRCMP): Do not use BP_SYM.
40980 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40982 (STRCPY): Do not use BP_SYM.
40983 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40985 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40987 (FUNCTION): Do not use BP_SYM.
40988 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40990 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40992 2013-02-17 Andreas Jaeger <aj@suse.de>
40994 * time/Versions: Sort entries.
40995 * string/Versions: Likewise.
40996 * resolv/Versions: Likewise.
40997 * posix/Versions: Likewise.
40998 * iconv/Versions: Likewise.
40999 * elf/Versions: Likewise.
41000 * wcsmbs/Versions: Likewise.
41002 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41004 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41005 loop termination condition.
41007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41008 variable to calculate EZ.
41011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41012 the lower precision input.
41014 2013-02-15 Joseph Myers <joseph@codesourcery.com>
41017 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41018 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41019 (run-via-rtld-prefix): Do not handle %-bp tests.
41020 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41021 (all-object-suffixes): Remove .ob.
41022 (bppfx): Remove variable.
41023 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41024 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41025 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41026 [$(build-bounded) = yes] (libtype.ob): Likewise.
41027 * Makerules (elide-routines.ob): Remove variable.
41028 (do-tests-clean): Do not handle *-bp.out.
41029 (common-mostlyclean): Do not handle *-bp and *-bp.out.
41030 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41031 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41032 (tests): Do not include $(tests-bp.out).
41033 (xtests): Do not include $(xtests-bp.out).
41034 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41035 [$(build-bounded) = yes] ($(addprefix
41036 $(objpfx),$(binaries-bounded))): Remove rule.
41037 ($(objpfx)%-bp.out): Remove rule.
41038 * config.make.in (build-bounded): Remove variable.
41039 * crypt/Makefile [$(build-bounded) = yes]
41040 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41041 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41042 append to variable.
41043 [$(build-bounded) = yes] (install-lib): Likewise.
41044 [$(build-bounded) = yes] (generated): Likewise.
41045 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41047 * intl/Makefile [$(build-bounded) = yes]
41048 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41049 * math/Makefile [$(build-bounded) = yes]
41050 ($(tests:%=$(objpfx)%-bp): Likewise.
41051 * misc/Makefile [$(build-bounded) = yes]
41052 ($(objpfx)tst-tsearch-bp): Likewise.
41053 * nptl/Makeconfig (bounded-thread-library): Remove variable.
41054 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41056 * string/Makefile (o-objects.ob): Remove variable.
41057 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41058 (CFLAGS-.ob): Remove variable.
41059 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41060 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41061 both definitions of variable.
41062 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41063 (ASFLAGS-.ob): Remove variable.
41065 2013-02-14 Joseph Myers <joseph@codesourcery.com>
41068 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41069 Remove __BOUNDED_POINTERS__ from condition.
41070 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41071 * string/bits/string2.h [!__NO_STRING_INLINES &&
41072 !__BOUNDED_POINTERS__]: Likewise.
41073 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41075 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41076 Remove conditional code.
41077 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41078 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41079 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41083 * csu/libc-start.c: Do not include <bp-sym.h>.
41084 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41085 * elf/dl-open.c: Do not include <bp-sym.h>.
41086 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41087 * math/fegetenv.c: Do not include <bp-sym.h>.
41088 (fegetenv): Do not use BP_SYM in versioned symbols.
41089 * nptl/sysdeps/pthread/bits/libc-lockP.h
41090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41093 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41095 (__pthread_mutex_destroy): Likewise.
41096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41097 (__pthread_mutex_lock): Likewise.
41098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41099 (__pthread_mutex_trylock): Likewise.
41100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41101 (__pthread_mutex_unlock): Likewise.
41102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41103 (__pthread_mutexattr_init): Likewise.
41104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41105 (__pthread_mutexattr_destroy): Likewise.
41106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41107 (__pthread_mutexattr_settype): Likewise.
41108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41109 (__pthread_rwlock_init): Likewise.
41110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41111 (__pthread_rwlock_destroy): Likewise.
41112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41113 (__pthread_rwlock_rdlock): Likewise.
41114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41115 (__pthread_rwlock_tryrdlock): Likewise.
41116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41117 (__pthread_rwlock_wrlock): Likewise.
41118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41119 (__pthread_rwlock_trywrlock): Likewise.
41120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41121 (__pthread_rwlock_unlock): Likewise.
41122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41123 (__pthread_key_create): Likewise.
41124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41125 (__pthread_setspecific): Likewise.
41126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41127 (__pthread_getspecific): Likewise.
41128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41131 (_pthread_cleanup_push_defer): Likewise.
41132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41133 (_pthread_cleanup_pop_restore): Likewise.
41134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41135 (pthread_setcancelstate): Likewise.
41136 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41138 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41139 (memchr): Do not use BP_SYM in weak_alias.
41140 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41141 (fegetenv): Do not use BP_SYM in versioned symbols.
41142 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41143 (fesetenv): Do not use BP_SYM in versioned symbols.
41144 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41145 (feupdateenv): Do not use BP_SYM in versioned symbols.
41146 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41147 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41148 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41149 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41150 (open64): Do not use BP_SYM in weak_alias.
41151 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41152 (fegetenv): Do not use BP_SYM in versioned symbols.
41153 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41154 (fesetenv): Do not use BP_SYM in versioned symbols.
41155 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41156 (feupdateenv): Do not use BP_SYM in versioned symbols.
41157 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41158 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41159 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41160 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41161 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41162 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41163 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41165 (__libc_start_main): Do not use BP_SYM.
41167 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41170 redundant return line.
41172 (denorm): Likewise.
41173 (dbl_mp): Likewise.
41174 (sub_magnitudes): Likewise.
41180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41182 (denorm): Likewise.
41183 (dbl_mp): Likewise.
41184 (sub_magnitudes): Likewise.
41191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41193 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41194 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41197 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41198 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41200 of __mul for squares.
41201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41205 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41206 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41208 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41211 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41213 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41214 prototype or function definition. Rename ubp_* variables and
41215 parameters. Remove argv definitions conditional on
41216 [__BOUNDED_POINTERS__].
41217 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41218 * elf/dl-runtime.c (_dl_fixup): Likewise.
41219 * include/set-hooks.h (RUN_HOOK): Likewise.
41220 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41222 * string/strcpy.c (strcpy): Do not use __unbounded.
41223 * sysdeps/generic/frame.h (struct layout): Likewise.
41224 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41225 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41226 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41227 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41228 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41229 (__backtrace): Likewise.
41230 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41232 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41233 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41234 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41236 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41237 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41238 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41239 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41240 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41241 Do not use __unbounded.
41242 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41243 Rename __unboundedrlimits parameter to rlimits in prototype.
41244 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41245 Do not use __unbounded.
41246 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41247 not use __ptrvalue.
41248 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41249 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41250 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41251 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41252 __ptrvalue or __unbounded.
41253 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41254 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41256 (__new_msgctl): Do not use __ptrvalue.
41257 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41259 (__libc_msgrcv): Do not use __ptrvalue.
41260 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41261 startup_info): Do not use __unbounded.
41262 (__libc_start_main): Likewise. Rename ubp_* variables and
41263 parameters. Remove argv definitions conditional on
41264 [__BOUNDED_POINTERS__].
41265 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41267 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41269 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41271 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41273 (__new_shmctl): Do not use __ptrvalue.
41274 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41275 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41277 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41279 (__libc_sigaction): Likewise.
41280 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41281 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41283 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41285 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41287 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41289 * string/mempcpy.c: Implement by calling memcpy.
41291 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41299 values in the mantissa.
41301 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41302 minimize writes to Z.
41303 (sub_magnitudes): Simplify code a bit.
41305 2013-02-12 Roland McGrath <roland@hack.frob.com>
41307 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41308 from the message. The linker prefixes all warnings with that already.
41310 2013-02-12 Andreas Schwab <schwab@suse.de>
41313 * posix/regexec.c (extend_buffers): Add parameter min_len.
41314 (check_matching): Pass minimum needed length.
41315 (clean_state_log_if_needed): Likewise.
41316 (get_subexp): Likewise.
41317 * posix/Makefile (tests): Add bug-regex34.
41318 (bug-regex34-ENV): Define.
41319 * posix/bug-regex34.c: New file.
41322 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41323 elements compare against the byte sequence of it, not its name.
41324 * posix/Makefile (tests): Add bug-regex35.
41325 (bug-regex35-ENV): Define.
41326 * posix/bug-regex35.c: New file.
41328 2013-02-11 Tom de Vries <tom@codesourcery.com>
41330 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41332 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41333 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41334 (CHECK_EOL): Add undef.
41336 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41338 * bits/stdlib-bsearch.h: New file.
41339 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41340 * stdlib/stdlib.h: Likewise.
41342 2013-02-11 Roland McGrath <roland@hack.frob.com>
41344 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41345 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41347 * manual/search.texi (Array Search Function): Add missing const in
41349 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41350 declaration to use rlim_t.
41351 (Basic Scheduling Functions): Remove erroneous const from
41352 sched_getparam prototype. Remove erroneous * from
41353 sched_get_priority_max and sched_get_priority_min prototypes.
41354 (Resource Usage): Fix summary @comment on vtimes to refer to
41355 sys/vtimes.h rather than vtimes.h.
41356 Add missing *s in vtimes prototype.
41357 (Limits on Resources): Fix ulimit prototype to return long int.
41358 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41359 prototypes to use long int rather than double.
41360 (BSD Random): Fix initstate and setstate to use char *, not void *.
41361 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41362 prototype to make second argument 'struct aiocb64 *const[]'.
41363 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41364 (Status of AIO Operations): Remove erroneous const in aio_return and
41365 aio_return64 prototypes.
41366 (Synchronizing I/O): Fix sync prototype to return void.
41367 * manual/startup.texi (Suboptions): Remove an erroneous const in
41368 getsubopt prototype.
41369 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41370 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41371 use size_t rather than int.
41372 (Scanning All Users): Likewise for getpwent_r.
41373 (Setting Groups): Add missing const to setgroups prototype.
41374 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41375 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41376 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41377 'const void *' rather than 'const char *'.
41378 (Host Address Functions): Likewise for inet_ntop.
41379 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41380 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41381 ssize_t for return value.
41382 (Sending Data): Likewise for send, sendto, sendmsg.
41383 (Socket Option Functions): Add a missing const in setsockopt prototype.
41384 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41385 use wchar_t for the argument.
41386 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41387 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41389 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41390 double/float/long double for second argument.
41391 Fix return types of significand, significandf, significandl.
41392 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41393 argument in fchmod prototype.
41394 (File Owner): Use uid_t and gid_t in fchown prototype.
41395 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41396 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41397 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41398 use 'const struct dirent **' as argument types to CMP function pointer
41400 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41401 (File Times): Fix summary magic @comment for struct utimbuf and utime
41402 to refer to utime.h, not time.h.
41403 * manual/string.texi (Argz Functions): Add missing const in
41404 argz_extract and argz_next prototypes.
41405 (Finding Tokens in a String): Likewise for basename.
41406 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41407 (Copying and Concatenation): Fix typo in wmemmove prototype.
41408 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41409 (Signal Stack): Remove erroneous const in sigstack prototype.
41410 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41412 (Simple Calendar Time): Likewise for stime.
41413 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41415 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41416 say sys/sysctl.h instead.
41417 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41418 and vsyslog prototypes.
41420 2013-02-11 Tom de Vries <tom@codesourcery.com>
41422 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41425 2013-02-11 Roland McGrath <roland@hack.frob.com>
41427 * misc/sys/mman.h: Fix typo in mremap comment.
41429 2013-02-08 Roland McGrath <roland@hack.frob.com>
41431 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41432 the '\0' terminator.
41434 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41437 * debug/segfault.c: Don't include <bp-checks.h>.
41438 * sysdeps/generic/bp-checks.h: Remove file.
41439 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41440 (__GETDENTS): Don't use CHECK_N.
41441 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41442 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41443 (__getgroups): Don't use CHECK_N.
41444 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41445 (setgroups): Don't use CHECK_N.
41446 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41447 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41448 (__libc_msgrcv): Don't use CHECK_N.
41449 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41450 (__libc_msgsnd): Don't use CHECK_N.
41451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41453 (__libc_pread): Don't use CHECK_N.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41455 include <bp-checks.h>.
41456 (__libc_pread64): Don't use CHECK_N.
41457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41458 include <bp-checks.h>.
41459 (__libc_pwrite): Don't use CHECK_N.
41460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41461 include <bp-checks.h>.
41462 (__libc_pwrite64): Don't use CHECK_N.
41463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41465 (__libc_pread): Don't use CHECK_N.
41466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41467 include <bp-checks.h>.
41468 (__libc_pread64): Don't use CHECK_N.
41469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41470 include <bp-checks.h>.
41471 (__libc_pwrite): Don't use CHECK_N.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41473 include <bp-checks.h>.
41474 (__libc_pwrite64): Don't use CHECK_N.
41475 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41476 (do_pread): Don't use CHECK_N.
41477 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41478 (do_pread64): Don't use CHECK_N.
41479 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41480 (do_pwrite): Don't use CHECK_N.
41481 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41482 (do_pwrite64): Don't use CHECK_N.
41483 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41484 (__libc_readv): Don't use CHECK_N.
41485 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41486 (semop): Don't use CHECK_N.
41487 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41489 (semtimedop): Don't use CHECK_N.
41490 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41491 (__libc_pread): Don't use CHECK_N.
41492 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41494 (__libc_pread64): Don't use CHECK_N.
41495 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41497 (__libc_pwrite): Don't use CHECK_N.
41498 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41500 (__libc_pwrite64): Don't use CHECK_N.
41501 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41503 (__libc_msgrcv): Don't use CHECK_N.
41504 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41505 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
41506 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41507 (__libc_writev): Don't use CHECK_N.
41509 2013-02-08 Roland McGrath <roland@hack.frob.com>
41511 * string/strcpy.c: Removed unused variable.
41513 * Makeconfig (+sysdep-includes): Define with := rather than =.
41514 Use an existing include/ subdir of each sysdeps dir before it.
41516 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41518 * nscd/connection.c (register_traced_file): Comment function.
41519 [HAVE_INOTIFY] (union __inev): Define.
41520 [HAVE_INOTIFY] (inotify_check_files): New function.
41521 [HAVE_INOTIFY] (clear_db_cache): Likewise.
41522 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41524 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41526 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41528 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41529 loaded if not already and that a failure is permanent.
41531 2013-02-08 Carlos O'Donell <carlos@redhat.com>
41534 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41535 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41537 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41540 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41541 (CHECK_1_NULL_OK): Likewise.
41542 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41543 (__fxstat): Do not use CHECK_1.
41544 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41546 (___fxstat64): Do not use CHECK_1.
41547 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41549 (__fxstatat): Do not use CHECK_1.
41550 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41552 (__fxstatat64): Do not use CHECK_1.
41553 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41555 (__fxstat): Do not use CHECK_1.
41556 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41558 (__fxstatat): Do not use CHECK_1.
41559 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41561 (__getresgid): Do not use CHECK_1.
41562 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41564 (__getresuid): Do not use CHECK_1.
41565 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41567 (__lxstat): Do not use CHECK_1.
41568 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41570 (__old_msgctl): Do not use CHECK_1.
41571 (__new_msgctl): Likewise.
41572 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41574 (__new_setrlimit): Do not use CHECK_1.
41575 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41577 (__old_shmctl): Do not use CHECK_1.
41578 (__new_shmctl): Likewise.
41579 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41581 (__xstat): Do not use CHECK_1.
41582 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41583 (__lxstat): Do not use CHECK_1.
41584 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41586 (___lxstat64): Do not use CHECK_1.
41587 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41588 (__old_msgctl): Do not use CHECK_1.
41589 (__new_msgctl): Likewise.
41590 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41592 (__gettimeofday): Do not use CHECK_1.
41593 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41594 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41597 (__gettimeofday): Do not use CHECK_1.
41598 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41599 (__old_shmctl): Do not use CHECK_1_NULL_OK.
41600 (__new_shmctl): Do not use CHECK_1.
41601 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
41603 (do_sigtimedwait): Do not use CHECK_1.
41604 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
41606 (do_sigwaitinfo): Do not use CHECK_1.
41607 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
41609 (msgctl): Do not use CHECK_1.
41610 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
41612 (shmctl): Do not use CHECK_1.
41613 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
41614 (ustat): Do not use CHECK_1.
41615 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
41617 (__fxstat): Do not use CHECK_1.
41618 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41620 (__fxstatat): Do not use CHECK_1.
41621 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
41623 (__lxstat): Do not use CHECK_1.
41624 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
41626 (__xstat): Do not use CHECK_1.
41627 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
41628 (__xstat): Do not use CHECK_1.
41629 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
41630 (___xstat64): Do not use CHECK_1.
41633 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
41635 (CHECK_BOUNDS_HIGH): Likewise.
41636 * string/strcpy.c: Do not include <bp-checks.h>.
41637 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
41639 2013-02-07 Roland McGrath <roland@hack.frob.com>
41641 * nscd/nscd-client.h (__nscd_drop_map_ref):
41642 Add __attribute__ ((unused)).
41643 * nis/nss-nisplus.h (niserr2nss): Likewise.
41645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
41646 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
41648 * csu/libc-tls.c (init_static_tls, init_slotinfo):
41649 Remove inline keyword.
41650 * include/rounding-mode.h (round_away): Likewise.
41651 * libio/wfileops.c (adjust_wide_data): Likewise.
41652 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
41653 (__m128i_strloadu_tolower): Likewise.
41654 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
41655 (__m128i_strloadu_tolower): Likewise.
41656 * time/mktime.c (ydhms_diff): Likewise.
41657 * locale/elem-hash.h (elem_hash): Likewise.
41658 * locale/setlocale.c (setdata): Likewise.
41659 * posix/regex_internal.h (re_string_char_size_at): Likewise.
41660 (re_string_wchar_at): Likewise.
41661 (bitset_not, bitset_merge, bitset_mask): Likewise.
41662 [!(__GNUC__ > 3)] (inline): Remove macro.
41663 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
41664 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
41665 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
41666 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
41667 * string/memcmp.c (memcmp_bytes): Likewise.
41668 * locale/programs/locarchive.c (compute_hashval): Likewise.
41669 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
41670 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
41671 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
41672 * nss/getent.c (print_rpc, print_protocols): Likewise.
41673 (print_passwd, print_group, print_aliases): Likewise.
41674 * nis/nss-nisplus.h (niserr2nss): Likewise.
41675 * nscd/connections.c (restart_p): Likewise.
41676 Change return type to bool.
41678 2013-02-05 Roland McGrath <roland@hack.frob.com>
41680 * Makeconfig (all-Depend-files): Add existing
41681 $(sorted-subdirs:=/Depend) files.
41682 (all-subdirs): Remove nss.
41683 * sysdeps/unix/inet/Subdirs: Add it here instead.
41684 * hesiod/Depend: New file.
41686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
41687 instead of calling alloca.
41689 * io/lseek.c (__lseek): Rename to __libc_lseek.
41690 Define __lseek as an alias.
41692 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
41694 2013-02-04 Carlos O'Donell <carlos@redhat.com>
41696 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
41697 else clause and remove check for non-standard endianness.
41699 2013-02-04 David S. Miller <davem@davemloft.net>
41701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41703 2013-02-04 Joseph Myers <joseph@codesourcery.com>
41706 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
41707 (__ubp_memchr): Remove prototype.
41708 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
41709 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41710 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
41711 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
41712 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
41714 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
41715 (__ubp_memchr): Likewise.
41716 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
41717 (__ubp_memchr): Likewise.
41718 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
41719 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
41720 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
41721 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
41723 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41724 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
41725 (__getcwd): Do not use CHECK_STRING.
41726 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41728 (__real_chown): Do not use CHECK_STRING.
41729 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
41731 (fchownat): Do not use CHECK_STRING.
41732 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
41734 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41736 (__lchown): Do not use CHECK_STRING.
41737 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41738 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41739 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41740 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41742 include <bp-checks.h>.
41743 (truncate64): Do not use CHECK_STRING.
41744 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41746 (__real_chown): Do not use CHECK_STRING.
41747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41749 (__lchown): Do not use CHECK_STRING.
41750 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41752 (__chown): Do not use CHECK_STRING.
41753 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
41755 (truncate64): Do not use CHECK_STRING.
41756 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
41758 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
41759 (__xmknod): Do not use CHECK_STRING.
41760 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41762 (__xmknodat): Do not use CHECK_STRING.
41763 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41764 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41766 2013-02-04 Andreas Schwab <schwab@suse.de>
41769 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
41770 * include/netdb.h: Likewise for h_errno.
41771 * elf/tst-stackguard1.c: Include <tls.h>.
41773 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
41775 * elf/link.h (struct link_map): Extend the l_addr comment.
41776 * include/link.h (struct link_map): Likewise.
41778 2013-02-01 Joseph Myers <joseph@codesourcery.com>
41781 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
41782 (BOUNDED_1): Remove macro.
41783 * debug/backtrace.c: Don't include <bp-checks.h>.
41784 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
41785 (__backtrace): Likewise.
41786 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
41788 (__backtrace): Don't use BOUNDED_1.
41789 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
41791 (__backtrace): Don't use BOUNDED_1.
41792 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
41793 (__backtrace): Don't use BOUNDED_1.
41794 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
41795 (shmat): Don't use BOUNDED_N.
41797 2013-01-31 Joseph Myers <joseph@codesourcery.com>
41800 * sysdeps/generic/bp-start.h: Remove file.
41801 * csu/libc-start.c: Don't include <bp-start.h>.
41802 (LIBC_START_MAIN): Set up __environ directly instead of using
41803 INIT_ARGV_and_ENVIRON.
41804 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
41808 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
41810 (CHECK_FCNTL): Likewise.
41811 (CHECK_N_PAGES): Likewise.
41814 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
41816 (CHECK_SIGSET_NULL_OK): Likewise.
41817 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41819 (sigpending): Don't use CHECK_SIGSET.
41820 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
41822 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41823 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
41825 (do_sigsuspend): Don't use CHECK_SIGSET.
41826 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
41828 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
41829 (do_sigwait): Don't use CHECK_SIGSET.
41830 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
41832 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
41833 include <bp-checks.h>.
41834 (sigpending): Don't use CHECK_SIGSET.
41835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
41836 include <bp-checks.h>.
41837 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41838 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
41840 (sigpending): Don't use CHECK_SIGSET.
41841 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
41843 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
41846 * sysdeps/generic/bp-semctl.h: Remove file.
41847 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
41848 <bp-checks.h> and <bp-semctl.h>.
41849 (__old_semctl): Don't use CHECK_SEMCTL.
41850 (__new_semctl): Likewise.
41851 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
41853 (__old_semctl): Don't use CHECK_SEMCTL.
41854 (__new_semctl): Likewise.
41855 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
41856 <bp-checks.h> and <bp-semctl.h>.
41857 (__old_semctl): Don't use CHECK_SEMCTL.
41858 (__new_semctl): Likewise.
41859 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
41860 <bp-checks.h> and <bp-semctl.h>.
41861 (semctl): Don't use CHECK_SEMCTL.
41864 * Makerules (elide-bp-thunks): Remove variable.
41865 (elide-routines.oS): Don't use $(elide-bp-thunks).
41866 (elide-routines.os): Likewise.
41867 (elide-routines.o): Likewise.
41868 (elide-routines.op): Likewise.
41869 (elide-routines.og): Likewise.
41870 (objects): Don't use $(bp-thunks).
41871 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
41873 (common-generated): Do not add s-proto-bp.d.
41874 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
41877 Do not generate makefile rules for bounded-pointer thunks.
41878 * sysdeps/generic/bp-thunks.h: Remove file.
41879 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
41880 * sysdeps/unix/s-proto-bp.S: Likewise.
41883 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
41884 parts of result separately when argument is not close to line from
41885 -i to i and one part of argument is small.
41886 * math/k_casinhf.c (__kernel_casinhf): Likewise.
41887 * math/k_casinhl.c (__kernel_casinhl): Likewise.
41888 * math/libm-test.inc (cacos_test): Add more tests.
41889 (casin_test): Likewise.
41890 (casinh_test): Likewise.
41891 * sysdeps/i386/fpu/libm-test-ulps: Update.
41892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41894 2013-01-31 David S. Miller <davem@davemloft.net>
41896 * po/de.po: Update from translation team.
41898 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
41900 * time/tzfile.c: Include stdint.h for SIZE_MAX.
41902 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
41904 * configure.in (_AC_PROG_CC_C89): New definition.
41905 * configure: Regenerate.
41907 * configure.in (AC_PROG_CPP): New definition.
41908 * configure: Regenerate.
41910 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41912 * debug/tst-backtrace.h: New file.
41913 * debug/tst-backtrace2.c: Include tst-backtrace.h.
41914 (ret): Remove variable.
41916 (FAIL): Remove macro.
41917 (NO_INLINE): Likewise.
41918 (fn1): Use match function instead of strstr.
41919 * debug/tst-backtrace3.c: Include tst-backtrace.h.
41920 (ret): Remove variable.
41922 (FAIL): Remove macro.
41923 (NO_INLINE): Likewise.
41924 (fn): Use match function instead of strstr.
41925 * debug/tst-backtrace4.c: Include tst-backtrace.h.
41926 (ret): Remove variable.
41928 (FAIL): Remove macro.
41929 (NO_INLINE): Likewise.
41930 (handle_signal): Use match function instead of strstr.
41931 * debug/tst-backtrace5.c: Include tst-backtrace.h.
41932 (ret): Remove variable.
41934 (FAIL): Remove macro.
41935 (NO_INLINE): Likewise.
41936 (handle_signal): Use match function instead of strstr.
41938 2013-01-23 Roland McGrath <roland@hack.frob.com>
41940 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
41942 2013-01-23 David S. Miller <davem@davemloft.net>
41944 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
41945 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
41946 argument of CAS if possible.
41947 * sysdeps/sparc/sparc64/bits/atomic.h
41948 (__arch_compare_and_exchange_val_32_acq): Likewise.
41949 (__arch_compare_and_exchange_val_64_acq): Likewise.
41951 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
41953 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
41954 * sysdeps/posix/ulimit.c: ... this.
41955 Include <limits.h>.
41956 * sysdeps/unix/bsd/ulimit.c: Remove file.
41958 2013-01-23 Adam Conrad <adconrad@0c3.net>
41960 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41961 (LDFLAGS-tst-array5): Likewise.
41963 2013-01-23 Joseph Myers <joseph@codesourcery.com>
41966 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41967 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41968 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41969 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41971 2013-01-21 David S. Miller <davem@davemloft.net>
41973 * sysdeps/sparc/backtrace.c: New file.
41974 * sysdeps/sparc/sparc32/backtrace.h: New file.
41975 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41976 * sysdeps/sparc/sparc64/backtrace.h: New file.
41977 * sysdeps/sparc/sparc64/backtrace.c: Delete.
41978 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41981 2013-01-21 Andreas Schwab <schwab@suse.de>
41984 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41987 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
41989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41993 2013-01-18 Joseph Myers <joseph@codesourcery.com>
41994 Mark Mitchell <mark@codesourcery.com>
41995 Tom de Vries <tom@codesourcery.com>
41996 Paul Pluzhnikov <ppluzhnikov@google.com>
41998 * debug/tst-backtrace2.c: New file.
41999 * debug/tst-backtrace3.c: Likewise.
42000 * debug/tst-backtrace4.c: Likewise.
42001 * debug/tst-backtrace5.c: Likewise.
42002 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42003 (CFLAGS-tst-backtrace3.c): Likewise.
42004 (CFLAGS-tst-backtrace4.c): Likewise.
42005 (CFLAGS-tst-backtrace5.c): Likewise.
42006 (LDFLAGS-tst-backtrace2): Likewise.
42007 (LDFLAGS-tst-backtrace3): Likewise.
42008 (LDFLAGS-tst-backtrace4): Likewise.
42009 (LDFLAGS-tst-backtrace5): Likewise.
42010 (tests): Add new tests tst-backtrace2, tst-backtrace3,
42011 tst-backtrace4 and tst-backtrace5.
42013 2013-01-18 Anton Blanchard <anton@samba.org>
42014 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42016 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42017 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42018 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42019 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42021 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42022 "+r" and remove output regs list as redundant. Add explicit inline
42023 asm to specify register of return val to work around compiler codegen
42024 bug. Remove (int) cast on return value. Add return type parameter to
42025 use in macro so that this macro does not truncate return value for
42027 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42028 pass to INTERNAL_VSYSCALL_NCS.
42029 (INLINE_VSYSCALL): Add 'long int' as return type to
42030 INTERNAL_VSYSCALL_NCS macro invocation.
42031 (INTERNAL_VSYSCALL): Add 'long int' as return type to
42032 INTERNAL_VSYSCALL_NCS macro invocation.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42035 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42038 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42039 Fix application of SIMD FP exception mask.
42041 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42042 mp_no from a power of two.
42043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42044 __mpexp_twomm1. Use __pow_mp.
42046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42049 2013-01-17 David S. Miller <davem@davemloft.net>
42051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42053 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42056 * include/complex.h: Condition contents on [!_COMPLEX_H].
42057 (__kernel_casinhf): New prototype.
42058 (__kernel_casinh): Likewise.
42059 (__kernel_casinhl): Likewise.
42060 * math/Makefile (libm_calls): Add k_casinh.
42061 * math/k_casinh.c: New file.
42062 * math/k_casinhf.c: Likewise.
42063 * math/k_casinhl.c: Likewise.
42064 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42065 finite nonzero arguments.
42066 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42067 finite nonzero arguments.
42068 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42069 finite nonzero arguments.
42070 * math/s_casinh.c: Do not include <float.h>.
42071 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42072 * math/s_casinhf.c: Do not include <float.h>.
42073 (__casinhf): Move code for finite nonzero arguments to
42075 * math/s_casinhl.c: Do not include <float.h>.
42076 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42078 (__casinhl): Move code for finite nonzero arguments to
42080 * math/libm-test.inc (cacos_test): Add more tests.
42081 * sysdeps/i386/fpu/libm-test-ulps: Update.
42082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42084 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42086 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42087 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42088 [!HAVE_MREMAP]: Remove [defined linux] case.
42089 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42091 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42093 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42095 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42097 * elf/elf.h (R_386_SIZE32): New relocation.
42098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42100 (elf_machine_rela): Likewise.
42101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42102 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42104 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42106 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42107 (FP_FAST_FMA): Do not define.
42108 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42109 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42110 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42111 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42112 !_SOFT_FLOAT]: Likewise.
42113 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42114 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42116 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42117 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42120 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42121 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42124 2013-01-16 Andreas Schwab <schwab@suse.de>
42127 * include/stdlib.h (__mktemp): Add declaration.
42128 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42129 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42131 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42133 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42135 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42136 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42137 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42139 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42140 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42144 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42145 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42146 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42148 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42149 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42151 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42153 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42155 2013-01-15 David S. Miller <davem@davemloft.net>
42157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42158 trunc{,f} to libm-sysdep_routes.
42159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42169 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42170 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42171 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42172 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42173 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42174 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42177 nearbyint{,f} to libm-sysdep_routes.
42178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42189 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42192 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42195 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42196 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42198 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42199 libc_feholdexcept and libc_fesetenv.
42201 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42203 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42205 2013-01-14 David S. Miller <davem@davemloft.net>
42207 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42208 (SPARC_ASM_VIS2_IFUNC): Likewise.
42209 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42211 use of 'siam' instruction.
42212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42245 routines to libm-sysdep_routines.
42246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42249 fdim/fdimf to libm-sysdep_routines.
42250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42258 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42259 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42260 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42261 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42263 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42266 to optimize copies.
42268 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42273 local variable MPTWO.
42274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42277 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42279 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42284 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42286 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42288 * manual/pattern.texi (glob_t): Document gl_flags.
42289 (glob64_t): Likewise.
42291 2013-01-11 David S. Miller <davem@davemloft.net>
42293 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42294 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42295 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42296 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42297 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42298 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42299 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42300 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42302 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42303 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42304 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42305 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42307 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42308 sparc V9 rather than using V8 code.
42309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42314 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42317 2013-01-11 Roland McGrath <roland@hack.frob.com>
42320 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42321 not in the main loop.
42322 * configure: Regenerated.
42324 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42326 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42327 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42329 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42330 [!__GLIBC_HAVE_LONG_LONG] case.
42331 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42332 condition to just #else.
42333 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42334 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42335 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42336 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42338 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42339 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42340 #elif condition to just #else.
42341 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42342 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42343 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42344 #elif condition to just #else.
42346 2013-01-11 Steve Ellcey <sellcey@mips.com>
42348 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42349 (EF_MIPS_ARCH_64): Fix value.
42350 (EF_MIPS_ARCH_32R2): New.
42351 (EF_MIPS_ARCH_64R2): New.
42353 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42355 * Makeconfig (+link-pie-before-libc): New.
42356 (+link-pie-after-libc): Likewise.
42357 (+link-pie-tests): Likewise.
42358 (+link-pie): Rewritten.
42359 (link-before-libc): Remove $(config-LDFLAGS).
42360 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42361 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42362 (config-LDFLAGS): Renamed to ...
42363 (rtld-LDFLAGS): This.
42364 (rtld-tests-LDFLAGS): New macro.
42365 (link-libc-rpath-link): Likewise.
42366 (link-libc-tests-rpath-link): Likewise.
42367 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42368 (link-libc): Prepand $(link-libc-rpath-link).
42369 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42370 (test-program-prefix): New macro.
42371 (test-via-rtld-prefix): Likewise.
42372 (test-program-cmd): Likewise.
42373 (host-test-program-cmd): Likewise.
42374 * Makefile ($(common-objpfx)testrun.sh): Replace
42375 $(run-program-prefix) with $(test-program-prefix).
42376 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42378 ($(common-objpfx)shlib.lds): Likewise.
42379 (build-module-helper): Likewise.
42380 ($(common-objpfx)format.lds): Likewise.
42381 * Rules (binaries-pie-tests): New.
42382 (binaries-pie-notests): Likewise.
42383 (binaries-pie): Rewritten.
42384 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42385 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42386 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42387 (make-test-out): Replace $(host-built-program-cmd) with
42388 $(host-test-program-cmd).
42389 * config.make.in (build-hardcoded-path-in-tests): New variable.
42390 * configure.in (--enable-hardcoded-path-in-tests): New configure
42392 (hardcoded_path_in_tests): New AC_SUBST.
42393 * configure: Regenerated.
42394 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42395 $(built-program-cmd) with $(test-program-cmd).
42396 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42397 (test_program_cmd): This.
42398 * elf/Makefile ($(objpfx)order.out): Run test with
42399 $(test-program-prefix).
42400 ($(objpfx)order2.out): Likewise.
42401 ($(objpfx)tst-initorder.out): Likewise.
42402 ($(objpfx)tst-initorder2.out): Likewise.
42403 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42404 $(test-program-cmd).
42405 ($(objpfx)tst-array1-static.out): Likewise.
42406 ($(objpfx)tst-array2.out): Likewise.
42407 ($(objpfx)tst-array3.out): Likewise.
42408 ($(objpfx)tst-array4.out): Likewise.
42409 ($(objpfx)tst-array5.out): Likewise.
42410 ($(objpfx)tst-array5-static.out): Likewise.
42411 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42412 $(test-program-cmd).
42413 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42414 $(run-program-prefix) with $(test-program-prefix).
42415 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42416 (test_program_prefix): This.
42417 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42418 $(run-program-prefix) with $(test-program-prefix).
42419 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42420 (test_program_prefix): This.
42421 * iconvdata/tst-tables.sh: Likewise.
42422 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42423 $(run-program-prefix) with $(test-program-prefix).
42424 ($(objpfx)tst-translit.out): Likewise.
42425 ($(objpfx)tst-gettext2.out): Likewise.
42426 ($(objpfx)tst-gettext4.out): Likewise.
42427 ($(objpfx)tst-gettext6.out): Likewise.
42428 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42429 (test_program_prefix): This.
42430 * intl/tst-gettext2.sh: Likewise.
42431 * intl/tst-gettext4.sh Likewise.
42432 * intl/tst-gettext6.sh: Likewise.
42433 * intl/tst-translit.sh: Likewise.
42434 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42435 with $(test-program-cmd).
42436 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42437 $(run-program-prefix) with $(test-program-prefix).
42438 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42439 (test_program_prefix): This.
42440 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42441 $(run-program-prefix) with $(test-program-prefix).
42442 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42443 (test_program_prefix): This.
42444 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42445 * posix/Makefile ($(objpfx)globtest.out): Replace
42446 $(run-via-rtld-prefix) and $(test-wrapper) with
42447 $(test-program-prefix) and $(test-via-rtld-prefix).
42448 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42449 $(test-program-prefix).
42450 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42451 $(host-test-program-cmd).
42452 (tst-spawn-ARGS): Likewise.
42453 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42454 $(test-program-prefix).
42455 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42456 (test_via_rtld_prefix): This.
42457 (test_wrapper): Renamed to ...
42458 (test_program_prefix): This.
42459 (run_program_prefix): Replaced by test_program_prefix.
42460 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42461 (test_program_prefix): This.
42462 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42463 with $(host-test-program-cmd).
42464 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42465 $(run-program-prefix) with $(test-program-prefix).
42466 ($(objpfx)tst-printf.out): Likewise.
42467 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42468 $(test-program-cmd).
42469 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42470 (test_program_prefix): This.
42471 * stdio-common/tst-unbputc.sh: Likewise.
42472 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42473 $(run-program-prefix) with $(test-program-prefix).
42474 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42475 (test_program_prefix): This.
42476 * string/Makefile ($(objpfx)tst-svc.out): Replace
42477 $(built-program-cmd) with $(test-program-cmd).
42479 2013-01-11 Andreas Jaeger <aj@suse.de>
42482 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42483 value. Sync with Linux 3.7.
42485 2013-01-10 David S. Miller <davem@davemloft.net>
42487 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42488 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42489 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42491 2013-01-10 Roland McGrath <roland@hack.frob.com>
42493 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42495 * configure: Regenerated.
42497 2013-01-10 David S. Miller <davem@davemloft.net>
42499 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42500 sparc V9 rather than using V8 code.
42501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42504 2013-01-10 Roland McGrath <roland@hack.frob.com>
42506 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42507 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42508 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42509 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42510 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42511 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42512 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42513 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42514 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42515 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42516 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42517 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42518 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42519 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42520 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42521 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42522 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42523 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42524 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42525 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42526 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42527 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42528 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42529 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42530 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42531 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42532 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42534 2013-01-10 David S. Miller <davem@davemloft.net>
42536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42538 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42540 * posix/Makefile (tests-static): New variable.
42541 (tests): Add $(tests-static).
42542 (tst-exec-static-ARGS): New variable.
42543 (tst-spawn-static-ARGS): Likewise.
42544 * posix/tst-exec-static.c: New file.
42545 * posix/tst-spawn-static.c: Likewise.
42546 * posix/tst-exec.c: Support run directly.
42547 * posix/tst-spawn.c: Likewise.
42549 2013-01-10 Joseph Myers <joseph@codesourcery.com>
42551 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42553 * math/bits/mathcalls.h (llrint): Likewise.
42554 (llround): Likewise.
42555 * stdlib/stdlib.h (struct drand48_data): Likewise.
42556 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42557 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42558 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42560 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42562 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42563 (elf_greg_t): Likewise.
42564 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42565 (__jmp_buf): Likewise.
42566 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42568 (llrint): Likewise, for all definitions.
42569 (llrintl): Likewise.
42571 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42572 Remove [__GNUC__] condition.
42573 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42574 condition to just [__USE_ISOC99].
42575 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42577 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
42580 * sysdeps/unix/sysv/linux/x86/bits/environments.h
42581 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42583 (_POSIX_V6_ILP32_OFF32): Likewise.
42584 (_XBS5_ILP32_OFF32): Likewise.
42585 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42586 (__ILP32_OFFBIG_LDFLAGS): Likewise.
42588 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42590 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42593 doubles __mpexp_twomm1. Adjust usage.
42594 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42597 2013-01-10 Andreas Schwab <schwab@suse.de>
42600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
42601 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
42603 2013-01-09 David S. Miller <davem@davemloft.net>
42606 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
42607 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
42608 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
42609 (TCP_FASTOPEN): Define.
42610 (tcp_repair_opt): New structure.
42611 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
42613 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
42614 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
42615 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
42616 (tcp_cookie_transactions): New structure.
42618 2013-01-09 Anton Blanchard <anton@samba.org>
42620 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
42621 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
42622 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
42623 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
42625 2013-01-09 Joseph Myers <joseph@codesourcery.com>
42627 * include/features.h (__USE_ANSI): Remove.
42629 2013-01-09 Roland McGrath <roland@hack.frob.com>
42631 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
42633 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
42635 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
42637 * sysdeps/s390/fpu/libm-test-ulps: Update.
42639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42641 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
42645 (denorm): Likewise.
42646 (__mp_dbl): Likewise.
42647 (__dbl_mp): Likewise.
42648 (add_magnitudes): Likewise.
42649 (sub_magnitudes): Likewise.
42655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
42659 (denorm): Likewise.
42660 (__mp_dbl): Likewise.
42661 (__dbl_mp): Likewise.
42662 (add_magnitudes): Likewise.
42663 (sub_magnitudes): Likewise.
42669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
42673 (denorm): Likewise.
42674 (__mp_dbl): Likewise.
42675 (__dbl_mp): Likewise.
42676 (add_magnitudes): Likewise.
42677 (sub_magnitudes): Likewise.
42684 2013-01-08 Joseph Myers <joseph@codesourcery.com>
42686 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
42687 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
42688 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
42689 2 && __USE_EXTERN_INLINES]: Likewise.
42691 2013-01-08 Andreas Jaeger <aj@suse.de>
42694 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
42696 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42697 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
42699 2013-01-07 Anton Blanchard <anton@samba.org>
42701 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
42702 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42703 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
42704 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42705 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42707 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
42708 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42710 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42711 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42713 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42714 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42718 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42719 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42721 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42722 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
42723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42724 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42725 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
42726 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42727 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42728 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
42730 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42731 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42733 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42734 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42735 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42739 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42741 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
42742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42743 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42745 2013-01-07 Joseph Myers <joseph@codesourcery.com>
42747 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
42748 (__MALLOC_PMT): Likewise.
42749 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
42750 [__GNUC__], only on [_LIBC].
42751 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42752 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
42753 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
42754 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
42755 forward declaration.
42756 (realloc_hook_ini): Likewise.
42757 (memalign_hook_ini): Likewise.
42758 (__libc_memalign): Do not use __MALLOC_PMT in variable
42760 (__libc_valloc): Likewise.
42761 (__libc_pvalloc): Likewise.
42762 (__libc_calloc): Likewise.
42763 (__posix_memalign): Likewise.
42766 * math/s_casinh.c: Include <float.h>.
42767 (__casinh): Do not do computation with squaring and square root
42768 for large arguments.
42769 * math/s_casinhf.c: Include <float.h>.
42770 (__casinhf): Do not do computation with squaring and square root
42771 for large arguments.
42772 * math/s_casinhl.c: Include <float.h>.
42773 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
42774 (__casinhl): Do not do computation with squaring and square root
42775 for large arguments.
42776 * math/libm-test.inc (casin_test): Add more tests.
42777 (casinh_test): Likewise.
42778 * sysdeps/i386/fpu/libm-test-ulps: Update.
42779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42781 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
42783 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
42784 (__x86_64_raw_data_cache_size): Likewise.
42785 (__x86_64_data_cache_size_half): Likewise.
42786 (__x86_64_raw_data_cache_size_half): Likewise.
42787 (__x86_64_shared_cache_size): Likewise.
42788 (__x86_64_raw_shared_cache_size): Likewise.
42789 (__x86_64_shared_cache_size_half): Likewise.
42790 (__x86_64_raw_shared_cache_size_half): Likewise.
42791 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
42793 (__x86_data_cache_size): This.
42794 (__x86_64_raw_data_cache_size): Renamed to ...
42795 (__x86_raw_data_cache_size): This.
42796 (__x86_64_data_cache_size_half): Renamed to ...
42797 (__x86_data_cache_size_half): This.
42798 (__x86_64_raw_data_cache_size_half): Renamed to ...
42799 (__x86_raw_data_cache_size_half): This.
42800 (__x86_64_shared_cache_size): Renamed to ...
42801 (__x86_shared_cache_size): This.
42802 (__x86_64_raw_shared_cache_size): Renamed to ...
42803 (__x86_raw_shared_cache_size): This.
42804 (__x86_64_shared_cache_size_half): Renamed to ...
42805 (__x86_shared_cache_size_half): This.
42806 (__x86_64_raw_shared_cache_size_half): Renamed to ...
42807 (__x86_raw_shared_cache_size_half): This.
42808 * sysdeps/x86_64/memcpy.S: Updated.
42809 * sysdeps/x86_64/memset.S: Likewise.
42810 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42814 2013-01-04 David S. Miller <davem@davemloft.net>
42816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42818 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
42820 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
42821 1 to avoid redefinition warning.
42822 (__USE_GNU): Don't define.
42823 (init_signaling_nan): Protoize.
42825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42827 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42829 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
42830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
42831 (__cpymn): Likewise.
42832 (norm): Remove commented code.
42833 (denorm): Likewise.
42834 (__mp_dbl): Likewise.
42836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
42837 (__cpymn): Likewise.
42838 (norm): Remove commented code.
42839 (denorm): Likewise.
42840 (__mp_dbl): Likewise.
42843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
42844 mp_no value for 1.0 and 2.0.
42845 (norm): Use RADIXI instead of radixi.d.
42846 (denorm): Likewise.
42847 (__mul): Use 0.0 instead of zero.d.
42848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
42849 mp_no value for 1.0 and 2.0.
42850 (norm): Use RADIXI instead of radixi.d.
42851 (denorm): Likewise.
42852 (__mul): Use 0.0 instead of zero.d.
42854 2013-01-04 Joseph Myers <joseph@codesourcery.com>
42857 * math/s_casinh.c (__casinh): Reduce finite argument to first
42858 quadrant then set signs of results at the end.
42859 * math/s_casinhf.c (__casinhf): Likewise.
42860 * math/s_casinhl.c (__casinhl): Likewise.
42861 * math/libm-test.inc (casin_test): Add more tests.
42862 (casinh_test): Likewise.
42863 * sysdeps/i386/fpu/libm-test-ulps: Update.
42864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42866 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42868 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
42870 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
42872 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
42874 (denorm): Likewise.
42875 (__mp_dbl): Likewise.
42878 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
42879 and adjust the header comment.
42881 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
42882 variable name from declaration.
42884 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
42886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42887 Initialize COMMON_CPUID_INDEX_7 element.
42888 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
42889 (CPUID_RTM): Likewise.
42890 (HAS_RTM): Likewise.
42891 (COMMON_CPUID_INDEX_7): New enum.
42893 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
42896 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
42897 size is zero, record memory as freed.
42899 2013-01-03 Andreas Jaeger <aj@suse.de>
42901 * po/ia.po: Add new Interlingua translation.
42903 2012-01-03 Allan McRae <allan@archlinux.org>
42905 * locale/programs/localedef.c: Fix description of '--posix' flag.
42907 2013-01-02 Joseph Myers <joseph@codesourcery.com>
42909 * NEWS: Update dates in second copyright notice.
42910 * README: Update copyright dates in example.
42911 * manual/libc.texinfo: Update copyright dates.
42912 * scripts/test-installation.pl: Update copyright date in --version
42915 * hurd/ctty-input.c: Fix copyright notice formatting.
42916 * hurd/ctty-output.c: Likewise.
42917 * hurd/dtable.c: Likewise.
42918 * hurd/hurd-raise.c: Likewise.
42919 * hurd/hurdprio.c: Likewise.
42920 * hurd/msgportdemux.c: Likewise.
42921 * misc/sys/file.h: Likewise.
42922 * misc/sys/ioctl.h: Likewise.
42923 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42924 * sysdeps/mach/hurd/chdir.c: Likewise.
42925 * sysdeps/mach/hurd/fchdir.c: Likewise.
42926 * sysdeps/mach/hurd/rename.c: Likewise.
42927 * sysdeps/mach/hurd/rmdir.c: Likewise.
42928 * sysdeps/mach/hurd/seekdir.c: Likewise.
42929 * sysdeps/mach/hurd/setsid.c: Likewise.
42930 * sysdeps/posix/wait3.c: Likewise.
42932 * All files with FSF copyright notices: Update copyright dates
42933 using scripts/update-copyrights.
42934 * intl/plural.c: Regenerated.
42935 * locale/programs/charmap-kw.h: Likewise.
42936 * locale/programs/locfile-kw.h: Likewise.
42938 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42940 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
42943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
42944 calculation loop and add branch prediction.
42946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
42947 check access beyond bounds of m1np.
42949 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42951 (__inv): Remove local variable MPTWO to use the global
42953 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
42954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42957 MP3HALFS static const.
42959 2013-01-01 David S. Miller <davem@davemloft.net>
42961 * po/ca.po: Update from translation team.
42963 2013-01-01 Joseph Myers <joseph@codesourcery.com>
42965 * scripts/update-copyrights: New file.
42966 * Makeconfig: Reformat copyright notice.
42967 * ctype/ctype.h: Likewise.
42968 * debug/swprintf_chk.c: Likewise.
42969 * elf/dl-cache.c: Likewise.
42970 * elf/dl-debug.c: Likewise.
42971 * elf/dl-object.c: Likewise.
42972 * grp/initgroups.c: Likewise.
42973 * hurd/Makefile: Likewise.
42974 * hurd/hurd/signal.h: Likewise.
42975 * hurd/hurdfault.c: Likewise.
42976 * hurd/hurdioctl.c: Likewise.
42977 * hurd/hurdlookup.c: Likewise.
42978 * hurd/intr-msg.c: Likewise.
42979 * iconv/gconv_open.c: Likewise.
42980 * libio/swprintf.c: Likewise.
42981 * locale/lc-ctype.c: Likewise.
42982 * locale/nl_langinfo.c: Likewise.
42983 * mach/Machrules: Likewise.
42984 * mach/Makefile: Likewise.
42985 * malloc/obstack.h: Likewise.
42986 * manual/Makefile: Likewise.
42987 * manual/tsort.awk: Likewise.
42988 * misc/bits/stab.def: Likewise.
42989 * nis/nis_print_group_entry.c: Likewise.
42990 * nis/nis_table.c: Likewise.
42991 * nis/nss_compat/compat-pwd.c: Likewise.
42992 * nis/nss_compat/compat-spwd.c: Likewise.
42993 * po/Makefile: Likewise.
42994 * posix/fnmatch.c: Likewise.
42995 * posix/regex.h: Likewise.
42996 * resolv/Makefile: Likewise.
42997 * resolv/nss_dns/dns-network.c: Likewise.
42998 * resolv/res_hconf.c: Likewise.
42999 * scripts/gen-sorted.awk: Likewise.
43000 * soft-fp/soft-fp.h: Likewise.
43001 * stdio-common/printf.h: Likewise.
43002 * stdlib/monetary.h: Likewise.
43003 * stdlib/random.c: Likewise.
43004 * stdlib/random_r.c: Likewise.
43005 * sysdeps/generic/Makefile: Likewise.
43006 * sysdeps/gnu/Makefile: Likewise.
43007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43035 * sysdeps/mach/hurd/errnos.awk: Likewise.
43036 * sysdeps/mach/hurd/fork.c: Likewise.
43037 * sysdeps/mach/hurd/getcwd.c: Likewise.
43038 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43039 * sysdeps/mach/hurd/mmap.c: Likewise.
43040 * sysdeps/mach/hurd/utimes.c: Likewise.
43041 * sysdeps/mach/hurd/xmknod.c: Likewise.
43042 * sysdeps/posix/profil.c: Likewise.
43043 * sysdeps/posix/readdir_r.c: Likewise.
43044 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43045 * sysdeps/powerpc/bits/setjmp.h: Likewise.
43046 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43047 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43053 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43054 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43055 * sysdeps/pthread/lio_listio.c: Likewise.
43056 * sysdeps/sparc/dl-procinfo.h: Likewise.
43057 * sysdeps/unix/i386/sysdep.S: Likewise.
43058 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43059 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43060 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43061 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43063 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43064 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43065 * sysdeps/unix/sysv/linux/speed.c: Likewise.
43066 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43067 * sysdeps/wordsize-32/divdi3.c: Likewise.
43068 * time/sys/time.h: Likewise.
43069 * wcsmbs/Makefile: Likewise.
43071 2013-01-01 David S. Miller <davem@davemloft.net>
43073 * po/fr.po: Update from translation team.
43075 * catgets/gencat.c: Update copyright year.
43076 * csu/version.c: Likewise.
43077 * debug/catchsegv.sh: Likewise.
43078 * debug/pcprofiledump.c: Likewise.
43079 * debug/xtrace.sh: Likewise.
43080 * elf/ldconfig.c: Likewise.
43081 * elf/ldd.bash.in: Likewise.
43082 * elf/pldd.c: Likewise.
43083 * elf/sotruss.ksh: Likewise.
43084 * elf/sprof.c: Likewise.
43085 * iconv/iconv_prog.c: Likewise.
43086 * iconv/iconvconfig.c: Likewise.
43087 * locale/programs/locale.c: Likewise.
43088 * locale/programs/localedef.c: Likewise.
43089 * login/programs/pt_chown.c: Likewise.
43090 * malloc/memusage.sh: Likewise.
43091 * malloc/memusagestat.c: Likewise.
43092 * malloc/mtrace.pl: Likewise.
43093 * nscd/nscd.c: Likewise.
43094 * nss/getent.c: Likewise.
43095 * nss/makedb.c: Likewise.
43096 * posix/getconf.c: Likewise.
43098 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43100 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43103 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43105 * math/bits/mathcalls.h (modf): Use __nonnull.
43107 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43109 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43110 (split): Use macro CN instead of the bare value.
43111 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43114 instead of the bare value.
43115 (power1): Likewise.
43117 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43119 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43123 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43125 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43126 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43127 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43128 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43130 2012-12-28 Andreas Jaeger <aj@suse.de>
43132 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43133 values are from Linux 3.7.
43135 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43136 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43138 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43140 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43143 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43145 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43146 variables with preprocessor constants.
43147 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43148 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43149 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43151 2012-12-27 Bruno Haible <bruno@clisp.org>
43154 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43157 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43160 and use variable directly.
43161 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43163 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43165 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43170 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43171 include directive. Remove local variable MPONE.
43172 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43173 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43174 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43176 2012-12-25 David S. Miller <davem@davemloft.net>
43178 * version.h (RELEASE): Set to "development".
43179 (VERSION): Set to "2.17.90".
43180 * NEWS: Add 2.18 section.
43182 2012-12-21 David S. Miller <davem@davemloft.net>
43184 * po/hr.po: Update from translation team.
43186 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43188 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43190 2012-12-19 Steve Ellcey <sellcey@mips.com>
43192 * NEWS: Mention new memcpy for MIPS.
43194 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43196 * manual/contrib.texi (Contributors): Spelling correction.
43198 2012-12-15 David S. Miller <davem@davemloft.net>
43200 * po/ru.po: Update from translation team.
43202 2012-12-13 David S. Miller <davem@davemloft.net>
43204 * NEWS: Mention IFUNC testsuite enhancements.
43206 * po/pl.po: Update from translation team.
43207 * po/bg.po: Likewise.
43209 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43210 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43212 2012-12-11 David S. Miller <davem@davemloft.net>
43214 * po/sv.po: Update from translation team.
43216 * po/vi.po: Update from translation team.
43218 * po/cs.po: Update from translation team.
43220 * po/de.po: Update from translation team.
43221 * po/eo.po: Likewise.
43222 * po/nl.po: Likewise.
43224 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43227 * manual/argp.texi (Argp Helper Functions): Move node to follow
43228 Argp Parsing State.
43231 * manual/conf.texi (Limits on File System Capacity): Mention if
43232 terminating null is included in the max size.
43234 2012-12-10 Andreas Jaeger <aj@suse.de>
43236 * po/cs.po: Update from translation team.
43238 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43240 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43241 void pointer and cast to uintptr_t.
43242 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43244 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43245 * sysdeps/s390/s390-64/memset.S: Likewise.
43247 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43250 * menual/message.texi (Message Translation): Fix typos.
43251 (Helper programs for gettext): Likewise.
43253 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43256 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43259 2012-12-07 David S. Miller <davem@davemloft.net>
43261 * po/libc.pot: Update.
43263 2012-12-07 Richard Henderson <rth@redhat.com>
43266 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43267 normal/normal case to before the switch.
43268 (_FP_DIV): Likewise.
43270 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43271 Mike Frysinger <vapier@gentoo.org>
43273 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43274 check for __NR_fadvise64_64.
43276 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43278 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43279 0, not just to plain "0" as a statement.
43280 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43283 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43285 * NEWS: Use sourceware.org in Bugzilla URL.
43287 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43290 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43292 * stdio-common/tst-put-error.c (do_test): Add newline to the
43293 padded test to ensure flush.
43295 2012-12-05 Jeff Law <law@redhat.com>
43297 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43299 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43301 * README: Don't refer to ports add-on as distributed separately.
43302 Mention AArch64 in list of systems supported in the ports add-on.
43304 * LICENSES: Add more non-FSF copyright and license notices.
43306 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43309 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43311 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43312 10000 as width of padded output.
43314 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43316 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43319 variable LX with __attribute__ ((unused)).
43320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43325 with __attribute__ ((unused)).
43327 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43329 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43331 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43333 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43334 (CFLAGS-nldbl-acos.c): New variable.
43335 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43336 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43337 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43338 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43339 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43340 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43341 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43342 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43343 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43344 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43345 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43346 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43347 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43348 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43349 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43350 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43351 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43352 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43353 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43354 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43355 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43356 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43357 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43358 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43359 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43360 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43361 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43362 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43363 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43364 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43365 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43366 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43367 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43368 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43369 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43370 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43371 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43372 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43373 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43374 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43375 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43376 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43377 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43378 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43379 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43380 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43381 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43382 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43383 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43384 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43385 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43386 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43387 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43388 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43389 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43390 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43391 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43392 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43393 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43394 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43395 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43396 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43397 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43398 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43399 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43400 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43401 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43402 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43403 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43404 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43405 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43406 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43407 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43408 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43409 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43410 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43411 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43412 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43413 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43414 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43415 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43416 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43417 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43418 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43419 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43420 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43421 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43422 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43423 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43424 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43425 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43426 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43427 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43428 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43429 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43430 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43431 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43434 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43438 whole low double instead of just low 47 bits when splitting values
43441 2012-12-03 Allan McRae <allan@archlinux.org>
43443 * manual/stdio.texi (Predefined Printf Handlers): Remove
43444 @hsep and @vsep usage.
43446 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43448 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43449 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43451 2012-12-03 Jeff Law <law@redhat.com>
43453 * time/sys/time.h (settimeofday): Do not mark TV argument
43456 2012-12-01 Mike Frysinger <vapier@gentoo.org>
43458 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43459 when currently writing and seek to current position when not.
43460 * libio/Makefile (tests): Remove bug-fclose1.
43461 * libio/bug-fclose1.c: Delete.
43463 2012-12-01 Joseph Myers <joseph@codesourcery.com>
43465 * manual/arith.texi (feenableexcept): Fix typo.
43466 (fedisableexcept): Likewise.
43468 2012-11-30 Roland McGrath <roland@hack.frob.com>
43470 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43471 second, differently-typed declaration, rather than a cast.
43473 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43475 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43476 * include/rpc/svc.h: ... here.
43478 2012-11-30 Aurelien Jarno <aurel32@debian.org>
43481 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43482 depending n and resplen2 to catch cases where answer
43485 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
43487 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43488 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43490 2012-11-29 Mike Frysinger <vapier@gentoo.org>
43492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43494 2012-11-29 Roland McGrath <roland@hack.frob.com>
43496 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43498 2012-11-28 Jeff Law <law@redhat.com>
43501 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43502 dataset_temporary. Track alloca usage into alloca_used.
43503 If dataset is large allocate and release it via malloc/free.
43505 2012-06-04 Florian Weimer <fweimer@redhat.com>
43508 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43510 2012-11-28 David S. Miller <davem@davemloft.net>
43512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43514 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43517 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43518 of pi/2 rounded to nearest to 64 bits.
43519 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43520 nearest to 64 bits.
43521 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43524 2012-11-28 Jeff Law <law@redhat.com>
43525 Martin Osvald <mosvald@redhat.com>
43528 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43529 * sunrpc/svc.c: Include time.h.
43530 (__svc_accept_failed): New function.
43531 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43532 any reason other than EINTR, call __svc_accept_failed.
43533 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43534 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43536 2012-11-28 Andreas Schwab <schwab@suse.de>
43538 * scripts/abilist.awk: Also handle indirect functions in .opd
43541 2012-11-28 Joseph Myers <joseph@codesourcery.com>
43544 * sysdeps/x86/fpu/powl_helper.c: New file.
43545 * sysdeps/x86/fpu/Makefile: Likewise.
43546 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43548 (__ieee754_powl): Use __powl_helper for finite arguments except
43549 integer exponents below 8.
43550 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43552 (__ieee754_powl): Use __powl_helper for finite arguments except
43553 integer exponents below 8.
43554 * math/libm-test.inc (pow_test): Add more tests and enable some
43555 previously disabled tests.
43556 * sysdeps/i386/fpu/libm-test-ulps: Update.
43557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43559 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43560 Carlos O'Donell <carlos_odonell@mentor.com>
43562 * nss/makedb.c (is_prime): Assert that input is odd and greater
43563 than 4. Note that fact in a comment too.
43564 (next_prime): Add 4 to input.
43566 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43569 * libio/Makefile (tests): Add test case tst-fwrite-error.
43570 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43571 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43572 * libio/tst-fwrite-error.c: New test case.
43574 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
43576 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43577 before casting to void *.
43578 * include/libc-internal.h (__pointer_type): New macro.
43579 (__integer_if_pointer_type_sub): Likewise.
43580 (__integer_if_pointer_type): Likewise.
43581 (cast_to_integer): Likewise.
43582 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43583 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43584 before casting to atomic64_t.
43585 (atomic_exchange_acq): Likewise.
43586 (__arch_exchange_and_add_body): Likewise.
43587 (__arch_add_body): Likewise.
43588 (atomic_add_negative): Likewise.
43589 (atomic_add_zero): Likewise.
43591 2012-11-26 Joseph Myers <joseph@codesourcery.com>
43593 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43594 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43595 (add_fdes): Likewise.
43596 (linear_search_fdes): Likewise.
43597 (binary_search_unencoded_fdes): Likewise.
43599 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43601 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
43603 2012-11-24 Adam Conrad <adconrad@0c3.net>
43605 * configure.in: Autodetect C++ header directories.
43606 * configure: Regenerated.
43608 2012-11-23 Mike Frysinger <vapier@gentoo.org>
43610 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
43612 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
43614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43616 2012-11-22 Joseph Myers <joseph@codesourcery.com>
43618 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
43619 LDBL_MANT_DIG == 106]: Disable some tests.
43620 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43622 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
43626 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
43627 input for small inputs. Return +/- pi/2 for large inputs.
43628 * math/libm-test.inc (atan_test): Add more tests.
43630 * sysdeps/generic/unwind-dw2-fde-glibc.c
43631 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
43632 __attribute__ ((unused)).
43635 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
43636 x * y if x and y are nonzero and z is zero.
43639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
43640 nonzero exponents with absolute value below 0x1p-117 to +/-
43644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
43645 up arguments below 2**-450, not just those below 2**-500.
43646 * math/libm-test.inc (hypot_test): Add another test.
43649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
43650 Return a+b for ratio over 2**120, not 2**60.
43651 * math/libm-test.inc (hypot_test): Add another test.
43653 * math/libm-test.inc (clog_test): Use
43654 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
43655 (clog10_test): Likewise.
43658 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
43660 2012-11-22 Andreas Schwab <schwab@suse.de>
43662 * sysdeps/i386/fpu/libm-test-ulps: Update.
43664 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
43666 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
43667 printf output with newline.
43669 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
43672 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
43673 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43674 -z nodlopen, -z initfirst and -z execstack support.
43675 * configure: Regenerated.
43677 * elf/elf.h (DF_1_NODIRECT): New macro.
43678 (DF_1_IGNMULDEF): Likewise.
43679 (DF_1_NOKSYMS): Likewise.
43680 (DF_1_NOHDR): Likewise.
43681 (DF_1_EDITED): Likewise.
43682 (DF_1_NORELOC): Likewise.
43683 (DF_1_SYMINTPOSE): Likewise.
43684 (DF_1_GLOBAUDIT): Likewise.
43685 (DF_1_SINGLETON): Likewise.
43686 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
43687 DT_1_SUPPORTED_MASK bits.
43688 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
43690 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
43692 * sysdeps/unix/make-syscalls.sh: Document prefixes.
43694 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
43696 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
43699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
43700 (sendmmsg): Move declarations...
43701 * socket/sys/socket.h: ... here.
43702 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
43703 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
43705 * socket/recvmmsg.c: ... this new file.
43706 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
43707 (sendmmsg): Rename to __sendmmsg, create weak alias and make
43708 definition of __sendmmsg hidden.
43709 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
43710 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
43711 Move ENOSYS stub into and include it from...
43712 * socket/sendmmsg.c: ... this new file.
43713 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
43714 (sysdep_routines): Move recvmmsg and sendmmsg...
43715 * socket/Makefile (routines): ... here.
43716 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
43717 (GLIBC_PRIVATE): Add __sendmmsg.
43718 * include/sys/socket.h (__sendmmsg): Add declarations.
43719 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
43722 2012-11-20 Joseph Myers <joseph@codesourcery.com>
43724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
43725 variable I1 with __attribute__ ((unused)).
43726 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43728 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43730 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
43731 DUMMY variables with __attribute__ ((unused)).
43733 * bits/byteswap.h: Include <bits/types.h>.
43734 (__bswap_64): Use __uint64_t instead of unsigned long long int.
43736 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43738 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
43739 string_t. Do not manually set errno.
43740 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
43741 length with __strnlen. Make sure to both set errno and return it on
43744 2012-11-19 David S. Miller <davem@davemloft.net>
43746 With help from Joseph Myers.
43747 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
43748 very large arguments properly.
43749 * math/libm-test.inc (atan_test): New tests.
43750 (atan2_test): New tests.
43751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43754 2012-11-19 Joseph Myers <joseph@codesourcery.com>
43757 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
43760 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
43761 [POSIX] (EADDRNOTAVAIL): Likewise.
43762 [POSIX] (EAFNOSUPPORT): Likewise.
43763 [POSIX] (EALREADY): Likewise.
43764 [POSIX] (ECONNABORTED): Likewise.
43765 [POSIX] (ECONNREFUSED): Likewise.
43766 [POSIX] (ECONNRESET): Likewise.
43767 [POSIX] (EDESTADDRREQ): Likewise.
43768 [POSIX] (EDQUOT): Likewise.
43769 [POSIX] (EHOSTUNREACH): Likewise.
43770 [POSIX] (EIDRM): Likewise.
43771 [POSIX] (EISCONN): Likewise.
43772 [POSIX] (ELOOP): Likewise.
43773 [POSIX] (EMULTIHOP): Likewise.
43774 [POSIX] (ENETDOWN): Likewise.
43775 [POSIX] (ENETUNREACH): Likewise.
43776 [POSIX] (ENOBUFS): Likewise.
43777 [POSIX] (ENODATA): Likewise.
43778 [POSIX] (ENOLINK): Likewise.
43779 [POSIX] (ENOMSG): Likewise.
43780 [POSIX] (ENOPROTOOPT): Likewise.
43781 [POSIX] (ENOSR): Likewise.
43782 [POSIX] (ENOSTR): Likewise.
43783 [POSIX] (ENOTCONN): Likewise.
43784 [POSIX] (ENOTSOCK): Likewise.
43785 [POSIX] (EOPNOTSUPP): Likewise.
43786 [POSIX] (EOVERFLOW): Likewise.
43787 [POSIX] (EPROTO): Likewise.
43788 [POSIX] (EPROTONOSUPPORT): Likewise.
43789 [POSIX] (EPROTOTYPE): Likewise.
43790 [POSIX] (ESTALE): Likewise.
43791 [POSIX] (ETIME): Likewise.
43792 [POSIX] (ETXTBSY): Likewise.
43793 [POSIX] (EWOULDBLOCK): Likewise.
43794 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
43795 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
43796 [POSIX] (SEEK_CUR): Likewise.
43797 [POSIX] (SEEK_END): Likewise.
43798 [POSIX || UNIX98] (mode_t): Do not require.
43799 [POSIX] (off_t): Likewise.
43800 [POSIX] (pid_t): Likewise.
43801 [POSIX] (sys/stat.h): Do not allow header.
43802 [POSIX] (unistd.h): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
43804 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
43806 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
43808 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
43809 sigevent): Specify elements.
43810 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
43812 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
43813 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
43815 * conform/data/cpio.h-data [POSIX]: Disable whole file.
43816 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
43817 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
43818 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
43819 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
43820 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
43821 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
43822 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
43823 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
43824 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
43825 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
43826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
43827 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
43828 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
43830 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
43832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
43834 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
43836 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
43837 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
43838 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
43839 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
43841 Specify lower bound on value.
43842 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
43848 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
43849 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
43851 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
43853 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
43867 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
43870 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
43872 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
43874 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
43875 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
43876 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
43877 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
43879 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
43880 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
43881 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
43882 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
43883 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
43884 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
43885 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
43887 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
43891 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
43892 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
43893 specify as optional.
43894 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
43897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
43898 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
43899 [XPG3] (NL_LANGMAX): Likewise.
43900 [POSIX || XPG3] (NL_MSGMAX): Likewise.
43901 [POSIX || XPG3] (NL_NMAX): Likewise.
43902 [POSIX || XPG3] (NL_SETMAX): Likewise.
43903 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
43904 [XPG3] (NZERO): Likewise.
43905 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
43906 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
43907 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
43908 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
43909 (REG_ERANGE): Expect.
43910 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
43912 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
43913 Use (void) in prototype.
43914 [POSIX] (*_t): Allow.
43915 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
43916 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
43917 (WRDE_BADVAL): Expect.
43919 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
43921 [XPG3 || XPG4] (O_RSYNC): Likewise.
43922 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
43924 [XPG3 || XPG4] (pthread_sigmask): Likewise.
43925 [XPG3 || XPG4] (sigqueue): Likewise.
43926 [XPG3 || XPG4] (sigtimedwait): Likewise.
43927 [XPG3 || XPG4] (sigwaitinfo): Likewise.
43928 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
43929 [XPG3 || XPG4] (vsnprintf): Likewise.
43930 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
43932 [XPG3 || XPG4] (blksize_t): Likewise.
43933 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
43935 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
43936 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43937 [XPG3 || XPG4] (struct itimerspec): Likewise.
43938 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
43939 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
43940 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
43941 [XPG3 || XPG4] (clockid_t): Likewise.
43942 [XPG3 || XPG4] (timer_t): Likewise.
43943 [XPG3 || XPG4] (clock_getres): Likewise.
43944 [XPG3 || XPG4] (clock_gettime): Likewise.
43945 [XPG3 || XPG4] (clock_settime): Likewise.
43946 [XPG3 || XPG4] (nanosleep): Likewise.
43947 [XPG3 || XPG4] (timer_create): Likewise.
43948 [XPG3 || XPG4] (timer_delete): Likewise.
43949 [XPG3 || XPG4] (timer_gettime): Likewise.
43950 [XPG3 || XPG4] (timer_getoverrun): Likewise.
43951 [XPG3 || XPG4] (timer_settime): Likewise.
43952 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
43953 [XPG3 || XPG4] (getlogin_r): Likewise.
43954 [XPG3 || XPG4] (pread): Likewise.
43955 [XPG3 || XPG4] (pthread_atfork): Likewise.
43956 [XPG3 || XPG4] (pwrite): Likewise.
43959 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43962 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
43964 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43965 finalizing MALLSTREAM.
43967 * sysdeps/mach/hurd/syncfs.c: New file.
43969 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43972 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43973 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43975 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43976 (_nss_dns_gethostbyname4_r): Likewise.
43977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43978 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43980 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
43983 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43985 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
43987 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43988 * elf/cache.c (print_entry): Print ",AArch64" for
43991 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43992 * elf/cache.c (print_entry): Print ",hard-float" for
43995 2012-11-18 David S. Miller <davem@davemloft.net>
43997 With help from Joseph Myers.
43998 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44000 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44002 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44003 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44005 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44006 * math/libm-test.inc (y0_test): New tests.
44007 (y1_test): New tests.
44008 * sysdeps/i386/fpu/libm-test-ulps: Update.
44009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44012 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
44014 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44016 * configure: Regenerated.
44018 2012-11-17 David S. Miller <davem@davemloft.net>
44021 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44022 nonzero exponents with absolute value below 0x1p-128 to +/-
44025 2012-11-17 Joseph Myers <joseph@codesourcery.com>
44027 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44029 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44031 * posix/getconf-speclist.c: New file.
44032 * posix/posix-envs.def: Likewise.
44033 * posix/confstr.c (START_ENV_GROUP): New macro.
44034 (END_ENV_GROUP): Likewise.
44035 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44036 (KNOWN_PRESENT_ENV_STRING): Likewise.
44037 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44038 (UNKNOWN_ENVIRONMENT): Likewise.
44039 (confstr): Include posix-envs.def instead of handling
44040 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44041 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44042 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44043 (END_ENV_GROUP): Likewise.
44044 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44046 (UNKNOWN_ENVIRONMENT): Likewise.
44047 (__sysconf): Include posix-envs.def instead of handling associated
44048 cases directly here.
44049 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44050 preprocessing getconf-speclist.c rather than running getconf or
44051 generating empty file.
44053 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44055 * scripts/check-local-headers.sh: Ignore 'mach' headers.
44057 2012-11-16 Andrej Lajovic <natrij@gmail.com>
44060 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44062 2012-11-16 David S. Miller <davem@davemloft.net>
44064 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44065 smaller than LDBL_EPSILON/2.0L, just return xm1.
44067 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
44069 * elf/tst-array1.c (init): Set constructor priority to 1000.
44070 (fini): Set destructor priority to 1000.
44071 * elf/tst-array2dep.c: Likewise.
44073 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44076 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44077 (_IO_new_file_xsputn): Also return EOF if none of the input
44078 data was written when overflow failed.
44079 * libio/iopadn.c (_IO_padn): Likewise.
44080 * libio/iowpadn.c (_IO_wpadn): Likewise.
44081 * stdio-common/tst-put-error.c: Add copyright notice.
44082 (do_test): Add case for printing padded string.
44083 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44084 _IO_padn returned error.
44085 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44086 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44089 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44091 * libio/libioP.h: Add comment note that the references to C++
44092 bits are now obsolete.
44094 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44096 * math/libm-test.inc (check_complex): Use asprintf.
44098 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44100 * debug/pcprofiledump.c (print_version): Update copyright year.
44101 * malloc/memusagestat.c (print_version): Likewise.
44103 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44106 * elf/Makefile (tests): Add tst-audit8.
44107 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44108 ($(objpfx)tst-audit8.out): New target.
44109 (tst-audit8-ENV): New variable.
44110 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44111 audit if l_reloc_result is NULL.
44112 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44113 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44114 * elf/tst-audit8.c: New file.
44116 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44118 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44119 * misc/Makefile (CFLAGS-select.c): Define.
44120 * posix/Makefile (CFLAGS-pause.c): Define.
44122 2012-11-13 David S. Miller <davem@davemloft.net>
44124 * crypt/Makefile: Move test targets after toplevel Rules
44125 inclusion. Grab any necessary sysdep routines when linking.
44126 * crypt/md5.c (md5_process_block): Remove define, we will always
44127 name it __md5_process_block.
44128 (md5_finish_ctx): Update md5_process_block call.
44129 (md5_stream): Likewise.
44130 (md5_process_bytes): Likewise.
44131 (md5_process_block): Rename to __md5_process_block and move to ...
44132 * crypt/md5-block.c: ... here.
44133 * crypt/sha256.c (sha256_process_block): Move to ...
44134 * crypt/sha256-block.c: ... here.
44135 * crypt/sha512.c (sha512_process_block): Move to ...
44136 * crypt/sha512-block.c: ... here.
44137 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44139 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44140 * sysdeps/sparc/sparc64/multiarch/Makefile
44141 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44143 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44144 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44146 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44147 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44148 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44149 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44150 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44151 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44152 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44153 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44154 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44156 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44159 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44161 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44163 * timezone/tzselect.ksh: Update from tzcode git revision
44164 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44165 * timezone/zdump.c: Likewise.
44166 * timezone/zic.c: Likewise.
44167 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44168 in TZVERSION setting, not $(PKGVERSION).
44169 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44170 REPORT_BUGS_TO settings.
44173 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44176 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44178 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44179 detection to immediately after _FP_ROUND().
44180 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44183 2012-11-11 David S. Miller <davem@davemloft.net>
44185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44187 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44188 __close rather than their public counterparts.
44190 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44192 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44194 [UNIX98] (sem_timedwait): Do not expect.
44195 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44196 [XPG4 || UNIX98] (sockatmark): Do not expect.
44197 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44198 (clock_getcpuclockid): Do not expect.
44199 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44200 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44202 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44203 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44204 [UNIX98] (vwscanf): Likewise.
44205 [UNIX98] (vswscanf): Likewise.
44207 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44209 * timezone/version.h: Remove file.
44210 * timezone/README: Do not refer to version.h.
44211 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44212 $(objpfx)version.h.
44213 ($(objpfx)zdump.o): Likewise.
44214 ($(objpfx)version.h): New target.
44216 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44218 * timezone/README: Don't mention modification to tzselect.ksh.
44219 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44220 work on unmodified tzselect.ksh. Substitute version numbers in
44223 * Makefile (format-me): Remove.
44224 (INSTALL): Adjust indentation. Use commands directly instead of
44225 using $(format-me).
44227 * aclocal.m4 (ACX_PKGVERSION): New macro.
44228 (ACX_BUGURL): Likewise.
44229 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44230 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44231 (REPORT_BUGS_TO): Likewise.
44232 * configure: Regenerated.
44233 * config.h.in (PKGVERSION): New macro.
44234 (REPORT_BUGS_TO): Likewise.
44235 * config.make.in (PKGVERSION): New variable.
44236 (PKGVERSION_TEXI): Likewise.
44237 (REPORT_BUGS_TO): Likewise.
44238 (REPORT_BUGS_TEXI): Likewise.
44239 * Makefile (format-me): Use -I$(common-objpfx)manual.
44240 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44241 ($(common-objpfx)manual/%): New target.
44242 (manual/%): Remove target.
44243 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44244 (print_version): Use PKGVERSION.
44245 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44246 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44247 and REPORT_BUGS_TO.
44248 ($(objpfx)xtrace): Likewise.
44249 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44250 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44251 (print_version): Use PKGVERSION.
44252 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44253 (do_version): Use PKGVERSION.
44254 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44256 (common-ldd-rewrite): Likewise.
44257 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44258 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44259 (print_version): Use PKGVERSION.
44260 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44261 * elf/pldd.c (argp_program_bug_address): Remove variable.
44262 (more_help): New function.
44263 (argp): Use more_help.
44264 (print_version): Use PKGVERSION.
44265 * elf/sln.c (main): Use PKGVERSION.
44266 (usage): Use REPORT_BUGS_TO.
44267 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44268 (top level): Use PKGVERSION.
44269 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44270 (print_version): Use PKGVERSION.
44271 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44272 (print_version): Use PKGVERSION.
44273 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44274 (print_version): Use PKGVERSION.
44275 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44276 (print_version): Use PKGVERSION.
44277 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44278 (print_version): Use PKGVERSION.
44279 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44280 (print_version): Use PKGVERSION.
44281 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44283 ($(objpfx)memusage): Likewise.
44284 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44285 (do_version): Use PKGVERSION.
44286 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44287 (print_version): Use PKGVERSION.
44288 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44289 ($PKGVERSION): New variable.
44290 ($REPORT_BUGS_TO): Likewise.
44291 (usage): Use $REPORT_BUGS_TO.
44292 (top level): Use $PKGVERSION.
44293 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44294 ($(objpfx)pkgvers.texi): New rule.
44295 ($(objpfx)stamp-pkgvers): Likewise.
44296 * manual/install.texi: Include pkgvers.texi.
44297 (--with-pkgversion): Document new configure option.
44298 (--with-bugurl): Likewise.
44299 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44300 than necessarily for this particular distribution. Use
44301 REPORT_BUGS_TO for where to report bugs.
44302 * INSTALL: Regenerated.
44303 * manual/libc.texinfo: Include pkgvers.texi.
44304 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44305 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44306 (print_version): Use PKGVERSION.
44307 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44308 (print_version): Use PKGVERSION.
44309 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44310 (print_version): Use PKGVERSION.
44311 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44312 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44314 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44315 (print_version): Use PKGVERSION.
44316 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44317 (print_version): Use PKGVERSION.
44318 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44321 * timezone/checktab.awk: Update from tzcode 2012i.
44322 * timezone/ialloc.c: Likewise.
44323 * timezone/private.h: Likewise.
44324 * timezone/scheck.c: Likewise.
44325 * timezone/tzfile.h: Likewise.
44326 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44327 (TZVERSION): Hardcode tzcode version number.
44328 * timezone/zdump.c: Update from tzcode 2012i.
44329 * timezone/zic.c: Likewise.
44330 * timezone/version.h: New file.
44331 * timezone/README: Describe version.h. Update upstream location.
44334 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44335 (mktemp): Enable declaration.
44336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44353 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44354 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44355 for copies of such integer values.
44356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44359 2012-11-09 Andreas Jaeger <aj@suse.de>
44361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44362 definitions and declarations that are provided by
44363 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44365 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44367 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44368 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44369 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44372 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44374 * elf/elf.h: Update comment before AArch64 relocations.
44376 2012-11-07 David S. Miller <davem@davemloft.net>
44378 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44380 (__start_context): Declare.
44381 (__makecontext_ret): Delete.
44382 (__makecontext): Hook up __start_context instead of
44384 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44385 (sysdep_routines): Add __start_context when in stdlib.
44387 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44389 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44390 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44391 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44393 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44394 (READELF): New variable. Use it instead of hardcoded "readelf".
44396 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44398 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44399 * sysdeps/x86/Makefile: Here.
44400 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44401 * sysdeps/x86/tst-xmmymm.sh: This.
44403 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44405 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44407 [UNIX98] (pthread_barrier_t): Do not expect.
44408 [UNIX98] (pthread_barrierattr_t): Likewise.
44409 [UNIX98] (pthread_spinlock_t): Likewise.
44410 [UNIX98] (pthread_barrier_destroy): Likewise.
44411 [UNIX98] (pthread_barrier_init): Likewise.
44412 [UNIX98] (pthread_barrier_wait): Likewise.
44413 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44414 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44415 [UNIX98] (pthread_barrierattr_init): Likewise.
44416 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44417 [UNIX98] (pthread_getcpuclockid): Likewise.
44418 [UNIX98] (pthread_mutex_timedlock): Likewise.
44419 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44420 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44421 [UNIX98] (pthread_sigmask): Likewise.
44422 [UNIX98] (pthread_spin_destroy): Likewise.
44423 [UNIX98] (pthread_spin_init): Likewise.
44424 [UNIX98] (pthread_spin_lock): Likewise.
44425 [UNIX98] (pthread_spin_trylock): Likewise.
44426 [UNIX98] (pthread_spin_unlock): Likewise.
44427 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44429 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44430 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44431 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44432 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44433 [XPG3 || XPG4] (pthread_key_t): Likewise.
44434 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44435 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44436 [XPG3 || XPG4] (pthread_once_t): Likewise.
44437 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44438 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44439 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44440 [XPG3 || XPG4] (pthread_t): Likewise.
44442 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44444 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44446 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44447 Change function return type to int.
44449 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44450 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44451 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44452 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44453 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44454 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44455 [!POSIX] (posix_madvise): Likewise.
44456 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44458 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44459 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44460 (mode_t): Likewise.
44461 (posix_mem_offset): Likewise.
44462 (posix_typed_mem_get_info): Likewise.
44463 (posix_typed_mem_open): Likewise.
44465 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44466 Change condition to [XOPEN2K8].
44468 * conform/conformtest.pl: Preprocess allow-header data with -x c
44469 instead of from stdin.
44470 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44471 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44472 [C99-based standards] (cerfc): Likewise.
44473 [C99-based standards] (cexp2): Likewise.
44474 [C99-based standards] (cexpm1): Likewise.
44475 [C99-based standards] (clog10): Likewise.
44476 [C99-based standards] (clog1p): Likewise.
44477 [C99-based standards] (clog2): Likewise.
44478 [C99-based standards] (clgamma): Likewise.
44479 [C99-based standards] (ctgamma): Likewise.
44480 [C99-based standards] (cerff): Likewise.
44481 [C99-based standards] (cerfcf): Likewise.
44482 [C99-based standards] (cexp2f): Likewise.
44483 [C99-based standards] (cexpm1f): Likewise.
44484 [C99-based standards] (clog10f): Likewise.
44485 [C99-based standards] (clog1pf): Likewise.
44486 [C99-based standards] (clog2f): Likewise.
44487 [C99-based standards] (clgammaf): Likewise.
44488 [C99-based standards] (ctgammaf): Likewise.
44489 [C99-based standards] (cerfl): Likewise.
44490 [C99-based standards] (cerfcl): Likewise.
44491 [C99-based standards] (cexp2l): Likewise.
44492 [C99-based standards] (cexpm1l): Likewise.
44493 [C99-based standards] (clog10l): Likewise.
44494 [C99-based standards] (clog1pl): Likewise.
44495 [C99-based standards] (clog2l): Likewise.
44496 [C99-based standards] (clgammal): Likewise.
44497 [C99-based standards] (ctgammal): Likewise.
44498 * conform/data/inttypes.h-data [C99-based standards]: Include
44499 stdint.h-data. Remove all expectations for stdint.h contents.
44500 [C99-based standards] (PRI*): Do not allow.
44501 [C99-based standards] (SCN*): Likewise.
44502 [C99-based standards] (*_t): Likewise.
44503 [C99-based-standards] (PRId8): Expect macro.
44504 [C99-based-standards] (PRIi8): Likewise.
44505 [C99-based-standards] (PRIo8): Likewise.
44506 [C99-based-standards] (PRIu8): Likewise.
44507 [C99-based-standards] (PRIx8): Likewise.
44508 [C99-based-standards] (PRIX8): Likewise.
44509 [C99-based-standards] (SCNd8): Likewise.
44510 [C99-based-standards] (SCNi8): Likewise.
44511 [C99-based-standards] (SCNo8): Likewise.
44512 [C99-based-standards] (SCNu8): Likewise.
44513 [C99-based-standards] (SCNx8): Likewise.
44514 [C99-based-standards] (PRIdLEAST8): Likewise.
44515 [C99-based-standards] (PRIiLEAST8): Likewise.
44516 [C99-based-standards] (PRIoLEAST8): Likewise.
44517 [C99-based-standards] (PRIuLEAST8): Likewise.
44518 [C99-based-standards] (PRIxLEAST8): Likewise.
44519 [C99-based-standards] (PRIXLEAST8): Likewise.
44520 [C99-based-standards] (SCNdLEAST8): Likewise.
44521 [C99-based-standards] (SCNiLEAST8): Likewise.
44522 [C99-based-standards] (SCNoLEAST8): Likewise.
44523 [C99-based-standards] (SCNuLEAST8): Likewise.
44524 [C99-based-standards] (SCNxLEAST8): Likewise.
44525 [C99-based-standards] (PRIdFAST8): Likewise.
44526 [C99-based-standards] (PRIiFAST8): Likewise.
44527 [C99-based-standards] (PRIoFAST8): Likewise.
44528 [C99-based-standards] (PRIuFAST8): Likewise.
44529 [C99-based-standards] (PRIxFAST8): Likewise.
44530 [C99-based-standards] (PRIXFAST8): Likewise.
44531 [C99-based-standards] (SCNdFAST8): Likewise.
44532 [C99-based-standards] (SCNiFAST8): Likewise.
44533 [C99-based-standards] (SCNoFAST8): Likewise.
44534 [C99-based-standards] (SCNuFAST8): Likewise.
44535 [C99-based-standards] (SCNxFAST8): Likewise.
44536 [C99-based-standards] (PRId16): Likewise.
44537 [C99-based-standards] (PRIi16): Likewise.
44538 [C99-based-standards] (PRIo16): Likewise.
44539 [C99-based-standards] (PRIu16): Likewise.
44540 [C99-based-standards] (PRIx16): Likewise.
44541 [C99-based-standards] (PRIX16): Likewise.
44542 [C99-based-standards] (SCNd16): Likewise.
44543 [C99-based-standards] (SCNi16): Likewise.
44544 [C99-based-standards] (SCNo16): Likewise.
44545 [C99-based-standards] (SCNu16): Likewise.
44546 [C99-based-standards] (SCNx16): Likewise.
44547 [C99-based-standards] (PRIdLEAST16): Likewise.
44548 [C99-based-standards] (PRIiLEAST16): Likewise.
44549 [C99-based-standards] (PRIoLEAST16): Likewise.
44550 [C99-based-standards] (PRIuLEAST16): Likewise.
44551 [C99-based-standards] (PRIxLEAST16): Likewise.
44552 [C99-based-standards] (PRIXLEAST16): Likewise.
44553 [C99-based-standards] (SCNdLEAST16): Likewise.
44554 [C99-based-standards] (SCNiLEAST16): Likewise.
44555 [C99-based-standards] (SCNoLEAST16): Likewise.
44556 [C99-based-standards] (SCNuLEAST16): Likewise.
44557 [C99-based-standards] (SCNxLEAST16): Likewise.
44558 [C99-based-standards] (PRIdFAST16): Likewise.
44559 [C99-based-standards] (PRIiFAST16): Likewise.
44560 [C99-based-standards] (PRIoFAST16): Likewise.
44561 [C99-based-standards] (PRIuFAST16): Likewise.
44562 [C99-based-standards] (PRIxFAST16): Likewise.
44563 [C99-based-standards] (PRIXFAST16): Likewise.
44564 [C99-based-standards] (SCNdFAST16): Likewise.
44565 [C99-based-standards] (SCNiFAST16): Likewise.
44566 [C99-based-standards] (SCNoFAST16): Likewise.
44567 [C99-based-standards] (SCNuFAST16): Likewise.
44568 [C99-based-standards] (SCNxFAST16): Likewise.
44569 [C99-based-standards] (PRId32): Likewise.
44570 [C99-based-standards] (PRIi32): Likewise.
44571 [C99-based-standards] (PRIo32): Likewise.
44572 [C99-based-standards] (PRIu32): Likewise.
44573 [C99-based-standards] (PRIx32): Likewise.
44574 [C99-based-standards] (PRIX32): Likewise.
44575 [C99-based-standards] (SCNd32): Likewise.
44576 [C99-based-standards] (SCNi32): Likewise.
44577 [C99-based-standards] (SCNo32): Likewise.
44578 [C99-based-standards] (SCNu32): Likewise.
44579 [C99-based-standards] (SCNx32): Likewise.
44580 [C99-based-standards] (PRIdLEAST32): Likewise.
44581 [C99-based-standards] (PRIiLEAST32): Likewise.
44582 [C99-based-standards] (PRIoLEAST32): Likewise.
44583 [C99-based-standards] (PRIuLEAST32): Likewise.
44584 [C99-based-standards] (PRIxLEAST32): Likewise.
44585 [C99-based-standards] (PRIXLEAST32): Likewise.
44586 [C99-based-standards] (SCNdLEAST32): Likewise.
44587 [C99-based-standards] (SCNiLEAST32): Likewise.
44588 [C99-based-standards] (SCNoLEAST32): Likewise.
44589 [C99-based-standards] (SCNuLEAST32): Likewise.
44590 [C99-based-standards] (SCNxLEAST32): Likewise.
44591 [C99-based-standards] (PRIdFAST32): Likewise.
44592 [C99-based-standards] (PRIiFAST32): Likewise.
44593 [C99-based-standards] (PRIoFAST32): Likewise.
44594 [C99-based-standards] (PRIuFAST32): Likewise.
44595 [C99-based-standards] (PRIxFAST32): Likewise.
44596 [C99-based-standards] (PRIXFAST32): Likewise.
44597 [C99-based-standards] (SCNdFAST32): Likewise.
44598 [C99-based-standards] (SCNiFAST32): Likewise.
44599 [C99-based-standards] (SCNoFAST32): Likewise.
44600 [C99-based-standards] (SCNuFAST32): Likewise.
44601 [C99-based-standards] (SCNxFAST32): Likewise.
44602 [C99-based-standards] (PRId64): Likewise.
44603 [C99-based-standards] (PRIi64): Likewise.
44604 [C99-based-standards] (PRIo64): Likewise.
44605 [C99-based-standards] (PRIu64): Likewise.
44606 [C99-based-standards] (PRIx64): Likewise.
44607 [C99-based-standards] (PRIX64): Likewise.
44608 [C99-based-standards] (SCNd64): Likewise.
44609 [C99-based-standards] (SCNi64): Likewise.
44610 [C99-based-standards] (SCNo64): Likewise.
44611 [C99-based-standards] (SCNu64): Likewise.
44612 [C99-based-standards] (SCNx64): Likewise.
44613 [C99-based-standards] (PRIdLEAST64): Likewise.
44614 [C99-based-standards] (PRIiLEAST64): Likewise.
44615 [C99-based-standards] (PRIoLEAST64): Likewise.
44616 [C99-based-standards] (PRIuLEAST64): Likewise.
44617 [C99-based-standards] (PRIxLEAST64): Likewise.
44618 [C99-based-standards] (PRIXLEAST64): Likewise.
44619 [C99-based-standards] (SCNdLEAST64): Likewise.
44620 [C99-based-standards] (SCNiLEAST64): Likewise.
44621 [C99-based-standards] (SCNoLEAST64): Likewise.
44622 [C99-based-standards] (SCNuLEAST64): Likewise.
44623 [C99-based-standards] (SCNxLEAST64): Likewise.
44624 [C99-based-standards] (PRIdFAST64): Likewise.
44625 [C99-based-standards] (PRIiFAST64): Likewise.
44626 [C99-based-standards] (PRIoFAST64): Likewise.
44627 [C99-based-standards] (PRIuFAST64): Likewise.
44628 [C99-based-standards] (PRIxFAST64): Likewise.
44629 [C99-based-standards] (PRIXFAST64): Likewise.
44630 [C99-based-standards] (SCNdFAST64): Likewise.
44631 [C99-based-standards] (SCNiFAST64): Likewise.
44632 [C99-based-standards] (SCNoFAST64): Likewise.
44633 [C99-based-standards] (SCNuFAST64): Likewise.
44634 [C99-based-standards] (SCNxFAST64): Likewise.
44635 [C99-based-standards] (PRIdMAX): Likewise.
44636 [C99-based-standards] (PRIiMAX): Likewise.
44637 [C99-based-standards] (PRIoMAX): Likewise.
44638 [C99-based-standards] (PRIuMAX): Likewise.
44639 [C99-based-standards] (PRIxMAX): Likewise.
44640 [C99-based-standards] (PRIXMAX): Likewise.
44641 [C99-based-standards] (SCNdMAX): Likewise.
44642 [C99-based-standards] (SCNiMAX): Likewise.
44643 [C99-based-standards] (SCNoMAX): Likewise.
44644 [C99-based-standards] (SCNuMAX): Likewise.
44645 [C99-based-standards] (SCNxMAX): Likewise.
44646 [C99-based-standards] (PRIdPTR): Likewise.
44647 [C99-based-standards] (PRIiPTR): Likewise.
44648 [C99-based-standards] (PRIoPTR): Likewise.
44649 [C99-based-standards] (PRIuPTR): Likewise.
44650 [C99-based-standards] (PRIxPTR): Likewise.
44651 [C99-based-standards] (PRIXPTR): Likewise.
44652 [C99-based-standards] (SCNdPTR): Likewise.
44653 [C99-based-standards] (SCNiPTR): Likewise.
44654 [C99-based-standards] (SCNoPTR): Likewise.
44655 [C99-based-standards] (SCNuPTR): Likewise.
44656 [C99-based-standards] (SCNxPTR): Likewise.
44657 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
44659 * conform/data/stdint.h-data: Update comments to clarify
44661 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
44663 [C99-based standards] (INT8_MAX): Likewise.
44664 [C99-based standards] (INT16_MIN): Likewise.
44665 [C99-based standards] (INT16_MAX): Likewise.
44666 [C99-based standards] (INT32_MIN): Likewise.
44667 [C99-based standards] (INT32_MAX): Likewise.
44668 [C99-based standards] (INT64_MIN): Likewise.
44669 [C99-based standards] (INT64_MAX): Likewise.
44670 [C99-based standards] (UINT8_MAX): Likewise.
44671 [C99-based standards] (UINT16_MAX): Likewise.
44672 [C99-based standards] (UINT32_MAX): Likewise.
44673 [C99-based standards] (UINT64_MAX): Likewise.
44674 [C99-based standards] (INT_LEAST8_MIN): Likewise.
44675 [C99-based standards] (INT_LEAST8_MAX): Likewise.
44676 [C99-based standards] (INT_LEAST16_MIN): Likewise.
44677 [C99-based standards] (INT_LEAST16_MAX): Likewise.
44678 [C99-based standards] (INT_LEAST32_MIN): Likewise.
44679 [C99-based standards] (INT_LEAST32_MAX): Likewise.
44680 [C99-based standards] (INT_LEAST64_MIN): Likewise.
44681 [C99-based standards] (INT_LEAST64_MAX): Likewise.
44682 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
44683 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
44684 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
44685 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
44686 [C99-based standards] (INT_FAST8_MIN): Likewise.
44687 [C99-based standards] (INT_FAST8_MAX): Likewise.
44688 [C99-based standards] (INT_FAST16_MIN): Likewise.
44689 [C99-based standards] (INT_FAST16_MAX): Likewise.
44690 [C99-based standards] (INT_FAST32_MIN): Likewise.
44691 [C99-based standards] (INT_FAST32_MAX): Likewise.
44692 [C99-based standards] (INT_FAST64_MIN): Likewise.
44693 [C99-based standards] (INT_FAST64_MAX): Likewise.
44694 [C99-based standards] (UINT_FAST8_MAX): Likewise.
44695 [C99-based standards] (UINT_FAST16_MAX): Likewise.
44696 [C99-based standards] (UINT_FAST32_MAX): Likewise.
44697 [C99-based standards] (UINT_FAST64_MAX): Likewise.
44698 [C99-based standards] (INTPTR_MIN): Likewise.
44699 [C99-based standards] (INTPTR_MAX): Likewise.
44700 [C99-based standards] (UINTPTR_MAX): Likewise.
44701 [C99-based standards] (INTMAX_MIN): Likewise.
44702 [C99-based standards] (INTMAX_MAX): Likewise.
44703 [C99-based standards] (UINTMAX_MAX): Likewise.
44704 [C99-based standards] (PTRDIFF_MIN): Likewise.
44705 [C99-based standards] (PTRDIFF_MAX): Likewise.
44706 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
44707 [C99-based standards] (SIZE_MAX): Likewise.
44708 [C99-based standards] (WCHAR_MAX): Likewise.
44709 [C99-based standards] (WINT_MAX): Likewise.
44710 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
44711 constraint on value.
44712 [C99-based standards] (WCHAR_MIN): Likewise.
44713 [C99-based standards] (WINT_MIN): Likewise.
44714 [C99-based standards] (*_t): Allow.
44715 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
44716 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
44717 Include math.h-data and complex.h-data. Remove all expectations
44718 of math.h and complex.h contents.
44719 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
44721 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
44722 (struct tm): Expect tag.
44723 [C99-based-standards] (wcstof): Expect function.
44724 [C99-based-standards] (wcstold): Likewise.
44725 [C99-based-standards] (wcstoll): Likewise.
44726 [C99-based-standards] (wcstoull): Likewise.
44727 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
44728 macro-int-constant. Specify type.
44729 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
44730 constraint on value.
44731 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44733 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
44735 [ISO C standards]: Do not allow headers.
44736 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
44737 wcs[abcdefghijklmnopqrstuvwxyz]*.
44738 [ISO C standards] (*_t): Do not allow.
44739 * conform/data/wctype.h-data [C99-based standards] (iswblank):
44741 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
44742 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
44744 [ISO C standards]: Do not allow headers.
44745 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
44746 is[abcdefghijklmnopqrstuvwxyz]*.
44747 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
44748 to[abcdefghijklmnopqrstuvwxyz]*.
44749 [ISO C standards] (*_t): Do not allow.
44750 * conform/data/stdalign.h-data: New file.
44751 * conform/data/stdbool.h-data: Likewise.
44752 * conform/data/stdnoreturn.h-data: Likewise.
44754 2012-11-07 Roland McGrath <roland@hack.frob.com>
44757 * manual/filesys.texi (Directory Entries): Typo fix.
44758 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
44760 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44762 * elf/elf.h (EM_AARCH64): New macro.
44763 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
44764 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
44765 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
44766 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
44767 (R_AARCH64_TLSDESC): Likewise.
44768 (NT_ARM_TLS): Likewise.
44769 (NT_ARM_HW_BREAK): Likewise.
44770 (NT_ARM_HW_WATCH): Likewise.
44772 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44775 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
44776 (__ieee754_powl): Saturate nonzero exponents with absolute value
44777 below 0x1p-79 to +/- 0x1p-79.
44778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
44779 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
44780 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
44781 nonzero exponents with absolute value below 0x1p-32 to +/-
44783 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
44784 (__ieee754_powl): Saturate nonzero exponents with absolute value
44785 below 0x1p-79 to +/- 0x1p-79.
44786 * math/libm-test.inc (pow_test): Add more tests.
44788 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44790 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
44791 _dl_s390_cap_flags with kernel. Increase string length.
44792 (_dl_s390_platforms): Add z196 and zEC12.
44794 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44796 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
44797 Change XOPEN21K to XOPEN2K.
44799 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
44801 * string/memmove.c: Use memcpy when possible.
44803 2012-11-06 Andreas Jaeger <aj@suse.de>
44805 * po/eo.po: Update from translation team.
44807 2012-11-06 Joseph Myers <joseph@codesourcery.com>
44810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
44811 exponent and small x and y exponents, scale x or y up. Increase
44812 by 2 the exponent used in scaling up.
44813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44815 * math/libm-test.inc (fma_test): Add more tests.
44816 (fma_test_towardzero): Likewise.
44817 (fma_test_downward): Likewise.
44818 (fma_test_upward): Likewise.
44820 2012-11-05 Joseph Myers <joseph@codesourcery.com>
44823 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
44827 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
44828 namespace for names of struct fields.
44829 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
44831 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
44832 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
44834 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44837 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
44839 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44841 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
44845 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
44848 2012-11-04 Joseph Myers <joseph@codesourcery.com>
44851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
44852 definitely overflow as x * y not x * y + z.
44853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44855 * math/libm-test.inc (fma_test): Add more tests.
44856 (fma_test_towardzero): Likewise.
44857 (fma_test_downward): Likewise.
44858 (fma_test_upward): Likewise.
44860 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
44864 * include/stub-tag.h: Remove file.
44865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
44867 * manual/maint.texi (Porting): Don't reference it.
44868 * Makerules ($(objpfx)stubs): Likewise.
44869 * dirent/closedir.c: Don't include <stub-tag.h>.
44870 * dirent/dirfd.c: Likewise.
44871 * dirent/fdopendir.c: Likewise.
44872 * dirent/getdents.c: Likewise.
44873 * dirent/getdents64.c: Likewise.
44874 * dirent/opendir.c: Likewise.
44875 * dirent/readdir.c: Likewise.
44876 * dirent/readdir64.c: Likewise.
44877 * dirent/readdir64_r.c: Likewise.
44878 * dirent/readdir_r.c: Likewise.
44879 * dirent/rewinddir.c: Likewise.
44880 * dirent/seekdir.c: Likewise.
44881 * dirent/telldir.c: Likewise.
44882 * gmon/profil.c: Likewise.
44883 * grp/setgroups.c: Likewise.
44884 * inet/if_index.c: Likewise.
44885 * io/access.c: Likewise.
44886 * io/chdir.c: Likewise.
44887 * io/chmod.c: Likewise.
44888 * io/chown.c: Likewise.
44889 * io/close.c: Likewise.
44890 * io/dup.c: Likewise.
44891 * io/dup2.c: Likewise.
44892 * io/dup3.c: Likewise.
44893 * io/euidaccess.c: Likewise.
44894 * io/faccessat.c: Likewise.
44895 * io/fchdir.c: Likewise.
44896 * io/fchmod.c: Likewise.
44897 * io/fchmodat.c: Likewise.
44898 * io/fchown.c: Likewise.
44899 * io/fchownat.c: Likewise.
44900 * io/fcntl.c: Likewise.
44901 * io/flock.c: Likewise.
44902 * io/fstatfs.c: Likewise.
44903 * io/fstatfs64.c: Likewise.
44904 * io/fstatvfs.c: Likewise.
44905 * io/fstatvfs64.c: Likewise.
44906 * io/futimens.c: Likewise.
44907 * io/fxstat.c: Likewise.
44908 * io/fxstat64.c: Likewise.
44909 * io/fxstatat.c: Likewise.
44910 * io/fxstatat64.c: Likewise.
44911 * io/getcwd.c: Likewise.
44912 * io/isatty.c: Likewise.
44913 * io/lchmod.c: Likewise.
44914 * io/lchown.c: Likewise.
44915 * io/link.c: Likewise.
44916 * io/linkat.c: Likewise.
44917 * io/lseek.c: Likewise.
44918 * io/lseek64.c: Likewise.
44919 * io/lxstat64.c: Likewise.
44920 * io/mkdir.c: Likewise.
44921 * io/mkdirat.c: Likewise.
44922 * io/mkfifo.c: Likewise.
44923 * io/mkfifoat.c: Likewise.
44924 * io/open.c: Likewise.
44925 * io/open64.c: Likewise.
44926 * io/openat.c: Likewise.
44927 * io/openat64.c: Likewise.
44928 * io/pipe.c: Likewise.
44929 * io/pipe2.c: Likewise.
44930 * io/poll.c: Likewise.
44931 * io/posix_fadvise.c: Likewise.
44932 * io/posix_fadvise64.c: Likewise.
44933 * io/posix_fallocate.c: Likewise.
44934 * io/posix_fallocate64.c: Likewise.
44935 * io/read.c: Likewise.
44936 * io/readlink.c: Likewise.
44937 * io/readlinkat.c: Likewise.
44938 * io/rmdir.c: Likewise.
44939 * io/sendfile.c: Likewise.
44940 * io/sendfile64.c: Likewise.
44941 * io/statfs.c: Likewise.
44942 * io/statfs64.c: Likewise.
44943 * io/statvfs.c: Likewise.
44944 * io/statvfs64.c: Likewise.
44945 * io/symlink.c: Likewise.
44946 * io/symlinkat.c: Likewise.
44947 * io/ttyname.c: Likewise.
44948 * io/ttyname_r.c: Likewise.
44949 * io/umask.c: Likewise.
44950 * io/unlink.c: Likewise.
44951 * io/unlinkat.c: Likewise.
44952 * io/utime.c: Likewise.
44953 * io/utimensat.c: Likewise.
44954 * io/write.c: Likewise.
44955 * io/xmknod.c: Likewise.
44956 * io/xmknodat.c: Likewise.
44957 * io/xstat.c: Likewise.
44958 * io/xstat64.c: Likewise.
44959 * login/getpt.c: Likewise.
44960 * login/grantpt.c: Likewise.
44961 * login/unlockpt.c: Likewise.
44962 * math/e_acoshl.c: Likewise.
44963 * math/e_acosl.c: Likewise.
44964 * math/e_asinl.c: Likewise.
44965 * math/e_atan2l.c: Likewise.
44966 * math/e_atanhl.c: Likewise.
44967 * math/e_coshl.c: Likewise.
44968 * math/e_expl.c: Likewise.
44969 * math/e_fmodl.c: Likewise.
44970 * math/e_gammal_r.c: Likewise.
44971 * math/e_hypotl.c: Likewise.
44972 * math/e_j0l.c: Likewise.
44973 * math/e_j1l.c: Likewise.
44974 * math/e_jnl.c: Likewise.
44975 * math/e_lgammal_r.c: Likewise.
44976 * math/e_log10l.c: Likewise.
44977 * math/e_log2l.c: Likewise.
44978 * math/e_logl.c: Likewise.
44979 * math/e_powl.c: Likewise.
44980 * math/e_rem_pio2l.c: Likewise.
44981 * math/e_sinhl.c: Likewise.
44982 * math/e_sqrtl.c: Likewise.
44983 * math/fclrexcpt.c: Likewise.
44984 * math/fedisblxcpt.c: Likewise.
44985 * math/feenablxcpt.c: Likewise.
44986 * math/fegetenv.c: Likewise.
44987 * math/fegetexcept.c: Likewise.
44988 * math/fegetround.c: Likewise.
44989 * math/feholdexcpt.c: Likewise.
44990 * math/fesetenv.c: Likewise.
44991 * math/fesetround.c: Likewise.
44992 * math/feupdateenv.c: Likewise.
44993 * math/fgetexcptflg.c: Likewise.
44994 * math/fraiseexcpt.c: Likewise.
44995 * math/fsetexcptflg.c: Likewise.
44996 * math/ftestexcept.c: Likewise.
44997 * math/k_cosl.c: Likewise.
44998 * math/k_rem_pio2l.c: Likewise.
44999 * math/k_sinl.c: Likewise.
45000 * math/k_tanl.c: Likewise.
45001 * math/s_asinhl.c: Likewise.
45002 * math/s_atanl.c: Likewise.
45003 * math/s_cbrtl.c: Likewise.
45004 * math/s_erfl.c: Likewise.
45005 * math/s_expm1l.c: Likewise.
45006 * math/s_log1pl.c: Likewise.
45007 * math/s_tanhl.c: Likewise.
45008 * misc/acct.c: Likewise.
45009 * misc/brk.c: Likewise.
45010 * misc/chflags.c: Likewise.
45011 * misc/chroot.c: Likewise.
45012 * misc/fchflags.c: Likewise.
45013 * misc/fgetxattr.c: Likewise.
45014 * misc/flistxattr.c: Likewise.
45015 * misc/fremovexattr.c: Likewise.
45016 * misc/fsetxattr.c: Likewise.
45017 * misc/fsync.c: Likewise.
45018 * misc/ftruncate.c: Likewise.
45019 * misc/futimes.c: Likewise.
45020 * misc/futimesat.c: Likewise.
45021 * misc/getdomain.c: Likewise.
45022 * misc/getdtsz.c: Likewise.
45023 * misc/gethostid.c: Likewise.
45024 * misc/gethostname.c: Likewise.
45025 * misc/getloadavg.c: Likewise.
45026 * misc/getpagesize.c: Likewise.
45027 * misc/getsysstats.c: Likewise.
45028 * misc/getxattr.c: Likewise.
45029 * misc/gtty.c: Likewise.
45030 * misc/ioctl.c: Likewise.
45031 * misc/lgetxattr.c: Likewise.
45032 * misc/listxattr.c: Likewise.
45033 * misc/llistxattr.c: Likewise.
45034 * misc/lremovexattr.c: Likewise.
45035 * misc/lsetxattr.c: Likewise.
45036 * misc/lutimes.c: Likewise.
45037 * misc/madvise.c: Likewise.
45038 * misc/mincore.c: Likewise.
45039 * misc/mlock.c: Likewise.
45040 * misc/mlockall.c: Likewise.
45041 * misc/mmap.c: Likewise.
45042 * misc/mprotect.c: Likewise.
45043 * misc/msync.c: Likewise.
45044 * misc/munlock.c: Likewise.
45045 * misc/munlockall.c: Likewise.
45046 * misc/munmap.c: Likewise.
45047 * misc/preadv.c: Likewise.
45048 * misc/preadv64.c: Likewise.
45049 * misc/ptrace.c: Likewise.
45050 * misc/pwritev.c: Likewise.
45051 * misc/pwritev64.c: Likewise.
45052 * misc/readv.c: Likewise.
45053 * misc/reboot.c: Likewise.
45054 * misc/remap_file_pages.c: Likewise.
45055 * misc/removexattr.c: Likewise.
45056 * misc/revoke.c: Likewise.
45057 * misc/select.c: Likewise.
45058 * misc/setdomain.c: Likewise.
45059 * misc/setegid.c: Likewise.
45060 * misc/seteuid.c: Likewise.
45061 * misc/sethostid.c: Likewise.
45062 * misc/sethostname.c: Likewise.
45063 * misc/setregid.c: Likewise.
45064 * misc/setreuid.c: Likewise.
45065 * misc/setxattr.c: Likewise.
45066 * misc/sstk.c: Likewise.
45067 * misc/stty.c: Likewise.
45068 * misc/swapoff.c: Likewise.
45069 * misc/swapon.c: Likewise.
45070 * misc/sync.c: Likewise.
45071 * misc/syncfs.c: Likewise.
45072 * misc/syscall.c: Likewise.
45073 * misc/truncate.c: Likewise.
45074 * misc/ualarm.c: Likewise.
45075 * misc/usleep.c: Likewise.
45076 * misc/ustat.c: Likewise.
45077 * misc/utimes.c: Likewise.
45078 * misc/vhangup.c: Likewise.
45079 * misc/writev.c: Likewise.
45080 * posix/_exit.c: Likewise.
45081 * posix/alarm.c: Likewise.
45082 * posix/execve.c: Likewise.
45083 * posix/fexecve.c: Likewise.
45084 * posix/fork.c: Likewise.
45085 * posix/fpathconf.c: Likewise.
45086 * posix/getaddrinfo.c: Likewise.
45087 * posix/getegid.c: Likewise.
45088 * posix/geteuid.c: Likewise.
45089 * posix/getgid.c: Likewise.
45090 * posix/getgroups.c: Likewise.
45091 * posix/getlogin.c: Likewise.
45092 * posix/getlogin_r.c: Likewise.
45093 * posix/getpgid.c: Likewise.
45094 * posix/getpid.c: Likewise.
45095 * posix/getppid.c: Likewise.
45096 * posix/getresgid.c: Likewise.
45097 * posix/getresuid.c: Likewise.
45098 * posix/getsid.c: Likewise.
45099 * posix/getuid.c: Likewise.
45100 * posix/glob64.c: Likewise.
45101 * posix/nanosleep.c: Likewise.
45102 * posix/pathconf.c: Likewise.
45103 * posix/pause.c: Likewise.
45104 * posix/posix_madvise.c: Likewise.
45105 * posix/pread.c: Likewise.
45106 * posix/pread64.c: Likewise.
45107 * posix/pwrite.c: Likewise.
45108 * posix/pwrite64.c: Likewise.
45109 * posix/sched_getaffinity.c: Likewise.
45110 * posix/sched_getp.c: Likewise.
45111 * posix/sched_gets.c: Likewise.
45112 * posix/sched_primax.c: Likewise.
45113 * posix/sched_primin.c: Likewise.
45114 * posix/sched_rr_gi.c: Likewise.
45115 * posix/sched_setaffinity.c: Likewise.
45116 * posix/sched_setp.c: Likewise.
45117 * posix/sched_sets.c: Likewise.
45118 * posix/sched_yield.c: Likewise.
45119 * posix/setgid.c: Likewise.
45120 * posix/setlogin.c: Likewise.
45121 * posix/setpgid.c: Likewise.
45122 * posix/setresgid.c: Likewise.
45123 * posix/setresuid.c: Likewise.
45124 * posix/setsid.c: Likewise.
45125 * posix/setuid.c: Likewise.
45126 * posix/sleep.c: Likewise.
45127 * posix/spawni.c: Likewise.
45128 * posix/sysconf.c: Likewise.
45129 * posix/times.c: Likewise.
45130 * posix/wait.c: Likewise.
45131 * posix/wait3.c: Likewise.
45132 * posix/wait4.c: Likewise.
45133 * posix/waitpid.c: Likewise.
45134 * resolv/gai_sigqueue.c: Likewise.
45135 * resource/getpriority.c: Likewise.
45136 * resource/getrlimit.c: Likewise.
45137 * resource/getrusage.c: Likewise.
45138 * resource/nice.c: Likewise.
45139 * resource/setpriority.c: Likewise.
45140 * resource/setrlimit.c: Likewise.
45141 * resource/ulimit.c: Likewise.
45142 * rt/aio_cancel.c: Likewise.
45143 * rt/aio_fsync.c: Likewise.
45144 * rt/aio_read.c: Likewise.
45145 * rt/aio_sigqueue.c: Likewise.
45146 * rt/aio_suspend.c: Likewise.
45147 * rt/aio_write.c: Likewise.
45148 * rt/clock_getres.c: Likewise.
45149 * rt/clock_gettime.c: Likewise.
45150 * rt/clock_nanosleep.c: Likewise.
45151 * rt/clock_settime.c: Likewise.
45152 * rt/lio_listio.c: Likewise.
45153 * rt/mq_close.c: Likewise.
45154 * rt/mq_getattr.c: Likewise.
45155 * rt/mq_notify.c: Likewise.
45156 * rt/mq_open.c: Likewise.
45157 * rt/mq_receive.c: Likewise.
45158 * rt/mq_send.c: Likewise.
45159 * rt/mq_setattr.c: Likewise.
45160 * rt/mq_timedreceive.c: Likewise.
45161 * rt/mq_timedsend.c: Likewise.
45162 * rt/mq_unlink.c: Likewise.
45163 * rt/shm_open.c: Likewise.
45164 * rt/shm_unlink.c: Likewise.
45165 * rt/timer_create.c: Likewise.
45166 * rt/timer_delete.c: Likewise.
45167 * rt/timer_getoverr.c: Likewise.
45168 * rt/timer_gettime.c: Likewise.
45169 * rt/timer_settime.c: Likewise.
45170 * setjmp/__longjmp.c: Likewise.
45171 * setjmp/setjmp.c: Likewise.
45172 * signal/kill.c: Likewise.
45173 * signal/killpg.c: Likewise.
45174 * signal/raise.c: Likewise.
45175 * signal/sigaction.c: Likewise.
45176 * signal/sigaltstack.c: Likewise.
45177 * signal/sigblock.c: Likewise.
45178 * signal/sigignore.c: Likewise.
45179 * signal/sigintr.c: Likewise.
45180 * signal/signal.c: Likewise.
45181 * signal/sigpause.c: Likewise.
45182 * signal/sigpending.c: Likewise.
45183 * signal/sigqueue.c: Likewise.
45184 * signal/sigreturn.c: Likewise.
45185 * signal/sigset.c: Likewise.
45186 * signal/sigsetmask.c: Likewise.
45187 * signal/sigstack.c: Likewise.
45188 * signal/sigsuspend.c: Likewise.
45189 * signal/sigtimedwait.c: Likewise.
45190 * signal/sigvec.c: Likewise.
45191 * signal/sigwait.c: Likewise.
45192 * signal/sigwaitinfo.c: Likewise.
45193 * signal/sysv_signal.c: Likewise.
45194 * socket/accept.c: Likewise.
45195 * socket/accept4.c: Likewise.
45196 * socket/bind.c: Likewise.
45197 * socket/connect.c: Likewise.
45198 * socket/getpeername.c: Likewise.
45199 * socket/getsockname.c: Likewise.
45200 * socket/getsockopt.c: Likewise.
45201 * socket/isfdtype.c: Likewise.
45202 * socket/listen.c: Likewise.
45203 * socket/recv.c: Likewise.
45204 * socket/recvfrom.c: Likewise.
45205 * socket/recvmsg.c: Likewise.
45206 * socket/send.c: Likewise.
45207 * socket/sendmsg.c: Likewise.
45208 * socket/sendto.c: Likewise.
45209 * socket/setsockopt.c: Likewise.
45210 * socket/shutdown.c: Likewise.
45211 * socket/sockatmark.c: Likewise.
45212 * socket/socket.c: Likewise.
45213 * socket/socketpair.c: Likewise.
45214 * stdio-common/ctermid.c: Likewise.
45215 * stdio-common/cuserid.c: Likewise.
45216 * stdio-common/remove.c: Likewise.
45217 * stdio-common/rename.c: Likewise.
45218 * stdio-common/renameat.c: Likewise.
45219 * stdio-common/tempname.c: Likewise.
45220 * stdlib/getcontext.c: Likewise.
45221 * stdlib/makecontext.c: Likewise.
45222 * stdlib/setcontext.c: Likewise.
45223 * stdlib/swapcontext.c: Likewise.
45224 * stdlib/system.c: Likewise.
45225 * streams/fattach.c: Likewise.
45226 * streams/fdetach.c: Likewise.
45227 * streams/getmsg.c: Likewise.
45228 * streams/getpmsg.c: Likewise.
45229 * streams/putmsg.c: Likewise.
45230 * streams/putpmsg.c: Likewise.
45231 * sysdeps/unix/bsd/getpt.c: Likewise.
45232 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45233 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45234 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45237 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45239 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45240 * sysvipc/msgctl.c: Likewise.
45241 * sysvipc/msgget.c: Likewise.
45242 * sysvipc/msgrcv.c: Likewise.
45243 * sysvipc/msgsnd.c: Likewise.
45244 * sysvipc/semctl.c: Likewise.
45245 * sysvipc/semget.c: Likewise.
45246 * sysvipc/semop.c: Likewise.
45247 * sysvipc/semtimedop.c: Likewise.
45248 * sysvipc/shmat.c: Likewise.
45249 * sysvipc/shmctl.c: Likewise.
45250 * sysvipc/shmdt.c: Likewise.
45251 * sysvipc/shmget.c: Likewise.
45252 * termios/tcdrain.c: Likewise.
45253 * termios/tcflow.c: Likewise.
45254 * termios/tcflush.c: Likewise.
45255 * termios/tcgetattr.c: Likewise.
45256 * termios/tcgetpgrp.c: Likewise.
45257 * termios/tcsendbrk.c: Likewise.
45258 * termios/tcsetattr.c: Likewise.
45259 * termios/tcsetpgrp.c: Likewise.
45260 * time/adjtime.c: Likewise.
45261 * time/clock.c: Likewise.
45262 * time/getitimer.c: Likewise.
45263 * time/gettimeofday.c: Likewise.
45264 * time/setitimer.c: Likewise.
45265 * time/settimeofday.c: Likewise.
45266 * time/stime.c: Likewise.
45267 * time/time.c: Likewise.
45269 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45271 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45274 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45276 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45278 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45282 FE_TONEAREST before applying Dekker multiplication and Knuth
45283 addition. Clear inexact exceptions and check for exact zero
45284 results afterwards.
45285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45286 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45287 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45288 * math/libm-test.inc (fma_test): Add more tests.
45289 (fma_test_towardzero): Likewise.
45290 (fma_test_downward): Likewise.
45291 (fma_test_upward): Likewise.
45292 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45294 (libc_fesetround): New macro.
45295 (libc_fesetroundf): Likewise.
45296 (libc_fesetroundl): Likewise.
45297 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45299 (libc_fesetround_387): Likewise.
45300 (libc_fesetroundf): New macro.
45301 (libc_fesetround): Likewise.
45302 (libc_fesetroundl): Likewise.
45303 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45305 (libc_fesetroundf): New macro.
45306 (libc_fesetround): Likewise.
45307 (libc_fesetroundl): Likewise.
45308 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45309 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45310 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45312 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45313 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45315 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45316 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45318 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45322 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45323 integer constant usable in #if and use that to give value to enum
45325 (FE_DIVBYZERO): Likewise.
45326 (FE_UNDERFLOW): Likewise.
45327 (FE_OVERFLOW): Likewise.
45328 (FE_INVALID): Likewise.
45329 (FE_INVALID_SNAN): Likewise.
45330 (FE_INVALID_ISI): Likewise.
45331 (FE_INVALID_IDI): Likewise.
45332 (FE_INVALID_ZDZ): Likewise.
45333 (FE_INVALID_IMZ): Likewise.
45334 (FE_INVALID_COMPARE): Likewise.
45335 (FE_INVALID_SOFTWARE): Likewise.
45336 (FE_INVALID_SQRT): Likewise.
45337 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45338 (FE_TONEAREST): Likewise.
45339 (FE_TOWARDZERO): Likewise.
45340 (FE_UPWARD): Likewise.
45341 (FE_DOWNWARD): Likewise.
45342 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45343 (FE_DIVBYZERO): Likewise.
45344 (FE_OVERFLOW): Likewise.
45345 (FE_UNDERFLOW): Likewise.
45346 (FE_INEXACT): Likewise.
45347 (FE_TONEAREST): Likewise.
45348 (FE_DOWNWARD): Likewise.
45349 (FE_UPWARD): Likewise.
45350 (FE_TOWARDZERO): Likewise.
45351 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45352 (FE_UNDERFLOW): Likewise.
45353 (FE_OVERFLOW): Likewise.
45354 (FE_DIVBYZERO): Likewise.
45355 (FE_INVALID): Likewise.
45356 (FE_TONEAREST): Likewise.
45357 (FE_TOWARDZERO): Likewise.
45358 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45359 (FE_OVERFLOW): Likewise.
45360 (FE_UNDERFLOW): Likewise.
45361 (FE_DIVBYZERO): Likewise.
45362 (FE_INEXACT): Likewise.
45363 (FE_TONEAREST): Likewise.
45364 (FE_TOWARDZERO): Likewise.
45365 (FE_UPWARD): Likewise.
45366 (FE_DOWNWARD): Likewise.
45367 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45368 (FE_DIVBYZERO): Likewise.
45369 (FE_OVERFLOW): Likewise.
45370 (FE_UNDERFLOW): Likewise.
45371 (FE_INEXACT): Likewise.
45372 (FE_TONEAREST): Likewise.
45373 (FE_DOWNWARD): Likewise.
45374 (FE_UPWARD): Likewise.
45375 (FE_TOWARDZERO): Likewise.
45377 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45379 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45381 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45383 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45384 commands. Quote $PWD.
45385 (blacklist_exports): Don't use remove_newlines. Replace "declare
45387 (remove_newlines): Remove.
45389 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45391 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45392 * stdlib/stdlib.h (atof): Moved to ...
45393 * include/bits/stdlib-float.h: Here. New file.
45394 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45395 * stdlib/bits/stdlib-float.h: New file.
45396 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45401 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45403 * conform/conformtest.pl (@headers): Add fenv.h.
45404 * conform/data/fenv.h-data: New file.
45405 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45406 include of <math/fenv.h>.
45408 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45409 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45410 && !UNIX98]. Enables tests for XOPEN2K8.
45411 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45412 POSIX2008]: Likewise.
45414 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45415 (struct rusage): Do not expect type or its members.
45418 * math/math.h (FP_NAN): Define macro to integer constant usable in
45419 #if and use that to give value to enum constant.
45420 (FP_INFINITE): Likewise.
45421 (FP_ZERO): Likewise.
45422 (FP_SUBNORMAL): Likewise.
45423 (FP_NORMAL): Likewise.
45425 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45427 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45428 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45431 2012-11-02 Roland McGrath <roland@hack.frob.com>
45433 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45434 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45435 autoconf-time if not.
45436 * configure.in: Remove AC_PREREQ.
45438 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45440 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45441 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45442 of the internal implementation.
45444 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45446 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45447 except include of <misc/sys/syslog.h>.
45449 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45452 function returns with a NULL context exit with zero.
45454 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45456 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45458 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
45460 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45461 (run_program_cmd): This.
45462 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45463 (tst_langinfo): New variable. Use it.
45465 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
45467 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45468 floating point opcodes.
45470 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45472 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45475 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45477 * sysdeps/mach/hurd/powerpc: Remove directory.
45478 * sysdeps/mach/powerpc: Likewise.
45480 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45482 * scripts/check-local-headers.sh: Ignore c++ headers.
45484 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45486 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45487 __libc_cleanup_region_start argument.
45489 2012-11-01 Joseph Myers <joseph@codesourcery.com>
45493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45494 x * y using scaling, not as x * y + z.
45495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45497 * math/libm-test.inc (fma_test): Add more tests.
45498 (fma_test_towardzero): Likewise.
45499 (fma_test_downward): Likewise.
45500 (fma_test_upward): Likewise.
45502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
45504 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45506 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45508 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45511 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
45513 * rt/tst-shm.c (worker): Correct checking for mmap failure.
45515 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45522 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45525 Fix the order of the list for glibc 2.17.
45526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45529 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
45531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45533 2012-10-31 Joseph Myers <joseph@codesourcery.com>
45536 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45537 for low part of x being zero before using __atanl (y).
45538 * math/libm-test.inc (atan2_test): Add another test.
45540 * manual/install.texi (Configuring and compiling): Document
45541 general use of test-wrapper and test-wrapper-env.
45542 * INSTALL: Regenerated.
45544 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45545 (__fma): Do not extract and scale down low bits on after-rounding
45546 systems when result rounded to normal precision would have normal
45548 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45549 (__fmal): Do not extract and scale down low bits on after-rounding
45550 systems when result rounded to normal precision would have normal
45552 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45553 (__fmal): Do not extract and scale down low bits on after-rounding
45554 systems when result rounded to normal precision would have normal
45556 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45558 (fma_test): Add more tests.
45559 (fma_test_towardzero): Likewise.
45560 (fma_test_downward): Likewise.
45561 (fma_test_upward): Likewise.
45563 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
45565 * sysdeps/i386/tininess.h: Renamed to ...
45566 * sysdeps/x86/tininess.h: This.
45567 * sysdeps/x86_64/tininess.h: Removed.
45569 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45571 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45572 input. Use $(build-program-cmd).
45573 ($(objpfx)tst-array1-static.out): Likewise.
45574 ($(objpfx)tst-array2.out): Likewise.
45575 ($(objpfx)tst-array3.out): Likewise.
45576 ($(objpfx)tst-array4.out): Likewise.
45577 ($(objpfx)tst-array5.out): Likewise.
45578 ($(objpfx)tst-array5-static.out): Likewise.
45580 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
45582 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45585 * nss/nsswitch.h (nss_interface_function): Provide new
45586 macro for use with NSS functions.
45587 * grp/initgroups.c: Use new macro.
45588 * nss/getXXbyYY.c: Likewise.
45589 * nss/getXXbyYY_r.c: Likewise.
45590 * nss/getXXent.c: Likewise.
45591 * nss/getXXent_r.c: Likewise.
45592 * sysdeps/posix/getaddrinfo.c: Likewise.
45594 2012-10-30 Andreas Jaeger <aj@suse.de>
45596 * po/ru.po: Update Russion translation from translation project.
45598 2012-10-30 Joseph Myers <joseph@codesourcery.com>
45602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
45603 result and shift together with sticky bit instead of replicating
45604 round-to-nearest rounding.
45605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45607 * math/libm-test.inc (fma_test): Add more tests. Do not permit
45608 missing underflow exceptions.
45609 (fma_test_towardzero): Add more tests.
45610 (fma_test_downward): Likewise.
45611 (fma_test_upward): Likewise.
45614 * sysdeps/generic/tininess.h: New file.
45615 * sysdeps/i386/tininess.h: Likewise.
45616 * sysdeps/sh/tininess.h: Likewise.
45617 * sysdeps/x86_64/tininess.h: Likewise.
45618 * stdlib/tst-strtod-underflow.c: Likewise.
45619 * stdlib/tst-tininess.c: Likewise.
45620 * stdlib/strtod_l.c: Include <tininess.h>.
45621 (round_and_return): Do not set errno for exact underflow cases.
45622 Force an underflow exception when setting errno for underflow.
45623 Determine underflow based on rounding to normal precision if
45624 TININESS_AFTER_ROUNDING.
45625 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
45626 ERANGE for exact underflow cases.
45627 * stdlib/Makefile (tests): Add tst-tininess and
45628 tst-strtod-underflow.
45629 ($(objpfx)tst-tininess): Use $(link-libm).
45630 ($(objpfx)tst-strtod-underflow): Likewise.
45632 2012-10-30 Andreas Jaeger <aj@suse.de>
45635 * elf/Makefile (tests): Remove conditional for have-initfini-array
45636 since this is now always required and the variable does not exist
45638 (tests-static): Likewise.
45639 (modules-names): Likewise.
45641 * po/eo.po: Add Esperanto translation from translation project.
45643 * elf/tst-array1.c (fini_array): Make writeable so that it can be
45644 merged with constructor/destructor.
45645 (init_array): Likewise.
45646 * elf/tst-array2dep.c (fini_array): Likewise.
45647 (init_array): Likewise.
45649 2012-10-29 Mike Frysinger <vapier@gentoo.org>
45651 * manual/message.texi: Delete @cartouche tags.
45653 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
45655 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
45657 * sysdeps/mach/hurd/fsync.c: Likewise.
45659 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
45660 [_POSIX_REALTIME_SIGNALS]: Change condition to
45661 [_POSIX_REALTIME_SIGNALS > 0].
45663 2012-10-27 Andreas Jaeger <aj@suse.de>
45665 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
45666 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
45667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
45668 [__WORDSIZE != 64]: Likewise.
45670 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
45672 * iconvdata/tst-table.sh: Remove ${SHELL}.
45673 * iconvdata/tst-tables.sh: Likewise.
45675 2012-10-25 David S. Miller <davem@davemloft.net>
45677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45678 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
45681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
45683 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45684 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
45685 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
45688 2012-10-25 Roland McGrath <roland@hack.frob.com>
45690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45691 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
45694 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45695 Jim Blandy <jimb@codesourcery.com>
45697 * scripts/cross-test-ssh.sh: New file.
45698 * manual/install.texi (Configuring and compiling): Document use of
45700 * INSTALL: Regenerated.
45702 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
45704 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
45707 2012-10-25 Joseph Myers <joseph@codesourcery.com>
45709 * Makeconfig (run-program-prefix): Fix comment.
45711 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45712 Jim Blandy <jimb@codesourcery.com>
45714 * Makeconfig (test-wrapper): New variable,
45715 (test-wrapper-env): Likewise.
45716 [$(cross-compiling) = yes && $(test-wrapper) != ""]
45717 (run-built-tests): Define to yes.
45718 (run-program-prefix): Use $(test-wrapper).
45719 (built-program-cmd): Likewise.
45720 * Rules (make-test-out): Use $(test-wrapper-env) and
45721 $(host-built-program-cmd).
45722 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
45723 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
45725 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
45726 $(test-wrapper-env) to tst-rtld-load-self.sh.
45727 ($(objpfx)order2.out): Use $(test-wrapper).
45728 ($(objpfx)tst-initorder.out): Likewise.
45729 ($(objpfx)tst-initorder2.out): Likewise.
45730 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
45731 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
45732 (test_wrapper_env): New variable. Use it to run ld.so.
45733 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
45734 Use it to run ld.so.
45735 (test_wrapper_env): Likewise.
45736 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
45737 $(test-wrapper) to run-iconv-test.sh.
45738 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
45739 (ICONV): Use $test_wrapper.
45740 * posix/Makefile ($(objpfx)globtest.out): Pass
45741 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
45742 globtest.sh, not $(run-program-prefix).
45743 * posix/globtest.sh (run_via_rtld_prefix): New variable.
45744 (test_wrapper): Likewise.
45745 (test_wrapper_env): Likewise. Use it to run globtest with HOME
45746 set together with run_via_rtld_prefix.
45747 (run_program_prefix): Define in terms of test_wrapper and
45748 run_via_rtld_prefix.
45750 2012-10-24 Roland McGrath <roland@hack.frob.com>
45752 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
45753 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
45757 * include/time.h: Remove librt_hidden_proto (clock_gettime).
45758 Declare __clock_getres, __clock_gettime, __clock_settime,
45759 __clock_nanosleep, and __clock_getcpuclockid.
45760 * rt/clock_gettime.c: Define __clock_gettime as an alias.
45761 Remove librt_hidden_def (clock_gettime).
45762 * sysdeps/unix/clock_gettime.c: Likewise.
45763 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
45764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45765 * rt/clock_getres.c: Define __clock_getres as an alias.
45766 * sysdeps/posix/clock_getres.c: Likewise.
45767 * rt/clock_settime.c: Define __clock_settime as an alias.
45768 * sysdeps/unix/clock_settime.c: Likewise.
45769 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
45770 * sysdeps/unix/clock_nanosleep.c: Likewise.
45771 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45772 * rt/clock-compat.c: New file.
45773 * rt/Makefile (librt-routines): Add clock-compat and move
45774 $(clock-routines) to ...
45775 (routines): ... here, new variable.
45776 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
45777 Don't add get_clockfreq here.
45778 * rt/Versions (libc: GLIBC_2.17): New version set.
45779 Add clock_* symbols here.
45780 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
45781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
45782 (GLIBC_2.17): Add clock_* symbols.
45783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45794 * NEWS: Mention the move.
45796 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45797 Use __open, __read, __close rather than their public counterparts.
45798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45799 (__get_clockfreq_via_cpuinfo): Likewise.
45800 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
45801 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
45803 * config.h.in (HAVE_IFUNC): New #undef.
45804 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
45806 * configure: Regenerated.
45808 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45810 * configure.in: Move READELF check to start of file.
45811 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
45812 libc_cv_asm_gnu_indirect_function in the process.
45813 * configure: Regenerated.
45815 2012-10-24 Mike Frysinger <vapier@gentoo.org>
45817 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
45818 send the output to /dev/null.
45819 (libc_cv_cc_with_libunwind): Likewise.
45820 (libc_cv_as_noexecstack): Likewise.
45821 * configure: Regenerate.
45823 2012-10-24 Joseph Myers <joseph@codesourcery.com>
45825 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
45827 * posix/globtest.sh (TMPDIR): Do not set.
45828 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
45829 (testout): Likewise.
45831 2012-10-24 Andreas Jaeger <aj@suse.de>
45833 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
45834 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
45835 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
45836 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
45837 posix_fadvise64, posix_fallocate64.
45839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
45840 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
45841 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
45843 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
45845 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
45847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
45848 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
45849 <bits/fcntl-linux.h>.
45850 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
45852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
45853 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
45854 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
45855 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
45856 [__WORDSIZE != 64]: Likewise.
45858 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45860 * Makeconfig (run-built-tests): New variable.
45861 * Rules [$(cross-compiling) = yes]: Change condition to
45862 [$(run-built-tests) = no].
45863 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
45864 to [$(run-built-tests) = yes].
45865 * elf/Makefile [$(cross-compiling) = no]: Likewise
45866 * grp/Makefile [$(cross-compiling) = no]: Likewise.
45867 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
45868 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
45869 * intl/Makefile [$(cross-compiling) = no]: Likewise.
45870 * io/Makefile [$(cross-compiling) = no]: Likewise.
45871 * libio/Makefile [$(cross-compiling) = no]: Likewise.
45872 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
45873 * misc/Makefile [$(cross-compiling) = no]: Likewise.
45874 * posix/Makefile [$(cross-compiling) = no]: Likewise.
45875 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
45876 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
45877 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
45878 * string/Makefile [$(cross-compiling) = no]: Likewise.
45880 * posix/Makefile ($(objpfx)globtest.out): Pass
45881 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
45882 $(rtld-installed-name).
45883 * posix/globtest.sh (elf_objpfx): Remove variable.
45884 (rtld_installed_name): Likewise.
45885 (library_path): Likewise.
45886 (run_program_prefix): New variable. Use for running globtest
45889 2012-10-23 Jim Blandy <jimb@codesourcery.com>
45890 Joseph Myers <joseph@codesourcery.com>
45892 * Makeconfig (host-built-program-cmd): New variable.
45893 * elf/Makefile (tst-stackguard1-ARGS): Use
45894 $(host-built-program-cmd).
45895 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
45896 (tst-spawn-ARGS): Likewise.
45897 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
45899 2012-10-23 Joseph Myers <joseph@codesourcery.com>
45900 Jim Blandy <jimb@codesourcery.com>
45902 * Makeconfig (run-via-rtld-prefix): New variable.
45903 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
45904 (built-program-cmd): Likewise.
45906 2012-10-22 Andreas Jaeger <aj@suse.de>
45908 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
45909 __O_RSYNC if it exists, otherwise to O_SYNC.
45911 2012-10-22 Jim Blandy <jimb@codesourcery.com>
45912 Joseph Myers <joseph@codesourcery.com>
45914 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
45916 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
45918 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
45921 2012-10-22 Andreas Jaeger <aj@suse.de>
45923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
45925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
45927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45928 bits/fcntl-linux.h.
45930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
45931 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
45933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
45935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
45938 2012-10-21 Jim Blandy <jimb@codesourcery.com>
45939 Joseph Myers <joseph@codesourcery.com>
45941 * config.make.in (NM): New variable.
45943 2012-10-21 Andreas Jaeger <aj@suse.de>
45945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
45946 definitions and declarations that are provided by
45947 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
45949 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45952 * elf/Makefile (tests-static): Add tst-leaks1-static.
45953 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
45954 ($(objpfx)tst-leaks1-static): New rule.
45955 ($(objpfx)tst-leaks1-static-mem): Likewise.
45956 (tst-leaks1-static-ENV): New macro.
45957 * elf/dl-open.c (dl_open_worker): Check the main application
45958 only if SHARED is defined.
45959 * elf/tst-leaks1-static.c: New file.
45961 2012-10-20 Andreas Jaeger <aj@suse.de>
45963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45964 generic values for Linux.
45965 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45966 and declarations that are provided by <bits/fcntl-linux.h> and
45967 include <bits/fcntl-linux.h>.
45968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45971 2012-10-20 Roland McGrath <roland@hack.frob.com>
45973 * io/fcntl.h: Move include of <bits/types.h> to the top and
45974 include it unconditionally.
45976 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45978 * wcsmbs/Makefile (tests-ifunc): New variable.
45979 (tests): Add $(tests-ifunc).
45980 * wcsmbs/test-wcschr-ifunc.c: New file.
45981 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45982 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45983 * wcsmbs/test-wcslen-ifunc.c: Likewise.
45984 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45985 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45987 * string/Makefile (tests-ifunc): New variable.
45988 (tests): Add $(tests-ifunc).
45989 * string/test-memccpy.c (TEST_NAME): New macro.
45990 * string/test-memchr.c (TEST_NAME): Likewise.
45991 * string/test-memcmp.c (TEST_NAME): Likewise.
45992 * string/test-memcpy.c (TEST_NAME): Likewise.
45993 * string/test-memmem.c (TEST_NAME): Likewise.
45994 * string/test-memmove.c (TEST_NAME): Likewise.
45995 * string/test-memset.c (TEST_NAME): Likewise.
45996 * string/test-rawmemchr.c (TEST_NAME): Likewise.
45997 * string/test-stpcpy.c (TEST_NAME): Likewise.
45998 * string/test-stpncpy.c (TEST_NAME): Likewise.
45999 * string/test-strcasecmp.c (TEST_NAME): Likewise.
46000 * string/test-strcasestr.c (TEST_NAME): Likewise.
46001 * string/test-strcat.c (TEST_NAME): Likewise.
46002 * string/test-strchr.c (TEST_NAME): Likewise.
46003 * string/test-strcmp.c(TEST_NAME): Likewise.
46004 * string/test-strcpy.c (TEST_NAME): Likewise.
46005 * string/test-strcspn.c (TEST_NAME): Likewise.
46006 * string/test-strlen.c (TEST_NAME): Likewise.
46007 * string/test-strncasecmp.c (TEST_NAME): Likewise.
46008 * string/test-strncmp.c (TEST_NAME): Likewise.
46009 * string/test-strncpy.c (TEST_NAME): Likewise.
46010 * string/test-strnlen.c (TEST_NAME): Likewise.
46011 * string/test-strpbrk.c (TEST_NAME): Likewise.
46012 * string/test-strrchr.c (TEST_NAME): Likewise.
46013 * string/test-strspn.c (TEST_NAME): Likewise.
46014 * string/test-strstr.c (TEST_NAME): Likewise.
46015 * string/test-bcopy-ifunc.c: New file.
46016 * string/test-bzero-ifunc.c: Likewise.
46017 * string/test-memccpy-ifunc.c: Likewise.
46018 * string/test-memchr-ifunc.c: Likewise.
46019 * string/test-memcmp-ifunc.c: Likewise.
46020 * string/test-memcpy-ifunc.c: Likewise.
46021 * string/test-memmem-ifunc.c: Likewise.
46022 * string/test-memmove-ifunc.c: Likewise.
46023 * string/test-mempcpy-ifunc.c: Likewise.
46024 * string/test-memset-ifunc.c: Likewise.
46025 * string/test-rawmemchr-ifunc.c: Likewise.
46026 * string/test-stpcpy-ifunc.c: Likewise.
46027 * string/test-stpncpy-ifunc.c: Likewise.
46028 * string/test-strcasecmp-ifunc.c: Likewise.
46029 * string/test-strcasestr-ifunc.c: Likewise.
46030 * string/test-strcat-ifunc.c: Likewise.
46031 * string/test-strchr-ifunc.c: Likewise.
46032 * string/test-strchrnul-ifunc.c: Likewise.
46033 * string/test-strcmp-ifunc.c: Likewise.
46034 * string/test-strcpy-ifunc.c: Likewise.
46035 * string/test-strcspn-ifunc.c: Likewise.
46036 * string/test-strlen-ifunc.c: Likewise.
46037 * string/test-strncasecmp-ifunc.c: Likewise.
46038 * string/test-strncat-ifunc.c: Likewise.
46039 * string/test-strncmp-ifunc.c: Likewise.
46040 * string/test-strncpy-ifunc.c: Likewise.
46041 * string/test-strnlen-ifunc.c: Likewise.
46042 * string/test-strpbrk-ifunc.c: Likewise.
46043 * string/test-strrchr-ifunc.c: Likewise.
46044 * string/test-strspn-ifunc.c: Likewise.
46045 * string/test-strstr-ifunc.c: Likewise.
46047 * debug/Makefile (tests-ifunc): New variable.
46048 (tests): Add $(tests-ifunc).
46049 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46050 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46051 * debug/test-stpcpy_chk-ifunc.c: New file.
46052 * debug/test-strcpy_chk-ifunc.c: Likewise.
46054 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46057 * elf/dl-load.c (open_verify): Retry read if the entire ELF
46058 header is not read in.
46060 2012-10-19 Joseph Myers <joseph@codesourcery.com>
46062 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
46063 script to $(SHELL) as $<. Pass $(common-objpfx) to script
46064 directly. Pass built executable to script as
46065 $(built-program-cmd).
46066 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
46067 $testprogram without using LD_LIBRARY_PATH and $ldso.
46069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46070 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46071 $(rtld-installed-name).
46072 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46073 (rtld_installed_name): Likewise.
46074 (library_path): Likewise.
46075 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46076 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46077 $(run-program-prefix) to tst-tables.sh.
46078 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46079 it to run tst-table-from and tst-table-to.
46080 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46081 Pass it to tst-table.sh.
46082 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46083 $(run-program-prefix) to tst-gettext.sh.
46084 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46086 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46088 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46089 to run tst-gettext.
46090 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46091 to run tst-gettext2.
46092 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46093 to run tst-translit.
46094 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46095 $(run-program-prefix) to tst-mtrace.sh.
46096 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46098 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46099 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46100 $(rtld-installed-name).
46101 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46102 (rtld_installed_name): Likewise.
46103 (run_program_prefix): New variable. Use it to run wordexp-test.
46105 * Makeconfig (ARCH): Remove all definitions.
46106 (machine): Likewise.
46107 [ARCH]: Remove conditional code.
46108 [!objdir]: Give error.
46109 [!objdir] (objpfx): Remove.
46110 [!objdir] (common-objpfx): Likewise.
46111 [!objdir] (common-objdir): Likewise.
46112 * configure.in (config_makefile): Remove. Hardcode Makefile in
46113 AC_CONFIG_FILES call.
46114 * configure: Regenerated.
46117 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46119 (testout): Likewise.
46121 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46122 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46123 $(rtld-installed-name).
46124 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46125 (rtld_installed_name): Likwise.
46126 (runit): Remove function.
46127 (run_getconf): New variable, Use it for running getconf binary.
46129 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46132 * string/test-memmem.c (check_result): New function.
46133 (do_one_test): Use it.
46134 (check1): New function.
46135 (test_main): Use it.
46137 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46139 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46141 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46143 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46144 (_G_LSEEK64): Likewise.
46145 (_G_MMAP64): Likewise.
46146 (_G_FSTAT64): Likewise.
46147 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46148 (_G_LSEEK64): Likewise.
46149 (_G_MMAP64): Likewise.
46150 (_G_FSTAT64): Likewise.
46151 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46152 unconditional. Call __mmap64 directly.
46153 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46154 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46155 __lseek64 directly.
46156 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46157 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46159 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46160 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46161 __lseek64 directly.
46162 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46163 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46164 __lseek64 directly.
46165 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46166 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46167 __lseek64 directly.
46168 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46169 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46170 __fxstat64 directly.
46171 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46172 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46174 (freopen64) [!_G_OPEN64]: Remove conditional code.
46175 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46177 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46178 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46180 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46181 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46183 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46184 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46186 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46187 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46189 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46190 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46192 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46193 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46195 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46197 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46200 * manual/memory.texi (Malloc Tunable Parameters): Add note
46201 about free list pointers overwriting some perturb bytes.
46202 Wording suggested by Roland McGrath.
46204 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46206 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46207 (lgamma_test): Likewise.
46208 (tgamma_test): Likewise.
46210 2012-10-16 Florian Weimer <fweimer@redhat.com>
46213 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46214 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46216 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46218 * NEWS: Mention BZ #14716.
46219 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46220 when removing AVAILABLE1_USES_J macro.
46222 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46224 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46225 (__bswap_64): __uint64_t for unsigned 64-bit int.
46227 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46229 * include/string.h (memmem): Declare libc hidden alias.
46230 * string/memmem.c (memmem): Define libc hidden alias.
46231 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46232 __read, __close instead of open, read, close.
46234 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46237 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46239 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46240 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46241 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46243 (__rawmemchr_sse2): Likewise.
46244 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46245 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46246 (__strchr_sse2): Likewise.
46247 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46248 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46249 (__strcasecmp_sse2): Likewise.
46250 (__strncasecmp_sse2): Likewise.
46251 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46252 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46253 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46254 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46255 (__strrchr_sse2): Likewise.
46256 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46258 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46259 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46260 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46261 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46262 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46263 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46264 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46265 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46266 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46267 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46268 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46270 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46271 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46272 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46273 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46274 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46275 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46276 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46277 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46278 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46279 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46280 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46281 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46282 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46284 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46286 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46287 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46289 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46291 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46292 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46293 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46294 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46296 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46298 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46299 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46300 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46301 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46305 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46306 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46307 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46308 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46313 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46314 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46315 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46316 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46317 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46319 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46320 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46321 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46322 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46323 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46324 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46325 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46326 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46328 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46330 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46333 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46337 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46338 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46339 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46340 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46341 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46342 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46343 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46345 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46346 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46347 * include/ifunc-impl-list.h: New file.
46348 * misc/ifunc-impl-list.c: Likewise.
46349 * misc/Makefile (routines): Add ifunc-impl-list.
46350 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46351 * string/test-string.h: Include <ifunc-impl-list.h>.
46352 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46353 TEST_NAME]: New variables.
46354 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46356 (test_init): Call __libc_ifunc_impl_list to initialize
46357 func_list if TEST_IFUNC and TEST_NAME are defined.
46359 * string/Makefile (strop-tests): Add bcopy and bzero.
46360 * string/test-bcopy.c: New file.
46361 * string/test-bzero.c: Likewise.
46362 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46364 * string/test-memset.c: Support bzero test if TEST_BZERO is
46366 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46368 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46370 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46373 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46375 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46376 * configure: Regenerated.
46378 * Makeconfig (+link-static-before-libc): Don't include
46379 $(link-static-libc).
46381 * libio/libio.h (_IO_pos_t): Remove.
46383 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46385 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46388 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46390 * crypt/crypt-entry.c: Include fips-private.h.
46391 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46392 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46393 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46394 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46396 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46398 * crypt/crypt-private.h: Include stdbool.h.
46399 (_ufc_setup_salt_r): Return bool.
46400 * crypt/crypt-entry.c: Include errno.h.
46401 (__crypt_r): Return NULL with EINVAL for bad salt.
46402 * crypt/crypt_util.c (bad_for_salt): New.
46403 (_ufc_setup_salt_r): Check that salt is long enough and within
46404 the specified alphabet.
46405 * crypt/badsalttest.c: New file.
46406 * crypt/Makefile (tests): Add it.
46407 ($(objpfx)badsalttest): New.
46409 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46411 * NEWS: Add entry for BZ #14602.
46413 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46415 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46417 * math/libm-test.inc: Update comment listing what functions and
46419 (isgreater_test): New function.
46420 (isgreaterequal_test): Likewise.
46421 (isless_test): Likewise.
46422 (islessequal_test): Likewise.
46423 (islessgreater_test): Likewise.
46424 (isunordered_test): Likewise.
46425 (main): Call the new functions.
46427 2012-10-09 Roland McGrath <roland@hack.frob.com>
46429 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46430 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46431 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46432 * sysdeps/i386/configure: Regenerated.
46433 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46434 * sysdeps/mach/configure: Regenerated.
46435 * sysdeps/mach/hurd/configure: Regenerated.
46436 * sysdeps/powerpc/configure: Regenerated.
46437 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46438 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46439 * sysdeps/s390/s390-32/configure: Regenerated.
46440 * sysdeps/s390/s390-64/configure: Regenerated.
46441 * sysdeps/sh/configure: Regenerated.
46442 * sysdeps/sparc/configure: Regenerated.
46443 * sysdeps/unix/sysv/linux/configure: Regenerated.
46444 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46445 * sysdeps/x86_64/configure: Regenerated.
46447 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46448 defined. Don't check if MAP is NULL.
46450 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46452 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46453 (_G_stat64): Likewise.
46454 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46455 (_G_stat64): Likewise.
46456 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46457 instead of struct _G_stat64.
46458 * libio/fileops.c (mmap_remap_check): Likewise.
46459 (decide_maybe_mmap): Likewise.
46460 (_IO_new_file_seekoff): Likewise.
46461 (_IO_file_stat): Likewise.
46462 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46464 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46465 instead of struct _G_stat64.
46466 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46468 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
46471 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46473 (CHECK_EOL): New macro.
46474 (two_way_short_needle): Check beginning of haystack for EOL. Use
46476 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46477 Replace with CHECK_EOL.
46478 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46479 Replace with CHECK_EOL.
46481 2012-10-08 Joseph Myers <joseph@codesourcery.com>
46483 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46485 * math/libm-test.inc: Update comment listing what functions and
46487 (finite_test): New function.
46488 (isinf_test): Likewise.
46489 (isnan_test): Likewise.
46490 (fpclassify_test): Test subnormal input.
46491 (isfinite_test): Likewise.
46492 (isnormal_test): Likewise.
46493 (main): Call the new functions.
46495 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
46498 * Makerules (%.dynsym): Force C locale when running
46499 $(OBJDUMP) --dynamic-syms.
46501 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
46503 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46506 2012-10-06 David S. Miller <davem@davemloft.net>
46508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46509 upper 32-bits of the length value in %o2 since we use branch-on-register
46510 tests which consider the entire 64-bit register.
46512 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
46514 * string/test-strstr.c (check2): Add a test for page boundary.
46516 2012-10-05 David S. Miller <davem@davemloft.net>
46518 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46519 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46521 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46524 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46525 and bzero when HWCAP_SPARC_CRYPTO is present.
46527 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
46530 * string/test-strstr.c (check2): New function.
46531 (test_main): Call check2.
46533 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46535 * string/bug-strcasestr1.c (do_test): Moved to ...
46536 * string/test-strcasestr.c (check1): Here. New function.
46537 (do_one_test): Break out result checking code into ...
46538 (check_result): This. New function.
46539 (do_one_test): Call check_result.
46540 (test_main): Call check1.
46541 * string/bug-strchr1.c (do_test): Moved to ...
46542 * string/test-strchr.c (check1): Here. New function.
46543 (do_one_test): Break out result checking code into ...
46544 (check_result): This. New function.
46545 (do_one_test): Call check_result.
46546 (test_main): Call check1.
46547 * string/bug-strstr1.c (main): Moved to ...
46548 * string/test-strstr.c (check1): Here. New function.
46549 (do_one_test): Break out result checking code into ...
46550 (check_result): This. New function.
46551 (do_one_test): Call check_result.
46552 (test_main): Call check1.
46553 * string/bug-strcasestr1.c: Removed.
46554 * string/bug-strchr1.c: Likewise.
46555 * string/bug-strstr1.c: Likewise.
46557 * elf/Makefile (dl-routines): Add hwcaps.
46558 * elf/dl-support.c (_dl_important_hwcaps): Removed.
46559 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46560 (_dl_important_hwcaps): Moved to ...
46561 * elf/dl-hwcaps.c: Here. New file.
46562 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46565 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46566 if IS_IN_rtld isn't defined.
46568 * elf/dl-support.c (_dl_sysinfo_map): New.
46569 Include "get-dynamic-info.h" and "setup-vdso.h".
46570 (_dl_non_dynamic_init): Call setup_vdso.
46571 * elf/dynamic-link.h: Don't include <assert.h>.
46572 (elf_get_dynamic_info): Moved to ...
46573 * elf/get-dynamic-info.h: Here. New file.
46574 * elf/dynamic-link.h: Include "get-dynamic-info.h".
46575 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46576 * elf/setup-vdso.h: Here. New file.
46577 * elf/rtld.c: Include "setup-vdso.h".
46578 (dl_main): Call setup_vdso.
46580 2012-10-05 Joseph Myers <joseph@codesourcery.com>
46582 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46583 creal in comment listing functions tested. List finite, isinf,
46584 isnan, isless, islessequal, isgreater, isgreaterequal,
46585 islessgreater, isunordered, lgamma_r and pow10 as functions and
46586 macros not tested. Mention which functions not tested are aliases
46587 for other functions. Fix typo. Note that signs of NaNs are not
46590 * scripts/config.guess: Update from config.git.
46591 * scripts/config.sub: Likewise.
46593 2012-10-04 Roland McGrath <roland@hack.frob.com>
46595 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46596 * misc/madvise.c (madvise): Renamed to __madvise.
46597 Make madvise a weak alias.
46598 * include/sys/mman.h: Declare __madvise.
46599 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
46600 * sysdeps/unix/syscalls.list
46601 (madvise): Make __madvise the strong name, and madvise a weak alias.
46602 * sysdeps/unix/sysv/linux/syscalls.list
46603 (madvise, mmap): Remove redundant entries.
46604 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
46605 * malloc/malloc.c (mtrim): Likewise.
46606 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
46608 2012-10-03 Roland McGrath <roland@hack.frob.com>
46610 * sysdeps/mach/hurd/dl-cache.c: File removed.
46611 * config.h.in (USE_LDCONFIG): New #undef.
46612 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
46613 * configure: Regenerated.
46614 * elf/Makefile (dl-routines): Add dl-cache only under
46615 [$(use-ldconfig) = yes].
46616 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
46617 cache on [USE_LDCONFIG].
46618 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
46620 * elf/rtld.c (dl_main): Likewise.
46622 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
46624 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
46625 _SC_LEVEL4_CACHE_LINESIZE.
46627 2012-10-03 Roland McGrath <roland@hack.frob.com>
46629 * sysdeps/unix/bsd/confstr.h: File removed.
46631 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
46633 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
46636 2012-10-02 Roland McGrath <roland@hack.frob.com>
46638 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
46639 Make 'mapoff' field ElfW(Off) rather than off_t.
46641 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
46643 * nscd/Makefile: Remove nscd-cflags and all its users.
46644 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
46645 (CFLAGS-nonlib): Add compiler flags for nscd modules.
46648 * malloc.c (malloc_printerr): Clarify error message.
46650 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
46653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46654 Set bit_FMA_Usable if FMA is supported.
46655 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
46657 (bit_FMA4_Usable): Updated.
46658 (index_FMA_Usable): New macro.
46659 (CPUID_FMA): Likewise
46660 (HAS_FMA): Defined with bit_FMA_Usable.
46662 2012-10-01 Roland McGrath <roland@hack.frob.com>
46664 * bits/types.h (__swblk_t): Type removed.
46665 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
46666 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
46667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46668 (__SWBLK_T_TYPE): Likewise.
46669 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46670 (__SWBLK_T_TYPE): Likewise.
46671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46672 (__SWBLK_T_TYPE): Likewise.
46673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46674 (__SWBLK_T_TYPE): Likewise.
46676 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
46677 Honza Horak <hhorak@redhat.com>
46679 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
46680 (xdr_mapname): Use YPMAXMAP as maxsize.
46681 (xdr_peername): Use YPMAXPEER as maxsize.
46682 (xdr_keydat): Use YPAXRECORD as maxsize.
46683 (xdr_valdat): Use YPMAXRECORD as maxsize.
46685 2012-10-01 Roland McGrath <roland@hack.frob.com>
46687 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
46689 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
46690 * csu/init-first.c: ... here.
46691 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
46692 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
46693 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
46694 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
46695 * sysdeps/i386/init-first.c: File removed.
46696 * sysdeps/sh/init-first.c: File removed.
46698 2012-10-01 Joseph Myers <joseph@codesourcery.com>
46701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
46702 if x * y might underflow to zero and z is zero.
46703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46705 * math/libm-test.inc (min_subnorm_value): New variable.
46706 (fma_test): Add more tests.
46707 (fma_test_towardzero): Likewise.
46708 (fma_test_downward): Likewise
46709 (fma_test_upward): Likewise.
46710 (initialize): Set min_subnorm_value.
46712 2012-09-29 Joseph Myers <joseph@codesourcery.com>
46715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
46717 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
46718 mode for addition resulting in exact zero.
46719 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
46720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
46722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46724 * math/libm-test.inc (fma_test): Add more tests.
46725 (fma_test_towardzero): New function.
46726 (fma_test_downward): Likewise.
46727 (fma_test_upward): Likewise.
46728 (main): Call the new functions.
46730 2012-09-28 David S. Miller <davem@davemloft.net>
46732 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
46734 2012-09-28 Roland McGrath <roland@hack.frob.com>
46736 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
46737 instead of SIGALRM.
46739 * sysdeps/gnu/_G_config.h: Moved to ...
46740 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
46741 * sysdeps/mach/hurd/_G_config.h: Moved to ...
46742 * sysdeps/generic/_G_config.h: ... here.
46744 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
46746 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
46748 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
46749 Conditionalize target on [libnss_test1.so-version].
46751 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
46753 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
46754 (elfobjdir): Move out of conditionals.
46756 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
46757 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
46758 (__nss_lookup_function): Conditionalize label remove_from_tree on
46759 [!DO_STATIC_NSS || SHARED], matching its only use.
46761 2012-09-28 David S. Miller <davem@davemloft.net>
46763 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
46764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
46766 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
46770 when HWCAP_SPARC_CRYPTO is present.
46772 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46774 * io/tst-mknodat.c: Create a FIFO instead of a socket.
46776 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
46779 * stdio-common/vfprintf.c (process_string_arg): Revert
46782 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
46784 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
46786 * stdio-common/tst-sprintf.c: Include <locale.h>
46787 (main): Test sprintf's handling of incomplete multibyte
46790 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
46792 * elf/dl-runtime.c (VERSYMIDX): Removed.
46793 * elf/dl-version.c (VERSYMIDX): Likewise.
46794 * elf/do-rel.h (VERSYMIDX): Likewise.
46795 (VALIDX): Likewise.
46796 * elf/dynamic-link.h (VERSYMIDX): Likewise.
46797 * elf/rtld.c (VALIDX): Likewise.
46798 (ADDRIDX): Likewise.
46799 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
46800 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
46801 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
46802 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
46803 (VALIDX): Likewise.
46804 (ADDRIDX): Likewise.
46806 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46808 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
46810 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
46813 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
46815 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
46816 addresses are in the same scope as 192.0.2/24.
46817 * posix/gai.conf: Document new scope table defaults.
46819 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46822 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
46823 for ftell. Compute offsets from write pointers instead.
46824 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46826 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46829 * libio/Makefile (tests): New test case tst-fseek.
46830 * libio/tst-fseek.c: New test case to verify that fseek/ftell
46831 combination works in wide mode.
46832 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
46833 state when the external buffer state changes.
46835 2012-09-27 David S. Miller <davem@davemloft.net>
46838 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
46839 pass reloc->r_addend in as the 'high' argument to
46840 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
46842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46844 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
46846 * rt/tst-aio2.c: Include <pthread.h>.
46847 * rt/tst-aio3.c: Likewise.
46849 2012-09-27 Steve Ellcey <sellcey@mips.com>
46851 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
46853 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
46855 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
46856 contents on [SHARED].
46858 2012-09-26 Marek Polacek <polacek@redhat.com>
46862 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
46863 for C++ and GCC <4.3 as well as for non GCC compilers.
46865 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
46867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46869 2012-09-25 Roland McGrath <roland@hack.frob.com>
46871 * Makefile.in (all, install): Declare with .PHONY.
46872 Reported by Michael Hope <michael.hope@linaro.org>.
46874 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46876 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
46877 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
46879 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
46881 (sydep_routines): Add the new and the internal functions.
46882 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
46883 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
46884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
46885 (GLIBC_2.17): Add the new function.
46886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46887 (GLIBC_2.17): Likewise.
46888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
46889 (GLIBC_2.17): Likewise.
46890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
46891 (GLIBC_2.17): Likewise.
46892 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
46894 2012-09-25 Alan Modra <amodra@gmail.com>
46896 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
46897 Add release barrier before setting once_control to say
46898 initialisation is done. Add hints on lwarx. Use macro in
46900 (clear_once_control): Add release barrier.
46902 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46905 * math/s_clog.c (__clog): Handle more values close to |z| = 1
46907 * math/s_clog10.c (__clog10): Likewise.
46908 * math/s_clog10f.c (__clog10f): Likewise.
46909 * math/s_clog10l.c (__clog10l): Likewise.
46910 * math/s_clogf.c (__clogf): Likewise.
46911 * math/s_clogl.c (__clogl): Likewise.
46912 * math/Makefile (libm-calls): Add x2y2m1.
46913 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
46914 (__x2y2m1): Likewise.
46915 (__x2y2m1l): Likewise.
46916 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
46917 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46920 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
46921 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
46922 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
46923 * sysdeps/i386/fpu/libm-test-ulps: Update.
46924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46927 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
46928 int as type of variable DEPTH.
46929 (glob): Use size_t instead of int as type of variables NEWCOUNT
46932 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46934 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46935 Add s_sincosf-sse2.
46936 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
46937 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
46938 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
46939 macros for using routine as __sincosf_ia32.
46940 Use macro for function declaration and weak_alias.
46941 * sysdeps/i386/fpu/libm-test-ulps: Update.
46943 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
46944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46946 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
46947 subnormal argument.
46948 * math/s_cexpf.c (__cexpf): Likewise.
46949 * math/s_csinf.c (__csinf): Likewise.
46950 * math/s_csinhf.c (__csinhf): Likewise.
46951 * math/s_ctanf.c (__ctanf): Likewise.
46952 * math/s_ctanhf.c (__ctanhf): Likewise.
46953 * math/s_ccosh.c (__ccoshf): Likewise.
46954 * math/s_cexp.c (__cexpl): Likewise.
46955 * math/s_csin.c (__csin): Likewise.
46956 * math/s_csinh.c (__csinh): Likewise.
46957 * math/s_ctan.c (__ctan): Likewise.
46958 * math/s_ctanh.c (ctanh): Likewise.
46959 * math/s_ccoshl.c (__ccoshl): Likewise.
46960 * math/s_cexpl.c (__cexpl): Likewise.
46961 * math/s_csinl.c (__csinl): Likewise.
46962 * math/s_csinhl.c (__csinhl): Likewise.
46963 * math/s_ctanl.c (__ctanl): Likewise.
46964 * math/s_ctanhl.c (__ctanhl): Likewise.
46966 2012-09-25 Joseph Myers <joseph@codesourcery.com>
46968 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46969 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46970 (_IO_off_t): Define to __off_t, not _G_off_t.
46971 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46972 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46973 (_IO_wint_t): Define to wint_t, not _G_wint_t.
46974 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46975 type of __dummy and __dummy2 fields.
46976 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46977 (_G_ssize_t): Likewise.
46978 (_G_off_t): Likewise.
46979 (_G_pid_t): Likewise.
46980 (_G_uid_t): Likewise.
46981 (_G_wchar_t): Likewise.
46982 (_G_wint_t): Likewise.
46983 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46984 (_G_ssize_t): Likewise.
46985 (_G_off_t): Likewise.
46986 (_G_pid_t): Likewise.
46987 (_G_uid_t): Likewise.
46988 (_G_wchar_t): Likewise.
46989 (_G_wint_t): Likewise.
46990 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46991 (_G_ssize_t): Likewise.
46992 (_G_off_t): Likewise.
46993 (_G_pid_t): Likewise.
46994 (_G_uid_t): Likewise.
46995 (_G_wchar_t): Likewise.
46996 (_G_wint_t): Likewise.
46998 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47000 * malloc/arena.c: Include malloc-sysdep.h.
47001 (shrink_heap): Use check_may_shrink_heap to decide if madvise
47002 is sufficient to shrink the heap or an unmap is needed.
47003 * sysdeps/generic/malloc-sysdep.h: New file. Define
47004 new function check_may_shrink_heap.
47005 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
47006 new function check_may_shrink_heap.
47008 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47010 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47013 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
47015 * catgets/test-gencat.sh: Add "set -e".
47016 * elf/tst-pathopt.sh: Likewise.
47017 * grp/tst_fgetgrent.sh: Likewise.
47018 * iconvdata/run-iconv-test.sh: Likewise.
47019 * intl/tst-gettext.sh: Likewise.
47020 * intl/tst-gettext2.sh: Likewise.
47021 * intl/tst-gettext4.sh: Likewise.
47022 * intl/tst-gettext6.sh: Likewise.
47023 * intl/tst-translit.sh: Likewise.
47024 * io/ftwtest-sh: Likewise.
47025 * libio/test-freopen.sh: Likewise.
47026 * malloc/tst-mtrace.sh: Likewise.
47027 * posix/globtest.sh: Likewise.
47028 * posix/tst-getconf.sh: Likewise.
47029 * posix/wordexp-tst.sh: Likewise.
47030 * stdio-common/tst-printf.sh: Likewise.
47031 * stdio-common/tst-unbputc.sh: Likewise.
47032 * stdlib/tst-fmtmsg.sh: Likewise.
47033 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47034 * catgets/Makefile: Do not specify -e option when running
47035 testsuite shell scripts.
47036 * elf/Makefile: Likewise.
47037 * grp/Makefile: Likewise.
47038 * iconvdata/Makefile: Likewise.
47039 * intl/Makefile: Likewise.
47040 * io/Makefile: Likewise.
47041 * libio/Makefile: Likewise.
47042 * malloc/Makefile: Likewise.
47043 * posix/Makefile: Likewise.
47044 * stdio-common/Makefile: Likewise.
47045 * stdlib/Makefile: Likewise.
47046 * sysdeps/x86_64/Makefile: Likewise.
47048 * io/ftwtest-sh: Add copyright header.
47049 * posix/globtest.sh: Likewise.
47050 * posix/tst-getconf.sh: Likewise.
47051 * posix/wordexp-tst.sh: Likewise.
47052 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47054 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
47057 * Makeconfig (+link): Defined as $(+link-static) if
47058 $(build-shared) isn't yes.
47059 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47061 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47063 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47066 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47067 new chunk size with MALLOC_ALIGN_MASK.
47069 2012-09-24 Joseph Myers <joseph@codesourcery.com>
47072 * stdio-common/printf_fphex.c: Include <stdbool.h> and
47074 (__printf_fphex): Determine rounding using get_rounding_mode and
47076 * stdio-common/tst-printf-round.c (struct hex_test): New
47078 (hex_tests): New variable.
47079 (test_hex_in_one_mode): New function.
47080 (do_test): Also run tests for hex float output.
47082 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47084 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47085 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47086 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47087 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47088 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47089 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47090 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47091 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47093 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47095 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47096 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47097 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47098 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47100 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47103 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47105 * elf/tst-rtld-load-self.sh: New test.
47106 * elf/Makefile: Run it.
47108 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47110 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47111 (tst-writev-ENV): Remove.
47112 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47114 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47116 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47118 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47120 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47122 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47124 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47125 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47126 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47129 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47132 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47133 * config.make.in (have-cpp-asm-debuginfo): Removed.
47134 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47135 * configure: Regenerated.
47137 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47140 * stdio-common/printf_fp.c: Include <stdbool.h> and
47142 (___printf_fp): Determine rounding using get_rounding_mode and
47144 * stdio-common/tst-printf-round.c: New file.
47145 * stdio-common/Makefile (tests): Add tst-printf-round.
47146 (link-libm): New variable.
47147 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47149 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47152 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47153 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47155 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47158 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47160 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47161 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47162 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47163 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47165 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47168 * include/rounding-mode.h: New file.
47169 * sysdeps/generic/get-rounding-mode.h: Likewise.
47170 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47171 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47172 (MAX_VALUE): New macro.
47173 (MIN_VALUE): Likewise.
47174 (overflow_value): New function.
47175 (underflow_value): Likewise.
47176 (round_and_return): Use overflow_value and underflow_value to
47177 determine return values in overflow and underflow cases. Use
47178 round_away to determine rounding depending on rounding mode.
47179 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47180 determine return values in overflow and underflow cases.
47181 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47182 (struct test_results): New structure.
47183 (struct test): Use struct test_results to store expected results
47184 for all rounding modes.
47185 (TEST): Include expected results for all rounding modes.
47186 (test_in_one_mode): New function.
47187 (do_test): Use test_in_one_mode to compute and check results.
47188 Check results for all rounding modes.
47189 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47192 2012-12-09 Allan McRae <allan@archlinux.org>
47194 * sysdeps/i386/fpu/libm-test-ulps: Update
47196 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47198 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47199 (_G_int32_t): Likewise.
47200 (_G_uint16_t): Likewise.
47201 (_G_uint32_t): Likewise.
47202 (_G_HAVE_BOOL): Likewise.
47203 (_G_HAVE_ATEXIT): Likewise.
47204 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47205 (_G_HAVE_IO_FILE_OPEN): Likewise.
47206 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47207 (_G_int32_t): Likewise.
47208 (_G_uint16_t): Likewise.
47209 (_G_uint32_t): Likewise.
47210 (_G_HAVE_BOOL): Likewise.
47211 (_G_HAVE_ATEXIT): Likewise.
47212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47213 (_G_HAVE_IO_FILE_OPEN): Likewise.
47214 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47215 (_G_int32_t): Likewise.
47216 (_G_uint16_t): Likewise.
47217 (_G_uint32_t): Likewise.
47218 (_G_HAVE_BOOL): Likewise.
47219 (_G_HAVE_ATEXIT): Likewise.
47220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47221 (_G_HAVE_IO_FILE_OPEN): Likewise.
47223 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47225 * csu/libc-tls.c: Update copyright years.
47227 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47229 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47230 [!_G_USING_THUNKS]: Remove conditional code.
47231 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47232 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47234 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47235 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47236 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47237 (_G_VTABLE_LABEL_PREFIX): Likewise.
47238 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47239 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47240 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47241 (_G_VTABLE_LABEL_PREFIX): Likewise.
47242 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47243 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47244 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47245 (_G_VTABLE_LABEL_PREFIX): Likewise.
47246 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47248 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47250 * libio/Makefile: Include ../Makeconfig before tests.
47251 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47252 only if $(build-shared) is yes.
47254 * iconv/gconv_db.c: Update copyright years.
47256 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47258 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47259 unwind info if defined PIC. Fix special cases description.
47260 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47262 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47264 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47266 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47268 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47270 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47273 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47274 (LDLIBS-tst-chk4): This.
47275 (LDFLAGS-tst-chk5): Renamed to ...
47276 (LDLIBS-tst-chk5): This.
47277 (LDFLAGS-tst-chk6): Renamed to ...
47278 (LDLIBS-tst-chk6): This.
47279 (LDFLAGS-tst-lfschk4): Renamed to ...
47280 (LDLIBS-tst-lfschk4): This.
47281 (LDFLAGS-tst-lfschk5): Renamed to ...
47282 (LDLIBS-tst-lfschk5): This.
47283 (LDFLAGS-tst-lfschk6): Renamed to ...
47284 (LDLIBS-tst-lfschk6): This.
47286 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47287 on $(common-objpfx)soversions.mk.
47289 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47292 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47295 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47297 * malloc/arena.c (arena_get_retry): New function that gets
47298 another arena for the caller to try its request on.
47299 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47300 current arena cannot fulfill the request.
47301 (__libc_memalign): Likewise.
47302 (__libc_memalign): Likewise.
47303 (__libc_pvalloc): Likewise.
47304 (__libc_calloc): Likewise.
47306 2012-09-05 John Tobey <john.tobey@gmail.com>
47309 * manual/arith.texi (Operations on Complex): Fix description
47310 of carg branch cut.
47312 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47315 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47319 * manual/memory.texi (Memory): Make order of menu items match
47322 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47324 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47325 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47326 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47328 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47330 * csu/libc-tls.c (static_dtv): Renamed to ...
47331 (_dl_static_dtv): This. Make it global.
47332 (_dl_initial_dtv): Removed.
47333 (__libc_setup_tls): Updated.
47334 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47335 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47338 2012-09-06 Petr Machata <pmachata@redhat.com>
47340 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47341 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47342 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47343 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47345 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47348 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47349 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47352 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47355 * Makeconfig (link-static-before-libc): Replace $(+prector)
47357 (link-static-after-libc): Replace $(+postctor) with
47359 (link-bounded): Replace $(+prector)/$(+postctor) with
47360 $(+prectorT)/$(+postctorT).
47361 (+prectorT): New macro.
47362 (+postctorT): Likewise.
47364 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47366 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47367 (round_str): Handle values above the maximum for IBM long double
47369 * stdlib/tst-strtod-round.c (tests): Regenerated.
47371 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47373 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47375 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47376 zarch_nohighgprs around the zarch optimized routines.
47377 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47378 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47379 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47382 2012-09-05 David S. Miller <davem@davemloft.net>
47384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47386 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47387 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47388 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47389 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47392 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47394 * malloc/arena.c: Fold copyright years.
47395 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47397 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47399 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47403 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47408 change internal state upon failure.
47410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47412 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47413 * malloc/memusage.c (mmap): Likewise.
47414 (mmap64, mremap): Likewise. Adjust name in comment.
47416 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47418 * libio/fileops.c: Fix typos in comments.
47419 * libio/oldfileops.c: Likewise.
47420 * libio/wfileops.c: Likewise.
47422 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47425 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47426 (tst-malloc-usable-ENV): Set environment for test case.
47427 * malloc/hooks.c (malloc_check_get_size): New function to get
47429 * malloc/malloc.c (musable): Use malloc_check_get_size.
47430 * malloc/tst-malloc-usable.c: New test case.
47432 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47434 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47436 2012-09-05 Allan McRae <allan@archlinux.org>
47439 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47440 determine header location.
47441 * configure: Regenerated.
47443 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47445 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47447 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47448 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47450 (test): Regenerate.
47452 2012-09-04 David S. Miller <davem@davemloft.net>
47454 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47455 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47456 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47458 2012-09-04 Florian Weimer <fweimer@redhat.com>
47460 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47463 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47465 2012-09-04 Joseph Myers <joseph@codesourcery.com>
47468 * libio/iogetdelim.c: Include <limits.h>.
47469 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47470 + len + 1 would overflow.
47472 2012-09-03 Andreas Jaeger <aj@suse.de>
47474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47475 * sysdeps/i386/fpu/libm-test-ulps: Update.
47477 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47479 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47480 Add s_sinf-sse2, s_conf-sse2.
47482 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47483 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47484 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47485 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47487 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47488 for using routine as __sinf_ia32.
47489 Use macro for function declaration and weak_alias.
47490 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47491 for using routine as __cosf_ia32.
47492 Use macro for function declaration and weak_alias.
47494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47495 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47497 * sysdeps/x86_64/fpu/s_sinf.S: New file.
47498 * sysdeps/x86_64/fpu/s_cosf.S: New file.
47499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47501 * math/libm-test.inc (cos_test): Add more test cases.
47502 (sin_test): Likewise.
47503 (sincos_test): Likewise.
47505 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47507 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47508 (IFUNC_RESOLVE): Make pointers to the specialized implementations
47510 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47512 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
47515 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47516 first element of the GOT.
47517 (elf_machine_load_address): Return the difference between
47518 the runtime address of _DYNAMIC and elf_machine_dynamic ().
47520 2012-09-01 Allan McRae <allan@archlinux.org>
47523 * configure.in (AWK): Require gawk version 3.0 or later.
47524 * configure: Regenerated.
47526 2012-09-01 Joseph Myers <joseph@codesourcery.com>
47528 * sysdeps/unix/sysv/linux/kernel-features.h
47529 (__ASSUME_POSIX_CPU_TIMERS): Remove.
47530 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47531 [__NR_clock_getres]: Make code unconditional.
47532 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47533 (clock_getcpuclockid): Remove code left unreachable by removal of
47535 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47536 code unconditional.
47537 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47538 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47539 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47540 Make code unconditional.
47541 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47543 * sysdeps/unix/sysv/linux/clock_settime.c
47544 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47546 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47547 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47549 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
47552 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47553 scripts/test-installation.pl.
47555 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47556 and $ld_so_version if it is set.
47558 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47561 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47562 failure if reading from procfs failed.
47563 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47565 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47567 * sysdeps/unix/sysv/linux/kernel-features.h
47568 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47569 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47570 Remove conditional code.
47571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47572 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47573 Remove conditional code.
47574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47575 * sysdeps/unix/sysv/linux/i386/fxstat.c
47576 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47578 * sysdeps/unix/sysv/linux/i386/fxstatat.c
47579 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47581 * sysdeps/unix/sysv/linux/i386/lxstat.c
47582 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47583 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47584 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47585 Remove conditional code.
47586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47587 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47588 Remove conditional code.
47589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47590 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47591 <kernel-features.h>.
47592 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47594 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47595 Remove conditional code.
47596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47597 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47598 Remove conditional.
47600 2012-08-27 Mike Frysinger <vapier@gentoo.org>
47603 * NEWS: Add fixed bug number.
47605 2012-08-27 Joseph Myers <joseph@codesourcery.com>
47608 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
47609 underflowing exponent in case of negative sign.
47610 * stdlib/tst-strtod-round-data: Add more tests.
47611 * stdlib/tst-strtod-round.c (tests): Regenerated.
47614 * stdlib/strtod_l.c (NDIG): Remove.
47615 (HEXNDIG): Likewise.
47616 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
47617 smallest representable value.
47618 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
47619 lie within an exact representation of 1/2 ulp of the result.
47620 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
47622 (TENS_P9_IDX): Define unconditionally.
47623 (TENS_P9_SIZE): Likewise.
47624 (TENS_P10_IDX): Likewise.
47625 (TENS_P10_SIZE): Likewise.
47626 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
47627 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
47628 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
47629 entries for 10^2^13 and 10^2^14.
47630 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
47631 (TENS_P13_IDX): Define.
47632 (TENS_P13_SIZE): Likewise.
47633 (TENS_P14_IDX): Likewise.
47634 (TENS_P14_SIZE): Likewise.
47635 (_fpioconst_pow10): Change array size to
47636 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
47638 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
47639 1024]: Add entries for 10^2^13 and 10^2^14.
47640 [LAST_POW10 > _LAST_POW10]: Remove #error.
47641 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
47642 (_fpioconst_pow10): Change array size to
47643 FPIOCONST_POW10_ARRAY_SIZE.
47644 * stdlib/gen-fpioconst.c: New file.
47645 * stdlib/gen-tst-strtod-round.c: Likewise.
47646 * stdlib/tst-strtod-round-data: Likewise.
47647 * stdlib/tst-strtod-round.c: Likewise.
47648 * stdlib/Makefile (tests): Add tst-strtod-round.
47651 * stdlib/strtod_l.c: Include <stdint.h>.
47652 (NDEBUG): Do not define.
47653 (round_and_return): Change EXPONENT parameter to type intmax_t.
47654 Rearrange calculations to avoid internal overflow possibilities.
47655 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
47656 Rearrange calculations to avoid internal overflow possibilities.
47657 Assert that number fits inside MPNSIZE limbs.
47658 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
47659 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
47660 calculations and add assertions to avoid internal overflow
47661 possibilities. Add casts to avoid signed/unsigned operations.
47662 * stdlib/tst-strtod-overflow.c: New file.
47663 * stdlib/Makefile (tests): Add tst-strtod-overflow.
47665 2012-08-25 Marek Polacek <polacek@redhat.com>
47667 * time/time.h: Fix some typos in comments.
47669 2012-08-23 Roland McGrath <roland@hack.frob.com>
47671 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
47672 * posix/tst-rfc3484-2.c: Likewise.
47673 * posix/tst-rfc3484-3.c: Likewise.
47675 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
47677 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
47678 (EF_ARM_ABI_FLOAT_HARD): Likewise.
47680 2012-08-23 Joseph Myers <joseph@codesourcery.com>
47682 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
47683 #include of fxstatat64.c.
47685 2012-08-22 Roland McGrath <roland@hack.frob.com>
47687 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
47688 * shadow/getspent_r.c: Likewise.
47689 * shadow/getspnam.c: Likewise.
47690 * shadow/getspnam_r.c: Likewise.
47691 * gshadow/getsgent.c: Likewise.
47692 * gshadow/getsgent_r.c: Likewise.
47693 * gshadow/getsgnam.c: Likewise.
47694 * gshadow/getsgnam_r.c: Likewise.
47695 * inet/getnetbyad.c: Likewise.
47696 * inet/getnetbyad_r.c: Likewise.
47697 * inet/getnetbynm.c: Likewise.
47698 * inet/getnetbynm_r.c: Likewise.
47699 * inet/getnetent.c: Likewise.
47700 * inet/getnetent_r.c: Likewise.
47701 * inet/getproto.c: Likewise.
47702 * inet/getproto_r.c: Likewise.
47703 * inet/getprtent.c: Likewise.
47704 * inet/getprtent_r.c: Likewise.
47705 * inet/getprtname.c: Likewise.
47706 * inet/getprtname_r.c: Likewise.
47707 * inet/getrpcbyname.c: Likewise.
47708 * inet/getrpcbyname_r.c: Likewise.
47709 * inet/getrpcbynumber.c: Likewise.
47710 * inet/getrpcbynumber_r.c: Likewise.
47711 * inet/getrpcent.c: Likewise.
47712 * inet/getrpcent_r.c: Likewise.
47713 * inet/getaliasent.c: Likewise.
47714 * inet/getaliasent_r.c: Likewise.
47715 * inet/getaliasname.c: Likewise.
47716 * inet/getaliasname_r.c: Likewise.
47717 * nscd/getgrgid_r.c: Likewise.
47718 * nscd/getgrnam_r.c: Likewise.
47719 * nscd/gethstbyad_r.c: Likewise.
47720 * nscd/gethstbynm3_r.c: Likewise.
47721 * nscd/getpwnam_r.c: Likewise.
47722 * nscd/getpwuid_r.c: Likewise.
47723 * nscd/getsrvbynm_r.c: Likewise.
47724 * nscd/getsrvbypt_r.c: Likewise.
47725 * nscd/gai.c: Likewise.
47727 * configure.in (build_nscd): New substituted variable, set
47728 by --disable-build-nscd and defaults to $use_nscd.
47729 * configure: Regenerated.
47730 * config.make.in (build-nscd): New substituted variable.
47731 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
47732 Change conditional to require [$(build-nscd) = yes] as well.
47733 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
47736 * configure.in (use_nscd): New substituted variable, set by
47737 --disable-nscd. If enabled, define USE_NSCD.
47738 * configure: Regenerated.
47739 * config.h.in: Add USE_NSCD.
47740 * config.make.in (use-nscd): New substituted variable.
47741 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
47742 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
47743 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
47744 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
47745 (CFLAGS-getgrnam_r.c): Likewise.
47746 (CFLAGS-initgroups.c): Likewise.
47747 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
47748 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
47750 * inet/getnetgrent_r.c
47751 (nscd_setnetgrent): New function, broken out of ...
47752 (setnetgrent): ... here. Call it.
47753 (innetgr): Conditionalize nscd bits on [USE_NSCD].
47754 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
47755 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
47756 * nscd/Makefile (routines, aux): Move definitions after include of
47757 Makeconfig. Conditionalize on [$(use-nscd) != no].
47758 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
47759 Conditionalize on [USE_NSCD].
47760 (is_nscd, nscd_init_cb): Likewise.
47761 (nss_load_library): Conditionalize init callback on [USE_NSCD].
47762 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
47763 * nss/nss_db/db-init.c: Likewise.
47764 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
47766 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
47767 (make_request): Use it.
47768 (cache_valid_p): New function.
47769 (__check_pf): Use it.
47770 * NEWS: Add item for --disable-nscd.
47772 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
47774 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
47775 to support sed >= 4.2.1-20-ga9bf076.
47776 * configure: Regenerated.
47778 2012-08-22 Roland McGrath <roland@hack.frob.com>
47780 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
47781 Conditionalize whole body on [IREL].
47783 2012-08-22 Jeff Law <law@redhat.com>
47786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
47787 if the family is PF_UNSPEC.
47789 2012-08-22 Mike Frysinger <vapier@gentoo.org>
47791 * Makerules (lib-version): Rename from V.
47792 (install-lib-nosubdir): Change V to lib-version.
47794 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
47797 * powerpc32/power6/wcschr.c: New file.
47798 * powerpc32/power6/wcscpy.c: New file.
47799 * powerpc32/power6/wcsrchr.c: New file.
47800 * powerpc64/power6/wcschr.c: New file.
47801 * powerpc64/power6/wcscpy.c: New file.
47802 * powerpc64/power6/wcsrchr.c: New file.
47804 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47806 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
47807 (two_way_short_needle): Use it.
47808 * string/strstr.c (AVAILABLE1_USES_J): Define.
47809 * string/strcasestr.c: Likewise.
47811 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
47813 * string/strcasestr.c (TOLOWER): Make side-effect safe.
47816 * NEWS: Add an entry.
47817 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
47818 define their defaults.
47819 (two_way_short_needle): Detect end-of-string on-the-fly.
47820 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
47821 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
47822 * string/bug-strcasestr1.c: New test.
47823 * string/Makefile: Run it.
47825 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
47828 * string/str-two-way.h (two_way_short_needle): Optimize matching of
47829 the first character.
47831 2012-08-21 Roland McGrath <roland@hack.frob.com>
47833 * csu/elf-init.c (__libc_csu_irel): Function removed.
47834 * csu/libc-start.c (apply_irel): New function.
47835 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
47837 2012-08-21 Joseph Myers <joseph@codesourcery.com>
47839 * sysdeps/unix/sysv/linux/kernel-features.h
47840 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
47841 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47842 <kernel-features.h>.
47843 [__NR_fadvise64_64]: Make code unconditional.
47844 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
47845 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47846 !__NR_fadvise64_64)]: Likewise.
47847 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
47848 !__NR_fadvise64_64))]: Likewise.
47849 [__NR_fadvise64]: Make code unconditional.
47850 [!__NR_fadvise64]: Remove conditional code.
47851 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
47852 <kernel-features.h>.
47853 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47855 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
47858 not include <kernel-features.h>.
47859 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47861 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47863 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
47864 include <kernel-features.h>.
47865 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
47867 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
47870 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47872 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
47873 slight instruction rearrangements per scrollpipe analysis.
47874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47876 2012-08-20 Roland McGrath <roland@hack.frob.com>
47878 * manual/syslog.texi (syslog; vsyslog, closelog):
47879 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
47880 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
47882 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
47883 DSOCAPS to match condition on defining it.
47885 2012-08-20 Joseph Myers <joseph@codesourcery.com>
47887 * sysdeps/unix/sysv/linux/kernel-features.h
47888 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
47889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
47890 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47891 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
47893 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47894 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
47896 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
47897 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
47899 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
47900 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
47902 * sysdeps/unix/sysv/linux/kernel-features.h
47903 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
47904 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
47906 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47907 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
47908 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47909 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47910 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
47911 Make code unconditional.
47912 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47913 (__mmap64) [!__NR_mmap2]: Likewise.
47914 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
47915 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
47916 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47917 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
47918 [__NR_mmap2]: Make code unconditional.
47919 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
47920 (__mmap64) [!__NR_mmap2]: Likewise.
47922 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47924 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
47926 2012-08-18 Andreas Jaeger <aj@suse.de>
47928 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
47930 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47932 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
47933 * include/unistd.h (__have_sock_cloexec): Likewise.
47934 (__have_pipe2): Likewise.
47935 (__have_dup3): Likewise.
47937 2012-08-18 Mike Frysinger <vapier@gentoo.org>
47940 * include/unistd.h (__have_pipe2): Change define into an extern int.
47941 (__have_dup3): Likewise.
47942 * socket/have_sock_cloexec.c: Include fcntl.h.
47943 (__have_pipe2): New variable.
47944 (__have_dup3): Likewise.
47946 2012-08-17 Mike Frysinger <vapier@gentoo.org>
47948 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
47950 2012-08-17 Marek Polacek <polacek@redhat.com>
47952 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
47953 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
47955 2012-08-17 Roland McGrath <roland@hack.frob.com>
47957 * configure.in: Add AC_SUBST for sysheaders.
47958 * configure: Regenerated.
47959 * config.make.in (sysheaders): New substituted variable.
47961 * sysdeps/unix/mkfifo.c: Moved ...
47962 * sysdeps/posix/mkfifo.c: ... here.
47963 * sysdeps/unix/mkfifoat.c: Moved ...
47964 * sysdeps/posix/mkfifoat.c: ... here.
47966 * sysdeps/unix/utime.c: Moved ...
47967 * sysdeps/posix/utime.c: ... here.
47969 * sysdeps/unix/time.c: Moved ...
47970 * sysdeps/posix/time.c: ... here.
47971 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47972 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47974 * sysdeps/unix/nice.c: Moved ...
47975 * sysdeps/posix/nice.c: ... here.
47977 * sysdeps/unix/alarm.c: Moved ...
47978 * sysdeps/posix/alarm.c: ... here.
47980 * intl/Makefile ($(codeset_mo)): Depend on the input file.
47982 2012-08-17 Jeff Law <law@redhat.com>
47984 * intl/Makefile (codeset_mo): New variable.
47985 ($(codeset_mo)): New target.
47986 (tst-codeset.out): Depend on that. Remove explicit rule.
47987 (tst-gettext3.out, tst-gettext5.out): Likewise.
47988 (LOCPATH-ENV, tst-codeset-ENV): New variables.
47989 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47990 * intl/tst-codeset.sh: Remove.
47991 * intl/tst-gettext3.sh: Likewise.
47992 * intl/tst-gettext5.sh: Likewise.
47994 2012-08-17 Roland McGrath <roland@hack.frob.com>
47996 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
47997 * sysdeps/unix/syscalls.list: ... here.
47999 * sysdeps/posix/getaddrinfo.c
48000 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48001 (gaiconf_init, gaiconf_reload): Use them.
48002 [!_STATBUF_ST_NSEC]
48003 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48004 Define using time_t rather than struct timespec.
48006 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48007 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48009 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48011 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48012 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48015 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48016 __libc_cleanup_push argument.
48018 * bits/param.h: New file.
48019 * misc/sys/param.h: New file.
48020 * include/sys/param.h: New file.
48021 * misc/Makefile (headers): Add bits/param.h.
48022 * sysdeps/generic/sys/param.h: File removed.
48023 * sysdeps/unix/sysv/linux/bits/param.h: New file.
48024 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48025 * sysdeps/mach/hurd/bits/param.h: New file.
48026 * sysdeps/mach/hurd/sys/param.h: File removed.
48028 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48031 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48033 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48034 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48037 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48038 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48039 rather than -D_IO_MTSAFE_IO conditionally.
48040 * stdio-common/Makefile (CPPFLAGS): Likewise.
48041 * wcsmbs/Makefile (CPPFLAGS): Likewise.
48042 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48043 Use $(libio-mtsafe).
48044 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48045 of -D_IO_MTSAFE_IO.
48046 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48047 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48048 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48049 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48050 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48051 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48052 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48053 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48054 (CFLAGS-fread_u_chk.c): Likewise.
48055 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48056 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48057 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48058 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48059 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48060 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48061 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48062 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48063 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48065 * libio/Makefile: Test [$(libc-reentrant) = yes]
48066 instead of [$(filter %REENTRANT, $(defines)) nonempty].
48069 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48070 * sysdeps/pthread/configure: File removed.
48071 * sysdeps/pthread/Makeconfig: New file.
48072 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48073 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48075 2012-08-16 Gary Benson <gbenson@redhat.com>
48077 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48078 unmapping the first object in a namespace.
48080 2012-08-16 Roland McGrath <roland@hack.frob.com>
48082 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48083 (__internal_setnetgrent): ... this. Add internal_function to
48084 definition. Add libc_hidden_def.
48085 (setnetgrent): Update caller.
48086 (internal_endnetgrent): Renamed to ...
48087 (__internal_endnetgrent): ... this. Add internal_function to
48088 definition. Add libc_hidden_def.
48089 (endnetgrent): Update caller.
48090 (internal_getnetgrent_r): Renamed to ...
48091 (__internal_getnetgrent_r): ... this. Add internal_function to
48092 definition. Add libc_hidden_def.
48093 (__getnetgrent_r): Update caller.
48094 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48096 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48098 * stdlib/longlong.h: Update from GCC.
48100 2012-08-16 Roland McGrath <roland@hack.frob.com>
48102 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48103 on _QL, which is set by umul_ppmm but never used.
48104 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48105 variables, which are set by GMP macros but never used.
48106 * stdio-common/_itowa.c (_itowa): Likewise.
48107 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48108 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48110 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48112 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48113 struct La_sh_regs is not constant.
48114 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48115 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48116 and struct La_sparc64_regs are not constant.
48118 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48120 * sysdeps/unix/sysv/linux/kernel-features.h
48121 (__ASSUME_POSIX_TIMERS): Remove.
48122 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48123 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48124 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48125 Make code unconditional.
48126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48127 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48128 Make code unconditional.
48129 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48130 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48131 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48132 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48133 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48134 Make code unconditional.
48135 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48136 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48137 (__libc_missing_posix_timers): Remove.
48139 2012-08-15 Roland McGrath <roland@hack.frob.com>
48141 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48142 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48144 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48146 * elf/dl-sym.c: Include <stdlib.h>.
48148 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48149 constants, which avoids warnings in 32-bit builds.
48151 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48152 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48154 * misc/lseek.c: File moved to ...
48155 * io/lseek.c: ... here.
48157 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48159 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48160 shifting LEN more than 31 bits at once.
48162 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48165 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48166 segmentation fault for a case of two empty input strings.
48167 * string/test-strncasecmp.c (check1): Renamed to...
48168 (bz12205): ...this.
48169 (bz14195): Add new testcase for two empty input strings and N > 0.
48170 (test_main): Call new testcase, adapt for renamed function.
48172 2012-08-15 Andreas Jaeger <aj@suse.de>
48175 * crypt/md5test2.c: New test, based on test supplied by Serge
48176 Belyshev <belyshev@depni.sinp.msu.ru>.
48177 * crypt/Makefile (xtests): Add md5test-giant..
48178 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48180 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48183 * crypt/md5.c (md5_process_block): Don't assume the buffer
48184 length is less than 2**32.
48185 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48186 length is less than 2**64.
48188 2012-08-15 Roland McGrath <roland@hack.frob.com>
48190 * string/str-two-way.h: Include <sys/param.h>.
48191 (MAX): Macro removed.
48193 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48194 Move #define and #undef of memmove to just before and after
48195 including <string.h>.
48197 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48198 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48199 and after including <string.h>. Move declarations of
48200 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48201 to before #include "string/memmove.c".
48203 * include/dirent.h: Declare __getdirentries.
48205 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48206 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48208 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48210 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48211 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48212 * sysdeps/i386/configure: Regenerated.
48213 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48214 STABS_CURRENT_FILE, and STABS_FUN.
48215 (END): Remove call to STABS_FUN_END.
48216 (STABS_CURRENT_FILE1): Delete.
48217 (STABS_CURRENT_FILE): Likewise.
48218 (STABS_FUN): Likewise.
48219 (STABS_FUN_END): Likewise.
48220 (STABS_FUN2): Likewise.
48221 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48222 * sysdeps/x86_64/configure: Regenerated.
48224 2012-08-14 Roland McGrath <roland@hack.frob.com>
48226 * elf/dl-open.c: Include <atomic.h>.
48227 * elf/dl-lookup.c: Likewise.
48229 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48231 * sysdeps/unix/sysv/linux/kernel-features.h
48232 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48233 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48235 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48237 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48238 condition on __ASSUME_CLONE_THREAD_FLAGS.
48240 2012-08-14 Andreas Jaeger <aj@suse.de>
48242 * sysdeps/i386/fpu/libm-test-ulps: Update.
48244 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48246 * include/atomic.h (atomic_exchange_and_add): Split into ...
48247 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48250 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48254 2012-08-13 Jeff Law <law@redhat.com>
48256 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48257 null byte in the output string.
48259 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48261 * sysdeps/unix/sysv/linux/kernel-features.h
48262 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48263 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48264 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48265 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48266 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48267 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48268 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48270 2012-08-09 Jeff Law <law@redhat.com>
48273 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48274 When avoid_arena is set, don't retry in the that arena. Pick the
48275 next one, whatever it might be.
48276 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48277 (arena_lock): Pass in new parameter to arena_get2.
48278 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48280 (__libc_malloc): Unify retrying after main arena failure with
48281 __libc_memalign version.
48282 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48284 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48287 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48288 to __redirect_strstr.
48289 (__strstr_sse42): Use typeof __redirect_strstr.
48290 (__strstr_ia32): Likewise.
48291 (__libc_strstr): New prototype.
48292 (strstr): Renamed to ...
48293 (__libc_strstr): This.
48294 (strstr): New strong alias of __libc_strstr.
48295 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48296 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48299 (__libc_time): New prototype.
48300 (time_ifunc): Replace time with __libc_time.
48301 (time): New strong alias and hidden definition of __libc_time.
48302 (__GI_time): Remove strong alias.
48303 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48304 Include <stddef.h>.
48305 (memmove): Redefined to __redirect_memmove.
48306 (__memmove_sse2): Use typeof __redirect_memmove.
48307 (__memmove_ssse3): Likewise.
48308 (__memmove_ssse3_back): Likewise.
48309 (__libc_memmove): New prototype.
48310 (memmove): Renamed to ...
48311 (__libc_memmove): This.
48312 (memmove): New strong alias of __libc_memmove.
48314 2012-08-08 Mark Salter <msalter@redhat.com>
48317 (R_MN10300_TLS_GD): Define.
48318 (R_MN10300_TLS_LD): Likewise.
48319 (R_MN10300_TLS_LDO): Likewise.
48320 (R_MN10300_TLS_GOTIE): Likewise.
48321 (R_MN10300_TLS_IE): Likewise.
48322 (R_MN10300_TLS_LE): Likewise.
48323 (R_MN10300_TLS_DTPMOD): Likewise.
48324 (R_MN10300_TLS_DTPOFF): Likewise.
48325 (R_MN10300_TLS_TPOFF): Likewise.
48326 (R_MN10300_SYM_DIFF): Likewise.
48327 (R_MN10300_ALIGN): Likewise.
48328 (R_MN10300_NUM): Update.
48330 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48332 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48335 2012-08-08 Roland McGrath <roland@hack.frob.com>
48337 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48339 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48340 sysdeps/unix -> sysdeps/posix move.
48341 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48343 2012-08-07 Allan McRae <allan@archlinux.org>
48346 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48347 (SUNOS_CPP): Likewise.
48348 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48350 (open_input): Call CPP using execvp.
48352 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48354 * sysdeps/unix/sysv/linux/kernel-features.h
48355 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48356 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48357 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48358 (__ASSUME_WAITID_SYSCALL): Likewise.
48359 * sysdeps/unix/sysv/linux/dl-execstack.c
48360 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48361 code unconditional.
48362 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48365 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48366 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48368 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48370 [__ASSUME_WAITID_SYSCALL]: Likewise.
48371 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48373 2012-08-07 Roland McGrath <roland@hack.frob.com>
48375 * sysdeps/unix/closedir.c: Renamed to ...
48376 * sysdeps/posix/closedir.c: ... here.
48377 * sysdeps/unix/dirfd.c: Renamed to ...
48378 * sysdeps/posix/dirfd.c: ... here.
48379 * sysdeps/unix/dirstream.h: Renamed to ...
48380 * sysdeps/posix/dirstream.h: ... here.
48381 * sysdeps/unix/fdopendir.c: Renamed to ...
48382 * sysdeps/posix/fdopendir.c: ... here.
48383 * sysdeps/unix/opendir.c: Renamed to ...
48384 * sysdeps/posix/opendir.c: ... here.
48385 * sysdeps/unix/readdir.c: Renamed to ...
48386 * sysdeps/posix/readdir.c: ... here.
48387 * sysdeps/unix/readdir_r.c: Renamed to ...
48388 * sysdeps/posix/readdir_r.c: ... here.
48389 * sysdeps/unix/rewinddir.c: Renamed to ...
48390 * sysdeps/posix/rewinddir.c: ... here.
48391 * sysdeps/unix/seekdir.c: Renamed to ...
48392 * sysdeps/posix/seekdir.c: ... here.
48393 * sysdeps/unix/telldir.c: Renamed to ...
48394 * sysdeps/posix/telldir.c: ... here.
48395 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48396 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48397 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48398 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48400 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48401 * bits/fcntl.h: ... here.
48403 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48405 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48406 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48407 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48408 (struct flock): Move l_start, l_len to the beginning.
48409 Use __pid_t for l_pid.
48410 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48411 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48412 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48413 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48414 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48415 [__USE_LARGEFILE64] (struct flock64): New type.
48416 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48418 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48419 * bits/dirent.h: ... here.
48421 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48422 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48424 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48427 Change from 2.6.0 to 2.6.16.
48428 * sysdeps/unix/sysv/linux/configure: Regenerated.
48429 * sysdeps/unix/sysv/linux/kernel-features.h
48430 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48431 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48433 (__ASSUME_UTIMES): Likewise.
48434 (__ASSUME_CLONE_STOPPED): Remove.
48435 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48436 architectures, not kernel version.
48437 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48438 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48439 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48440 (__ASSUME_WAITID_SYSCALL): Likewise.
48441 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48442 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48443 * README: State 2.6.16 as minimum Linux kernel version. Do not
48444 refer to older versions.
48446 2012-08-06 Roland McGrath <roland@hack.frob.com>
48448 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48449 Define alphasort64 as an alias.
48450 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48451 Define versionsort64 as an alias.
48452 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48453 Define scandir64 as an alias.
48454 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48455 Define scandirat64 as an alias.
48456 * dirent/alphasort64.c (alphasort64):
48457 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48458 * dirent/versionsort64.c: Likewise.
48459 * dirent/scandir64.c: Likewise.
48460 * dirent/scandirat64.c: Likewise.
48461 * sysdeps/wordsize-64/alphasort.c: File removed.
48462 * sysdeps/wordsize-64/alphasort64.c: File removed.
48463 * sysdeps/wordsize-64/scandir.c: File removed.
48464 * sysdeps/wordsize-64/scandir64.c: File removed.
48465 * sysdeps/wordsize-64/scandirat.c: File removed.
48466 * sysdeps/wordsize-64/scandirat64.c: File removed.
48467 * sysdeps/wordsize-64/versionsort.c: File removed.
48468 * sysdeps/wordsize-64/versionsort64.c: File removed.
48469 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48471 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48473 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48476 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48478 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48480 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48482 [defined __arch64__ || defined __sparcv9]
48483 (__INO_T_MATCHES_INO64_T): New macro.
48484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48485 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48486 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48487 * sysdeps/unix/sysv/linux/bits/dirent.h
48488 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48489 (_DIRENT_MATCHES_DIRENT64): New macro.
48491 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48492 Define lockf64 as an alias.
48493 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48494 Define fseeko64 as an alias.
48495 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48496 Define ftello64 as an alias.
48497 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48498 Define _IO_fgetpos64 and fgetpos64 as aliases.
48499 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48500 Define _IO_fsetpos64 and fsetpos64 as aliases.
48501 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48502 Conditionalize body on this.
48503 * libio/fseeko64.c: Likewise.
48504 * libio/ftello64.c: Likewise.
48505 * libio/iofgetpos64.c: Likewise.
48506 * libio/iofsetpos64.c: Likewise.
48507 * sysdeps/wordsize-64/lockf.c: File removed.
48508 * sysdeps/wordsize-64/lockf64.c: File removed.
48509 * sysdeps/wordsize-64/fseeko.c: File removed.
48510 * sysdeps/wordsize-64/fseeko64.c: File removed.
48511 * sysdeps/wordsize-64/ftello.c: File removed.
48512 * sysdeps/wordsize-64/ftello64.c: File removed.
48513 * sysdeps/wordsize-64/iofgetpos.c: File removed.
48514 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48515 * sysdeps/wordsize-64/iofsetpos.c: File removed.
48516 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48517 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48519 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48520 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48521 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48522 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48523 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48524 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48526 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48528 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48530 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48532 [defined __arch64__ || defined __sparcv9]
48533 (__OFF_T_MATCHES_OFF64_T): New macro.
48534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48535 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48537 (__OFF_T_MATCHES_OFF64_T): New macro.
48539 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48541 * stdlib/secure-getenv.c (__secure_getenv): Replace
48542 GLIBC_2_16 with GLIBC_2_17.
48544 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
48546 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48547 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48549 2012-08-03 David S. Miller <davem@davemloft.net>
48551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48553 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48555 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48557 (__ASSUME_CORRECT_SI_PID): Likewise.
48558 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48559 (__ASSUME_TMPFS_NAME): Likewise.
48560 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48561 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48562 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48563 (HAVE_AUX_SECURE): Make definition unconditional.
48564 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48565 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48567 2012-08-03 Roland McGrath <roland@hack.frob.com>
48569 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48570 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48571 * sysdeps/mach/hurd/eloop-threshold.h: New file.
48572 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48573 __eloop_threshold instead of SYMLOOP_MAX.
48575 * sysdeps/generic/eloop-threshold.h: New file.
48576 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48578 * elf/chroot_canon.c (chroot_canon): Likewise.
48580 2012-08-03 Joseph Myers <joseph@codesourcery.com>
48583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48584 Change to 2.6.0 everywhere.
48585 * sysdeps/unix/sysv/linux/configure: Regenerated.
48586 * sysdeps/unix/sysv/linux/kernel-features.h
48587 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48588 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48590 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48591 (__ASSUME_FUTEX_REQUEUE): Remove.
48592 (__ASSUME_STATFS64): Define unconditionally.
48593 (__ASSUME_AT_SECURE): Likewise.
48594 (__ASSUME_CORRECT_SI_PID): Likewise.
48595 (__ASSUME_TGKILL): Define without depending on kernel version for
48597 (__ASSUME_UTIMES): Likewise.
48598 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48600 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
48601 (__ASSUME_TMPFS_NAME): Likewise.
48602 * README: Update reference to Linux kernel versions.
48604 2012-08-02 Marek Polacek <polacek@redhat.com>
48607 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
48608 libc_cv_asm_type_prefix with %.
48609 * configure: Regenerated.
48610 * include/libc-symbols.h: Remove comment about
48611 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48612 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
48613 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
48614 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
48615 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
48616 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
48617 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
48618 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
48619 * elf/tst-unique2mod1.c: Likewise.
48620 * elf/tst-unique1mod2.c: Likewise.
48621 * elf/tst-unique1mod1.c: Likewise.
48622 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
48623 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
48624 Replace ASM_TYPE_DIRECTIVE with .type.
48625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48626 * sysdeps/i386/sysdep.h: Likewise.
48627 * sysdeps/x86_64/sysdep.h: Likewise.
48628 * sysdeps/sh/sysdep.h: Likewise.
48629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48630 Do not define ASM_TYPE_DIRECTIVE.
48631 * sysdeps/powerpc/sysdep.h: Likewise.
48632 * sysdeps/powerpc/powerpc32/sysdep.h:
48633 Replace ASM_TYPE_DIRECTIVE with .type.
48634 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48635 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48636 * sysdeps/i386/fpu/e_powf.S: Likewise.
48637 * sysdeps/i386/fpu/e_expl.S: Likewise.
48638 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48639 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48640 * sysdeps/i386/fpu/e_pow.S: Likewise.
48641 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48642 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48643 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48645 * sysdeps/i386/fpu/e_log2.S: Likewise.
48646 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48647 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48648 * sysdeps/i386/fpu/e_powl.S: Likewise.
48649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48650 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48651 * sysdeps/i386/fpu/e_logl.S: Likewise.
48652 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48653 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48654 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48655 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48657 * sysdeps/i386/fpu/e_log.S: Likewise.
48658 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48659 * sysdeps/i386/fpu/e_logf.S: Likewise.
48660 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48662 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48663 * sysdeps/i386/fpu/e_log10.S: Likewise.
48664 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48665 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48666 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48667 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48668 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
48670 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48671 * sysdeps/i386/i686/strtok.S: Likewise.
48672 * sysdeps/i386/i386-mcount.S: Likewise.
48673 * sysdeps/i386/strtok.S: Likewise.
48674 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
48675 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48676 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48677 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48679 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48680 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48681 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48682 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48683 * sysdeps/x86_64/_mcount.S: Likewise.
48684 * sysdeps/x86_64/strtok.S: Likewise.
48685 * sysdeps/sh/_mcount.S: Likewise.
48687 2012-08-01 Roland McGrath <roland@hack.frob.com>
48689 * libio/iofopen.c: Include <fcntl.h>.
48690 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
48691 (_IO_fopen64, fopen64): Define as aliases.
48692 * libio/iofopen64.c: Include <fcntl.h>.
48693 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
48694 Conditionalize body on this.
48695 * sysdeps/wordsize-64/iofopen.c: File removed.
48696 * sysdeps/wordsize-64/iofopen64.c: File removed.
48698 2012-08-01 Marek Polacek <polacek@redhat.com>
48700 * libc/Makeconfig: Use elf in place of binfmt-subdir.
48701 Use dlfcn directly instead of a variable.
48702 (binfmt-subdir): Do not define.
48705 2012-08-01 Joseph Myers <joseph@codesourcery.com>
48707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
48708 Remove all definitions.
48709 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
48710 <kernel-features.h>.
48711 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48712 (miss_F_GETOWN_EX): Remove all definitions.
48713 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
48715 [!__ASSUME_FCNTL64]: Remove conditional code.
48716 [__ASSUME_FCNTL64]: Make code unconditional.
48717 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
48718 <kernel-features.h>.
48719 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
48720 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
48721 (lockf64) [__NR_fcntl64]: Make code unconditional.
48722 (lockf64) [__ASSUME_FCNTL64]: Likewise.
48724 * sysdeps/unix/sysv/linux/kernel-features.h
48725 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
48726 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
48727 Make code unconditional.
48728 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48729 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
48731 [__NR_vfork]: Make code unconditional.
48732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
48735 [__NR_vfork]: Make code unconditional.
48736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
48737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48739 2012-08-01 Roland McGrath <roland@hack.frob.com>
48741 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
48742 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
48744 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48745 Define mkstemp64 as an alias.
48746 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48747 Define mkstemps64 as an alias.
48748 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48749 Define mkostemp64 as an alias.
48750 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
48751 Define mkostemps64 as an alias.
48752 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
48753 Conditionalize body on this.
48754 * misc/mkostemp64.c: Likewise.
48755 * misc/mkostemps64.c: Likewise.
48756 * misc/mkstemps64.c: Likewise.
48757 * sysdeps/wordsize-64/mkstemp64.c: File removed.
48758 * sysdeps/wordsize-64/mkostemp64.c: File removed.
48759 * sysdeps/wordsize-64/mkostemp.c: File removed.
48760 * sysdeps/wordsize-64/mkstemp.c: File removed.
48761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
48762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
48763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
48764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
48767 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
48768 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
48769 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
48770 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
48772 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
48773 compat_symbol macros from <shlib-compat.h> rather than the underlying
48774 default_symbol_version and symbol_version macros, so that DEFAULT
48775 lines in shlib-versions are respected.
48776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
48778 2012-08-01 Florian Weimer <fweimer@redhat.com>
48780 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
48781 Declare with warn_unused_result.
48782 (setgid, setregid, setegid, setresgid): Likewise.
48783 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
48785 * WUR-REPORT: Remove set*id functions.
48787 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
48789 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
48791 2012-07-31 Roland McGrath <roland@hack.frob.com>
48794 * include/sys/socket.h (__libc_accept, __libc_accept4):
48795 Add attribute_hidden.
48796 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
48798 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
48800 * inet/getnetgrent_r.c (setup): Likewise.
48802 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
48804 2012-07-31 David S. Miller <davem@davemloft.net>
48806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48808 2012-07-31 Joseph Myers <joseph@codesourcery.com>
48811 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48812 value between 1.0 and 2.0 and smaller part has absolute value less
48814 * math/s_clog10.c (__clog10): Likewise.
48815 * math/s_clog10f.c (__clog10f): Likewise.
48816 * math/s_clog10l.c (__clog10l): Likewise.
48817 * math/s_clogf.c (__clogf): Likewise.
48818 * math/s_clogl.c (__clogl): Likewise.
48819 * math/libm-test.inc (clog_test): Add more tests.
48820 (clog10_test): Likewise.
48821 * sysdeps/i386/fpu/libm-test-ulps: Update.
48822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48824 2012-07-31 Florian Weimer <fweimer@redhat.com>
48826 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
48827 Exit with zero in case no suitable GID is found, and write a
48828 message to standard error.
48830 2012-07-30 Roland McGrath <roland@hack.frob.com>
48832 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
48834 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48835 (MAXPATHLEN): Removed.
48836 (NOGROUP, NODEV): New macros.
48837 (setbit, clrbit, isset, isclr): New macros.
48838 (howmany, roundup, powerof2): New macros.
48839 (DEV_BSIZE): New macro.
48841 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
48842 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
48844 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
48845 definition on [!__NO_LONG_DOUBLE_MATH].
48847 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
48848 PTR_MANGLE and PTR_DEMANGLE.
48850 * socket/accept4.c (accept4): Rename to __libc_accept4.
48851 Define accept4 as a weak alias.
48853 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
48854 on [_DIRENT_HAVE_D_TYPE].
48855 * io/ftw.c (ftw_dir): Likewise.
48857 * io/xmknod.c (__xmknod): Don't check PATH for being null.
48859 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
48861 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
48862 Use the BSD numbers rather than the arbitrary ones we had.
48863 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
48864 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
48865 (SIGXCPU, SIGXFSZ): New macros.
48868 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
48869 initializer on [_LIBC_REENTRANT].
48871 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
48872 definitions inside [_POSIX_MAPPED_FILES].
48874 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
48876 * dirent/opendir.c: Include <fcntl.h>.
48878 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
48879 (__libc_getspecific): Likewise.
48880 (__libc_key_create): Likewise.
48882 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
48883 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
48884 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
48885 (tmpfile64): Define as alias.
48886 * sysdeps/wordsize-64/tmpfile.c: File removed.
48887 * sysdeps/wordsize-64/tmpfile64.c: File removed.
48888 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
48889 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
48891 * stdio-common/vfscanf.c: Include <stdbool.h>.
48892 * nss/makedb.c: Likewise.
48893 * stdio-common/_i18n_number.h: Likewise.
48894 * argp/argp-help.c: Likewise.
48895 * posix/wordexp.c: Likewise.
48896 * sysdeps/posix/spawni.c: Likewise.
48897 * nss/nss_files/files-initgroups.c: Likewise.
48898 * stdio-common/reg-modifier.c: Include <stdlib.h>.
48899 * nss/nss_files/files-initgroups.c: Likewise.
48900 * nss/nss_db/db-netgrp.c: Likewise.
48901 * nss/nss_db/db-initgroups.c: Likewise.
48902 * io/fchmodat.c: Include <sys/stat.h>.
48904 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
48905 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
48907 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
48910 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
48911 Add multiple inclusion protection.
48913 2012-07-27 David S. Miller <davem@davemloft.net>
48915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48917 2012-07-27 Gary Benson <gbenson@redhat.com>
48920 * elf/rtld.c: Include <stap-probe.h>.
48921 (dl_main): Added static probes "init_start" and "init_complete".
48922 * elf/dl-load.c: Include <stap-probe.h>.
48923 (lose): Take new parameter "nsid".
48924 Added static probe "map_failed".
48925 (_dl_map_object_from_fd): Pass namespace id to lose.
48926 Added static probe "map_start".
48927 (open_verify): Pass namespace id to lose.
48928 * elf/dl-open.c: Include <stap-probe.h>.
48929 (dl_open_worker) Added static probes "map_complete", "reloc_start"
48930 and "reloc_complete".
48931 * elf/dl-close.c: Include <stap-probe.h>.
48932 (_dl_close_worker): Added static probes "unmap_start" and
48934 * elf/rtld-debugger-interface.txt: New file documenting the above.
48936 2012-07-26 Roland McGrath <roland@hack.frob.com>
48938 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
48939 rather than a string variable.
48940 * sunrpc/rpc_main.c (h_output): Likewise.
48941 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
48943 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
48945 * inet/check_native.c: New file.
48947 2012-07-26 Joseph Myers <joseph@codesourcery.com>
48950 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
48951 if larger part has absolute value 1.0.
48952 * math/s_clog10.c (__clog10): Likewise.
48953 * math/s_clog10f.c (__clog10f): Likewise.
48954 * math/s_clog10l.c (__clog10l): Likewise.
48955 * math/s_clogf.c (__clogf): Likewise.
48956 * math/s_clogl.c (__clogl): Likewise.
48957 * math/libm-test.inc (clog_test): Add more tests.
48958 (clog10_test): Likewise.
48959 * sysdeps/i386/fpu/libm-test-ulps: Update.
48960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48962 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48963 (pltexit): Likewise.
48964 (La_regs): Likewise.
48965 (La_retval): Likewise.
48966 (int_retval): Likewise.
48967 Update #error for removed macros to refer only to definitions in
48969 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48971 (pltexit): Likewise.
48972 (La_regs): Likewise.
48973 (La_retval): Likewise.
48974 (int_retval): Likewise.
48975 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48977 (pltexit): Likewise.
48978 (La_regs): Likewise.
48979 (La_retval): Likewise.
48980 (int_retval): Likewise.
48981 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48983 (pltexit): Likewise.
48984 (La_regs): Likewise.
48985 (La_retval): Likewise.
48986 (int_retval): Likewise.
48987 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48989 (pltexit): Likewise.
48990 (La_regs): Likewise.
48991 (La_retval): Likewise.
48992 (int_retval): Likewise.
48993 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48995 (pltexit): Likewise.
48996 (La_regs): Likewise.
48997 (La_retval): Likewise.
48998 (int_retval): Likewise.
48999 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49001 (pltexit): Likewise.
49002 (La_regs): Likewise.
49003 (La_retval): Likewise.
49004 (int_retval): Likewise.
49005 * sysdeps/generic/tst-audit.h: Update comment to refer only to
49006 macro definitions in tst-audit.h.
49007 * sysdeps/i386/tst-audit.h: New file.
49008 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49009 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49010 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49011 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49012 * sysdeps/sh/tst-audit.h: Likewise.
49013 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49014 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49015 * sysdeps/x86_64/tst-audit.h: Likewise.
49017 2012-07-26 Andreas Jaeger <aj@suse.de>
49019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49022 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49023 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49024 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49026 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49027 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49028 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49030 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49033 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49035 (si_call_addr, si_syscall, si_arch): Define new macro.
49036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49038 (si_call_addr, si_syscall, si_arch): Define new marcro.
49039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49041 (si_call_addr, si_syscall, si_arch): Define new macro.
49042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49044 (si_call_addr, si_syscall, si_arch): Define new macro.
49046 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49049 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49050 Change to 2.4.21 where previously 2.4.1.
49051 * sysdeps/unix/sysv/linux/configure: Regenerated.
49052 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49053 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49054 Linux kernel version.
49055 (__ASSUME_STD_AUXV): Remove.
49056 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49058 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49059 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49060 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49061 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49062 (__ASSUME_NETLINK_SUPPORT): Likewise.
49063 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49064 (__no_netlink_support): Remove conditional definition.
49065 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49067 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49068 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49069 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49070 (if_nameindex_ioctl): Remove.
49071 (if_nameindex_netlink): Do not handle __no_netlink_support.
49072 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49074 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49075 Remove conditional code.
49076 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49078 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49080 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49081 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49082 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49084 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49085 [!__ASSUME_STD_AUXV]: Remove conditional code.
49086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49087 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49088 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49090 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49091 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49093 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49095 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49096 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49098 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49100 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49106 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49107 code unconditional.
49108 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49110 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49112 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49115 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49117 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49120 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49121 code unconditional.
49122 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49124 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49126 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49129 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49130 code unconditional.
49131 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49133 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49135 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49138 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49140 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49141 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49142 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49143 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49144 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49145 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49146 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49147 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49148 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49149 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49150 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49151 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49152 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49153 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49154 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49155 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49156 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49158 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49160 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49161 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49164 2012-07-25 Florian Weimer <fweimer@redhat.com>
49166 * Versions.def: Add GLIBC_2.17.
49167 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49168 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49169 Introduce __libc_secure_getenv.
49170 * stdlib/Versions (2.17): Add secure_getenv
49171 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49172 * stdlib/secure-getenv.c: Rename __secure_getenv to
49173 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49174 symbol __secure_getenv for GLIBC_2.0.
49175 * stdlib/tst-secure-getenv.c: New.
49176 * stdlib/Makefile (tests): Add testcase.
49177 * manual/startup.texi (Environment Access): Document
49179 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49180 __libc_secure_getenv.
49181 * inet/ruserpass.c (ruserpass): Likewise.
49182 * malloc/mtrace.c (mtrace): Likewise.
49183 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49184 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49185 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49186 * sysdeps/posix/tempname.c: Likewise. Evaluate
49187 HAVE_SECURE_GETENV.
49188 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49189 __secure_getenv to __libc_secure_getenv.
49190 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49203 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49205 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49206 (struct La_i86_retval): Likewise.
49207 (struct La_x86_64_regs): Likewise.
49208 (struct La_x86_64_retval): Likewise.
49209 (struct La_x32_regs): Likewise.
49210 (struct La_x32_retval): Likewise.
49211 (struct La_ppc32_regs): Likewise.
49212 (struct La_ppc32_retval): Likewise.
49213 (struct La_ppc64_regs): Likewise.
49214 (struct La_ppc64_retval): Likewise.
49215 (struct La_sh_regs): Likewise.
49216 (struct La_sh_retval): Likewise.
49217 (struct La_s390_32_regs): Likewise.
49218 (struct La_s390_32_retval): Likewise.
49219 (struct La_s390_64_regs): Likewise.
49220 (struct La_s390_64_retval): Likewise.
49221 (struct La_sparc32_regs): Likewise.
49222 (struct La_sparc32_retval): Likewise.
49223 (struct La_sparc64_regs): Likewise.
49224 (struct La_sparc64_retval): Likewise.
49225 (struct audit_ifaces): Remove architecture-specific pltenter and
49227 * sysdeps/i386/ldsodefs.h: New file.
49228 * sysdeps/powerpc/ldsodefs.h: Likewise.
49229 * sysdeps/s390/ldsodefs.h: Likewise.
49230 * sysdeps/sh/ldsodefs.h: Likewise.
49231 * sysdeps/sparc/ldsodefs.h: Likewise.
49232 * sysdeps/x86_64/ldsodefs.h: Likewise.
49234 2012-07-25 Marek Polacek <polacek@redhat.com>
49237 * math/libm-test.inc (yn_test): Add another test.
49238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49239 to ERANGE when the result is +-Inf.
49240 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49241 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49242 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49243 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49245 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49247 * conform/data/time.h-data (NULL): Use macro-constant. Require
49249 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49251 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49253 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49255 * configure.in <sysdeps resolving>: Correct printing
49257 * configure: Regenerate.
49259 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49261 * math/w_ilogb.c: Include <limits.h>.
49262 * math/w_ilogbl.c: Likewise.
49264 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49266 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49267 va_copy. Document allowing for unavailable va_copy only as
49268 pre-C99 compatibility.
49269 * manual/string.texi (Copying and Concatenation): Use va_copy
49270 instead of __va_copy in concat example.
49272 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49274 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49275 (__sendto): Use create_address_port. Initialize APORT and deallocate
49278 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49279 with O_NOLINK passed to __file_name_lookup.
49281 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49282 with O_NOLINK passed to __file_name_lookup.
49284 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49285 negative N or less than NGIDS.
49287 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49288 type to string_t. Set ERANGE as errno and return it if NAME is not big
49289 enough. Use memcpy instead of strncpy.
49291 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49293 * elf/Makefile (check-data): Remove.
49294 (localplt.data): New vpath directive.
49295 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49296 instead of $(check-data).
49297 * scripts/data/localplt-generic.data: Move to ...
49298 * sysdeps/generic/localplt.data: ... here.
49299 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49300 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49301 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49304 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49307 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49310 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49313 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49316 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49320 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49322 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49323 PPC32 and PPC64 files.
49324 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49325 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49327 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49329 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49330 __makecontext_ret to ...
49331 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49332 ... here and call exit if uc_link is NULL. New file.
49333 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49334 __makecontext_ret.S.
49335 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49336 __makecontext_ret to ...
49337 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49338 ... here and call exit if uc_link is NULL. New file.
49339 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49340 __makecontext_ret.S.
49342 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49344 * elf/elf.h (R_390_IRELATIVE): New definition.
49345 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49346 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49347 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49349 (elf_machine_lazy_rel): Likewise.
49350 * sysdeps/s390/dl-irel.h: New file.
49351 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49352 * sysdeps/s390/s390-64/memset.S: New asm code.
49353 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49354 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49355 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49356 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49357 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49358 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49360 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49361 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49362 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49363 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49364 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49365 * sysdeps/s390/s390-32/memset.S: New asm code.
49366 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49368 2012-07-17 Marek Polacek <polacek@redhat.com>
49371 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49372 * sysdeps/s390/s390-64/configure.in: Likewise.
49373 * sysdeps/sparc/configure.in: Likewise.
49374 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49375 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49376 * sysdeps/i386/configure.in: Likewise.
49377 * sysdeps/x86_64/configure.in: Likewise.
49378 * sysdeps/sh/configure.in: Likewise.
49379 * sysdeps/s390/s390-32/configure: Regenerated.
49380 * sysdeps/s390/s390-64/configure: Likewise.
49381 * sysdeps/x86_64/configure: Likewise.
49382 * sysdeps/sh/configure: Likewise.
49383 * sysdeps/powerpc/powerpc64/configure: Likewise.
49384 * sysdeps/powerpc/powerpc32/configure: Likewise.
49385 * sysdeps/sparc/configure: Likwise.
49386 * sysdeps/i386/configure: Likewise.
49388 * elf/dl-open.c: Comment fixes.
49390 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49392 * Makefile [CXX] (check-data): Remove.
49393 [CXX] (c++-types.data): New vpath directive.
49394 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49395 vpath. Do not allow for C++ type data being missing.
49396 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49397 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49398 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49399 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49400 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49401 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49402 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49405 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49408 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49411 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49414 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49417 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49420 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49423 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49426 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49427 definitions to architecture-specific files.
49428 (TLS_IE): Likewise.
49429 (TLS_LD): Likewise.
49430 (TLS_GD): Likewise.
49431 * sysdeps/i386/tls-macros.h: New file.
49432 * sysdeps/powerpc/tls-macros.h: Likewise.
49433 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49434 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49435 * sysdeps/sh/tls-macros.h: Likewise.
49436 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49437 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49438 * sysdeps/x86_64/tls-macros.h: Likewise.
49440 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49443 zero value for regular exit case.
49445 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49446 (__start_context): Preserve zero value for regular exit case.
49448 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49449 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49451 * manual/setjmp.texi (setcontext): Clarify normal process
49452 termination when uc_link is the null pointer.
49453 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49456 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
49458 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49459 preprocessor. Test for each exception mask separately.
49461 2012-07-16 Andreas Jaeger <aj@suse.de>
49463 * po/ru.po: Update from translation team.
49465 2012-07-15 Joseph Myers <joseph@codesourcery.com>
49467 * conform/data/string.h-data (NULL): Use macro-constant. Require
49469 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49470 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49471 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49472 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49475 2012-07-13 Andreas Jaeger <aj@suse.de>
49477 * po/fr.po: Update from translation team.
49479 2012-07-12 Marek Polacek <polacek@redhat.com>
49482 * math/libm-test.inc (yn_test): Add test for BZ #14173.
49483 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49486 2012-07-12 Joseph Myers <joseph@codesourcery.com>
49489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49490 Change to 2.4.1 where previously 2.4.0.
49491 * sysdeps/unix/sysv/linux/configure: Regenerated.
49492 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49493 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49495 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49496 (__ASSUME_AT_CLKTCK): Remove.
49497 (__ASSUME_AT_PAGESIZE): Likewise.
49498 (__ASSUME_AT_XID): Likewise.
49499 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49500 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49501 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49503 (HAVE_AUX_PAGESIZE): Likewise.
49504 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49505 [__ASSUME_AT_CLKTCK]: Make code unconditional.
49506 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49508 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
49511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49512 the temporary buffer used to invoke __gethostbyname2_r,
49513 __gethostbyaddr_r and gethostbyname4_r to make room for struct
49514 host_data / struct gaih_addrtuple.
49515 * resolv/nss_dns/dns-host.c (global scope): Move definition of
49516 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49517 header file nss/nsswitch.h.
49518 * nss/nsswitch.h (global scope): Add definition of implementation
49519 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49520 resolv/nss_dns/dns-host.c).
49522 2012-07-11 Andreas Jaeger <aj@suse.de>
49524 * po/fr.po: Update from translation team.
49526 * po/sv.po: Update from translation team
49527 * po/fr.po: Another update from translation team.
49529 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49531 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49532 for subnormals or multiply small sinh result by itself.
49533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49536 2012-07-11 David S. Miller <davem@davemloft.net>
49538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49540 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
49543 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49544 (INTERNAL_MARK): Shift it here.
49546 2012-07-10 Marek Polacek <polacek@redhat.com>
49549 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
49550 libc_cv_asm_global_directive with .globl.
49551 * configure: Regenerated.
49552 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49554 * sysdeps/i386/configure: Regenerated.
49555 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49557 * sysdeps/x86_64/configure: Regenerated.
49558 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49559 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49560 * elf/tst-unique2mod2.c: Likewise.
49561 * elf/tst-unique2mod1.c: Likewise.
49562 * elf/tst-unique1mod2.c: Likewise.
49563 * elf/tst-unique1mod1.c: Likewise.
49564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49565 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49566 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49567 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49568 * sysdeps/mach/sysdep.h: Likewise.
49569 * sysdeps/i386/sysdep.h: Likewise.
49570 * sysdeps/i386/i386-mcount.S: Likewise.
49571 * sysdeps/x86_64/_mcount.S: Likewise.
49572 * sysdeps/x86_64/sysdep.h: Likewise.
49573 * sysdeps/sh/_mcount.S: Likewise.
49574 * sysdeps/sh/sysdep.h: Likewise.
49575 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49576 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49577 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49578 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49579 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49580 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49581 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49582 * locale/localeinfo.h: Likewise.
49583 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49584 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49586 2012-07-09 Roland McGrath <roland@hack.frob.com>
49589 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49591 * manual/message.texi (The Uniforum approach): Likewise.
49592 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49593 (glibc iconv Implementation): Likewise.
49595 2012-07-09 Joseph Myers <joseph@codesourcery.com>
49598 * math/s_clog.c (__clog): Avoid scaling a value down where that
49599 could result in underflow.
49600 * math/s_clog10.c (__clog10): Likewise.
49601 * math/s_clog10f.c (__clog10f): Likewise.
49602 * math/s_clog10l.c (__clog10l): Likewise.
49603 * math/s_clogf.c (__clogf): Likewise.
49604 * math/s_clogl.c (__clogl): Likewise.
49605 * math/libm-test.inc (clog_test): Add more tests.
49606 (clog10_test): Likewise.
49607 * sysdeps/i386/fpu/libm-test-ulps: Update.
49608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49610 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
49613 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
49614 by 7 not 8 to examine high bit of fractional part.
49617 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
49618 for call to __mcount_internal.
49619 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
49620 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
49621 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
49623 2012-07-06 Joseph Myers <joseph@codesourcery.com>
49626 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
49627 approximation for values within 0x1p-13f of an odd multiple of
49629 * math/libm-test.inc (tan_test): Do not allow spurious underflow
49630 exception. Add more tests.
49631 * sysdeps/i386/fpu/libm-test-ulps: Update.
49634 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
49635 inputs and return -1 for them. Do not check for +Inf in case not
49636 reachable for +Inf.
49637 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49638 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
49639 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49640 and return -1 for them. Do not check for +Inf in case not
49641 reachable for +Inf.
49642 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
49645 and return -1 for them. Do not check for +Inf in case not
49646 reachable for +Inf.
49647 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
49648 spurious underflow.
49649 * sysdeps/i386/fpu/libm-test-ulps: Update.
49650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49652 2012-07-06 Mike Frysinger <vapier@gentoo.org>
49654 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
49656 2012-07-05 Joseph Myers <joseph@codesourcery.com>
49660 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
49661 could result in spurious underflow. Scale down values above
49662 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
49663 * math/s_csqrtf.c (__csqrtf): Likewise.
49664 * math/s_csqrtl.c (__csqrtl): Likewise.
49665 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
49666 spurious underflow.
49667 * sysdeps/i386/fpu/libm-test-ulps: Update.
49668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49670 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
49672 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
49674 * catgets/xopen-msg.awk: New file.
49675 * catgets/xopen-msg.sed: Removed.
49677 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
49679 * intl/po2test.awk: New file.
49680 * intl/po2test.sed: Removed.
49682 2012-07-04 Joseph Myers <joseph@codesourcery.com>
49685 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
49686 or multiply small sinh result by itself.
49687 * math/s_ctanf.c (__ctanf): Likewise.
49688 * math/s_ctanh.c (__ctanh): Likewise.
49689 * math/s_ctanhf.c (__ctanhf): Likewise.
49690 * math/s_ctanhl.c (__ctanhl): Likewise.
49691 * math/s_ctanl.c (__ctanl): Likewise.
49692 * math/libm-test.inc (ctan_test_tonearest): New function.
49693 (ctan_test_towardzero): Likewise.
49694 (ctan_test_downward): Likewise.
49695 (ctan_test_upward): Likewise.
49696 (ctanh_test_tonearest): Likewise.
49697 (ctanh_test_towardzero): Likewise.
49698 (ctanh_test_downward): Likewise.
49699 (ctanh_test_upward): Likewise.
49700 (main): Call these new functions.
49701 * sysdeps/i386/fpu/libm-test-ulps: Update.
49702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49704 2012-07-03 Mike Frysinger <vapier@gentoo.org>
49706 * .gitignore: Delete /ports entry.
49708 2012-07-03 Andreas Jaeger <aj@suse.de>
49710 * po/bg.po: Update from translation team.
49711 * po/cs.po: Likewise.
49712 * po/de.po: Likewise.
49713 * po/hr.po: Likewise.
49714 * po/nl.pl: Likewise.
49715 * po/pl.po: Likewise.
49716 * po/vi.po: Likewise.
49718 2012-07-03 Joseph Myers <joseph@codesourcery.com>
49720 * Makeconfig [!+link] (+link-before-libc): New variable.
49721 [!+link] (+link-after-libc): Likewise.
49722 [!+link] (+link-tests): Likewise.
49723 [!+link] (+link): Define in terms of $(+link-before-libc) and
49724 $(+link-after-libc).
49725 [!+link-static] (+link-static-before-libc): New variable.
49726 [!+link-static] (+link-static-after-libc): Likewise.
49727 [!+link-static] (+link-static-tests): Likewise.
49728 [!+link-static] (+link-static): Define in terms of
49729 $(+link-static-before-libc) and $(+link-static-after-libc).
49730 [build-shared] (link-libc-before-gnulib): New variable.
49731 [build-shared] (link-libc-tests): Likewise.
49732 [build-shared] (link-libc): Define in terms of
49733 $(link-libc-before-gnulib).
49734 [!build-shared] (link-libc-tests): New variable.
49735 (link-libc-static-tests): New variable.
49736 [!gnulib] (gnulib-arch): New variable.
49737 [!gnulib] (gnulib-tests): Likewise.
49738 [!gnulib] (static-gnulib-arch): Likewise.
49739 [!gnulib] (static-gnulib-tests): Likewise.
49740 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
49741 Define with "=" instead of ":=".
49742 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
49743 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
49744 * Rules (binaries-all-notests): New variable.
49745 (binaries-all-tests): Likewise.
49746 (binaries-static-notests): Likewise.
49747 (binaries-static-tests): Likewise.
49748 (binaries-all): Define using $(binaries-all-notests) and
49749 $(binaries-all-tests).
49750 (binaries-static): Define using $(binaries-static-notests) and
49751 $(binaries-static-tests).
49752 (binaries-shared-tests): New variable.
49753 (binaries-shared-notests): Likewise.
49754 (binaries-shared): Remove variable.
49755 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
49756 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
49757 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
49758 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
49759 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
49760 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
49761 * elf/Makefile (sln-modules): New variable.
49762 (extra-objs): Add $(sln-modules:=.o).
49763 (ldconfig-modules): Add static-stubs.
49764 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
49765 * elf/static-stubs.c: New file.
49768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
49769 by 7 not 8 to examine high bit of fractional part. Use volatile
49770 variables when splitting into final array of floats if
49771 __FLT_EVAL_METHOD__ != 0.
49772 * math/libm-test.inc (cos_test): Add another test.
49773 (sin_test): Likewise.
49774 * sysdeps/i386/fpu/libm-test-ulps: Update.
49777 * math/libm-test.inc (cosh_test): Add more tests.
49779 * version.h (RELEASE): Set to "development".
49780 (VERSION): Set to "2.16.90".
49782 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
49784 * NEWS: Update copyright. Remove last-updated date.
49785 Mention math library bug fixes and timezone data changes.
49786 * README: Mention GNU/Hurd, x32, and HPPA support status.
49788 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
49790 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
49792 2012-06-27 Andreas Jaeger <aj@suse.de>
49794 * manual/contrib.texi (Contributors): Add Samuel Thibault.
49796 2012-06-25 Andreas Jaeger <aj@suse.de>
49798 * sysdeps/s390/fpu/libm-test-ulps: Update.
49800 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
49801 Thomas Schwinge <thomas@codesourcery.com>
49803 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
49804 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
49805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
49808 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
49810 * sysdeps/mach/start.c: Remove file.
49811 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
49812 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
49813 * sysdeps/sh/init-first.c: Likewise.
49815 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
49816 registers for frame unwinding purposes, add CFI directives.
49817 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
49819 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
49822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
49823 __fortify_fail returning.
49824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
49826 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
49827 sysdeps/sh/____longjmp_chk.S.
49828 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
49829 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
49830 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
49831 (gen-as-const-headers): Append sigaltstack-offsets.sym.
49833 * sysdeps/sh/abort-instr.h: New file.
49834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
49835 process in case exit returns.
49837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
49838 initialize the GOT register before use.
49840 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
49841 calculation of ARGC > 4.
49843 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
49844 meaningful names to some local labels.
49846 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49847 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49849 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
49850 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
49851 (__arch_compare_and_exchange_val_16_acq): Likewise.
49852 (__arch_compare_and_exchange_val_32_acq): Likewise.
49853 (atomic_exchange_and_add): Fix gUSA sequence.
49854 (atomic_add): Likewise.
49855 (atomic_add_negative): Likewise.
49856 (atomic_add_zero): Likewise.
49857 (atomic_bit_test_set): Likewise.
49859 2012-06-22 Andreas Schwab <schwab@redhat.com>
49862 * include/link.h (struct link_map): Add l_free_initfini.
49863 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
49865 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
49866 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
49867 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
49870 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
49872 * configure.in: Use AC_LANG_SOURCE.
49873 * configure: Regenerate.
49875 2012-06-22 Roland McGrath <roland@hack.frob.com>
49877 * configure.in (libc_cv_localstatedir): New substituted variable.
49878 * configure: Regenerated.
49879 * config.make.in (localstatedir): New variable, substituted from
49880 libc_cv_localstatedir.
49881 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
49882 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
49883 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
49884 * sysdeps/gnu/configure: Regenerated.
49886 2012-06-21 Jeff Law <law@redhat.com>
49889 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
49890 free. Simplify list management for _LIBC case.
49892 2012-06-21 Joseph Myers <joseph@codesourcery.com>
49895 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
49896 Clear sign bit of 64-bit integer value before comparing against
49899 * sysdeps/mach/configure: Regenerated.
49901 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
49904 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
49906 2012-06-21 Jeff Law <law@redhat.com>
49909 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
49910 uint16_t for elements in the "seen" array to avoid char overflows.
49911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49912 * elf/dl-open.c (dl_open_worker): Likewise.
49914 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
49916 * scripts/list-sources.sh: Scan PORTS for translations.
49917 * po/libc.pot: Regenerated.
49919 2012-06-21 Andreas Jaeger <aj@suse.de>
49922 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
49924 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
49925 * bits/byteswap-16.h (__bswap_16): Likewise.
49926 * bits/byteswap.h (__bswap_constant_16): Likewise.
49928 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
49931 * sysdeps/i386/fpu_control.h: Removed.
49932 * sysdeps/x86_64/fpu_control.h: Moved to ...
49933 * sysdeps/x86/fpu_control.h: Here.
49935 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
49936 (_FPU_SETCW): Likewise.
49938 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
49941 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
49942 * sysdeps/x86/fpu/bits/mathinline.h: This.
49943 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
49947 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
49948 functions if __x86_64__ is defined.
49950 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
49952 * string/endian.h: Add !__ASSEMBLER__ condition for including
49953 conversion interfaces.
49955 2012-06-15 Joseph Myers <joseph@codesourcery.com>
49958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49959 of ABS(x) in calculating zero to negative powers other than odd
49961 * math/libm-test.inc (pow_test): Add more tests.
49963 2012-06-15 Andreas Jaeger <aj@suse.de>
49965 * manual/contrib.texi (Contributors): Update entry of Liubov
49966 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49969 2012-06-15 Cyril Hrubis <metan@ucw.cz>
49971 * string/string.h: Add __wur to GNU version of strerror_r.
49973 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
49976 * string/Makefile (tests): Add tst-strtok_r.
49977 * string/tst-strtok_r.c: New file.
49978 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49979 RAX_LP/RDX_LP on SAVE_PTR.
49981 2012-06-14 Roland McGrath <roland@hack.frob.com>
49983 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49985 2012-06-14 Joseph Myers <joseph@codesourcery.com>
49987 * libm_test.inc (csqrt_test): Allow more spurious underflow
49989 (j0_test): Likewise.
49990 (j1_test): Likewise.
49991 (y0_test): Likewise.
49992 (y1_test): Likewise.
49994 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
49996 * po/Makefile (libc.pot): Use UTF-8 charset.
49998 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
50001 Suppress sign-conversion warning from FD_SET.
50002 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50003 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50004 not unsigned long int.
50005 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50007 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
50011 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50012 __extern_always_inline instead of __extern_inline.
50013 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50014 (__signbit): Likewise.
50015 (__signbitl): Support C++ namespace.
50016 (lrintf): New inline function.
50018 (llrintf): Likewise.
50019 (llrint): Likewise.
50029 (floorf): Likewise.
50030 (nearbyint): Likewise.
50031 (nearbyintf): Likewise.
50033 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
50035 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50036 non-default versions.
50038 2012-06-11 Roland McGrath <roland@hack.frob.com>
50041 * manual/argp.texi (Argp): Reword argp_parse description slightly.
50043 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
50045 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50046 (FE_UPWARD, FE_DOWNWARD): Don't define.
50047 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50048 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50050 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50052 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50053 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50055 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50057 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50059 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50060 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50062 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
50065 * sysdeps/i386/fpu/bits/fenv.h: Removed.
50066 * sysdeps/i386/fpu/Implies: New file.
50067 * sysdeps/x86_64/fpu/Implies: Likewise.
50068 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50069 * sysdeps/x86/fpu/bits/fenv.h: This.
50071 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50074 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50077 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50078 character 0xffff that matches the last element of the
50081 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50086 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50089 values higher than 25.6283.
50091 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50094 subnormal exponent extraction and add some __builtin_expect.
50095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50096 Fix for subnormal mantissa calculation.
50098 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50100 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50101 cpu2 is -1 and errno is not ENOSYS.
50103 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50106 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50107 * sysdeps/x86/bits/string.h: This.
50108 * sysdeps/x86_64/bits/string.h: Removed.
50110 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50111 if not compiling for x86-64, but compiling for >= i486.
50113 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50114 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50117 New macro from Linux kernel 3.4.0.
50118 (FP_XSTATE_MAGIC2): Likewise.
50119 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50120 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50121 (struct _fpx_sw_bytes): New struct.
50122 (struct _xsave_hdr): Likewise.
50123 (struct _ymmh_state): Likewise.
50124 (struct _xstate): Likewise.
50126 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50127 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50128 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50129 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50130 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50131 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50133 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50134 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50135 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50136 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50137 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50138 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50140 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50143 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50144 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50145 (sysdep_headers): Include sys/platform/ppc.h.
50146 * sysdeps/powerpc/test-gettimebase.c: Test for
50147 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50148 * manual/Makefile (appendices): Include platform.texi.
50149 * manual/contrib.texi (Contributors): Update @node pointers.
50150 * manual/maint.texi (Maintenance): Likewise.
50151 (Platform): New node.
50152 * manual/platform.texi: New file. Document the new features.
50154 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50155 Jakub Jelinek <jakub@redhat.com>
50158 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50159 where __builtin_expect is unavailable.
50161 2012-06-03 David S. Miller <davem@davemloft.net>
50163 * stdlib/longlong.h: Updated from GCC.
50165 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50168 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50169 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50172 (GLIBC_2.16): Likewise.
50174 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50178 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50181 (default-abi): New variable.
50182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50183 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50185 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50187 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50189 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50192 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50193 definition. Document in comment.
50195 2012-06-01 David S. Miller <davem@davemloft.net>
50197 * stdlib/longlong.h: Updated from GCC.
50199 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50202 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50203 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50204 sys/debugreg.h sys/io.h here.
50205 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50206 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50208 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50209 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50210 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50211 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50212 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50213 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50215 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50216 Define only if __x86_64__ is defined.
50218 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50222 Use int64_t for variable i.
50223 * math/libm-test.inc (fmod_test): Add more tests.
50225 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50226 z computation is not scheduled after fetestexcept.
50227 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50228 Use math_force_eval instead of asm to ensure calculation scheduled
50229 before exception test.
50230 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50231 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50233 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50236 computation is not scheduled after fetestexcept.
50238 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50242 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50244 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50246 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50247 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50249 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50252 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50254 (__WCHAR_MIN): Support __WORDSIZE == 64.
50255 (__WCHAR_MAX): Likewise.
50257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50262 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50268 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50269 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50272 Defined to 1 if __x86_64__ isn't defined.
50273 (_STAT_VER_LINUX_OLD): New.
50274 (st_atime): Remove duplicate.
50275 (st_mtime): Likewise.
50276 (st_ctime): Likewise.
50278 2012-05-31 David S. Miller <davem@davemloft.net>
50280 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50283 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50285 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50289 * elf/dl-reloc.c: Include <_itoa.h>.
50290 (_dl_reloc_bad_type): Remove use of INTUSE.
50291 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50292 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50293 * stdio-common/psiginfo.c (psiginfo): Likewise.
50294 * stdio-common/psignal.c (psignal): Likewise.
50295 * string/strsignal.c (strsignal): Likewise.
50296 * include/signal.h (_sys_siglist): Declare hidden proto.
50297 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50298 INTVARDEF with libc_hidden_data_def.
50299 * stdio-common/itoa-udigits.c: Likewise.
50300 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50301 (_itoa_lower_digits_internal): Remove declaration.
50302 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50303 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50304 (_sys_sigabbrev_internal): Remove aliases.
50305 (_sys_siglist): Define hidden alias.
50307 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50312 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50315 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50316 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50318 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50319 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50320 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50321 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50322 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50323 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50325 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50326 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50327 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50329 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50337 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50338 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50339 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50341 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50342 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50344 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50345 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50346 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50348 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50349 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50351 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50352 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50354 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50358 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50359 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50361 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50363 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50364 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50365 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50367 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50369 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50371 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50373 * math/math.h (M_El): Use two more decimal places.
50374 (M_LOG2El): Likewise.
50375 (M_LOG10El): Likewise.
50376 (M_LN2l): Likewise.
50377 (M_LN10l): Likewise.
50379 (M_PI_2l): Likewise.
50380 (M_PI_4l): Likewise.
50381 (M_1_PIl): Likewise.
50382 (M_2_PIl): Likewise.
50383 (M_2_SQRTPIl): Likewise.
50384 (M_SQRT2l): Likewise.
50385 (M_SQRT1_2l): Likewise.
50387 2012-05-31 David S. Miller <davem@davemloft.net>
50389 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50390 values between float registers.
50391 * sysdeps/sparc/sparc64/memset.S: Likewise.
50392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50394 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50396 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50397 -D_FORTIFY_SOURCE=1.
50398 (CPPFLAGS-tst-longjmp_chk.c): Define.
50399 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50400 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50401 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50402 CFLAGS-tst-wchar-h.c.
50404 2012-05-31 Marek Polacek <polacek@redhat.com>
50407 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50408 __endmntent_internal): Remove declaration.
50409 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50410 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50411 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50413 2012-05-30 David S. Miller <davem@davemloft.net>
50415 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50416 (___Q_simulate_exceptions): Use real FP ops rather than writing
50418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50421 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50424 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50425 * sysdeps/x86/bits/xtitypes.h: This.
50427 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50428 * sysdeps/x86/bits/wordsize.h: This.
50430 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50431 * sysdeps/x86/bits/huge_vall.h: This.
50433 * sysdeps/i386/bits/select.h: Removed.
50434 * sysdeps/x86_64/bits/select.h: Renamed to ...
50435 * sysdeps/x86/bits/select.h: This.
50437 * sysdeps/i386/bits/setjmp.h: Removed.
50438 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50439 * sysdeps/x86/bits/setjmp.h: This.
50441 * sysdeps/i386/bits/mathdef.h: Removed.
50442 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50443 * sysdeps/x86/bits/mathdef.h: This.
50445 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50448 * include/sys/socket.h (__connect_internal)
50449 (__libc_sa_len_internal): Remove declaration.
50450 (__connect, __libc_sa_len): Declare hidden_proto.
50451 (SA_LEN): Remove use of INTUSE.
50452 * socket/connect.c: Add libc_hidden_def.
50453 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50454 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50455 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50457 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50458 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50459 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50460 of adding _internal alias.
50462 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50465 * sysdeps/i386/bits/link.h: Removed.
50466 * sysdeps/i386/bits/linkmap.h: Likewise.
50467 * sysdeps/x86_64/bits/link.h: Renamed to ...
50468 * sysdeps/x86/bits/link.h: This.
50469 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50470 * sysdeps/x86/bits/linkmap.h: This.
50472 * sysdeps/i386/bits/endian.h: Removed.
50473 * sysdeps/x86_64/bits/endian.h: Renamed to ...
50474 * sysdeps/x86/bits/endian.h: This.
50476 * sysdeps/i386/bits/byteswap.h: Removed.
50477 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50478 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50479 * sysdeps/x86/bits/byteswap.h: This.
50480 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50481 * sysdeps/x86/bits/byteswap-16.h: This.
50482 * sysdeps/i386/Implies: Add x86.
50483 * sysdeps/x86_64/Implies: Likewise.
50485 2012-05-30 David S. Miller <davem@davemloft.net>
50487 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50488 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50489 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50490 (FP_TRAPPING_EXCEPTIONS): Define.
50491 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50492 (FP_TRAPPING_EXCEPTIONS): Define.
50493 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50494 subnormals only when inexact has been signalled or underflow
50495 exceptions are enabled.
50496 (_FP_PACK_CANONICAL): Likewise.
50498 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50502 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50504 2012-05-30 Richard Henderson <rth@twiddle.net>
50506 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50507 with #ifndef NOT_IN_libc.
50509 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
50510 marked to avoid plt entry.
50512 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50515 * Makeconfig (default-abi): New macro.
50516 (abi-includes): Likewise.
50517 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50518 $(abi-$(default-abi)-lib-soname) for soname if defined.
50519 ($(common-objpfx)gnu/lib-names.stmp): Generate from
50521 * Makefile (installed-stubs): Likewise.
50522 * include/stubs-biarch.h: Removed.
50523 * scripts/lib-names.awk: Only handle one library at a time.
50524 * scripts/soversions.awk: Remove WORDSIZE support.
50525 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50527 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50529 (syscall-list-default-condition): Likewise.
50530 (syscall-list-default-condition): Likewise.
50531 (syscall-list-includes): Likewise.
50532 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50533 syscall-list-* with abi-*. Handle undefined abi-variants.
50534 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50535 * sysdeps/unix/sysv/linux/i386/Implies: New file.
50536 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50537 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50538 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50539 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50541 (syscall-list-32-options): Likewise.
50542 (syscall-list-32-condition): Likewise.
50543 (syscall-list-64-options): Likewise.
50544 (syscall-list-64-condition): Likewise.
50545 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50547 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50550 (abi-64-ld-soname): New macro.
50551 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50552 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50555 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50556 * sysdeps/x86_64/x32/shlib-versions: Likewise.
50558 2012-05-30 Joseph Myers <joseph@codesourcery.com>
50560 * sysdeps/unix/sysv/linux/kernel-features.h
50561 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50562 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50563 include <kernel-features.h>.
50564 [!__NR_ftruncate64]: Remove conditional code.
50565 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50566 [__NR_ftruncate64]: Make code unconditional.
50567 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50568 * sysdeps/unix/sysv/linux/truncate64.c: Do not
50569 include <kernel-features.h>.
50570 [!__NR_ftruncate64]: Remove conditional code.
50571 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50572 [__NR_ftruncate64]: Make code unconditional.
50573 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50575 include <kernel-features.h>.
50576 [!__NR_ftruncate64]: Remove conditional code.
50577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50578 [__NR_ftruncate64]: Make code unconditional.
50579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50581 include <kernel-features.h>.
50582 [!__NR_ftruncate64]: Remove conditional code.
50583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50584 [__NR_ftruncate64]: Make code unconditional.
50585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50587 * configure.in (libc_cv_fpie): Weaken to a compile test using
50588 LIBC_TRY_CC_OPTION.
50589 * configure: Regenerated.
50591 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
50600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
50601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
50602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
50603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50606 2012-05-27 David S. Miller <davem@davemloft.net>
50608 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
50610 (__Q_simulate_exceptions): Return void. Change to simulate
50611 exceptions by writing into the %fsr.
50612 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
50613 (__Qp_handle_exceptions): Likewise.
50615 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
50616 __Qp_handle_exceptions.
50617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
50618 __Qp_handle_exceptions.
50619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50620 as unused and give dummy FP_RND_NEAREST initializer.
50621 (FP_INHIBIT_RESULTS): Define.
50622 (___Q_simulate_exceptions): Update declaration.
50623 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
50625 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
50626 as unused and give dummy FP_RND_NEAREST initializer.
50627 (__Qp_handle_exceptions): Update declaration.
50628 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
50631 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
50633 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
50634 the temporary FPU control word.
50635 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50636 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
50637 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
50638 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50639 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50640 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
50641 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
50642 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50643 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
50644 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
50645 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50647 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50649 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
50652 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
50654 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
50655 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
50656 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
50657 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
50659 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
50660 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
50663 2012-05-27 Ulrich Drepper <drepper@gmail.com>
50665 * po/h.po: Update from translation team.
50667 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
50669 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
50671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
50672 handling of denormals.
50673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50674 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50675 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50676 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
50679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50682 2012-05-26 Marek Polacek <polacek@redhat.com>
50685 * math/libm-test.inc (fma_test): Don't always expect underflow
50688 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50691 * elf/tst-execstack.c: Include stackinfo.h.
50692 (do_test): Adjust test case to ensure that pthread_getattr_np
50693 behaviour remains the same after marking stack executable.
50695 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50697 * sysdeps/unix/sysv/linux/kernel-features.h
50698 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
50699 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
50701 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50702 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50703 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
50705 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
50706 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
50708 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
50710 * configure.in: Define the default includes to being none.
50711 * configure: Regenerated.
50713 2012-05-25 Roland McGrath <roland@hack.frob.com>
50715 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
50716 * sysdeps/x86_64/setjmp.S: Likewise.
50717 * sysdeps/i386/bsd-setjmp.S: Likewise.
50718 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50719 * sysdeps/i386/setjmp.S: Likewise.
50720 * sysdeps/i386/__longjmp.S: Likewise.
50721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50722 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
50724 * include/stap-probe.h: New file.
50725 * configure.in: Handle --enable-systemtap.
50726 * configure: Regenerated.
50727 * config.h.in (USE_STAP_PROBE): New #undef.
50728 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
50729 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
50730 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
50732 2012-05-25 Joseph Myers <joseph@codesourcery.com>
50735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50736 to 2.4.0 where earlier.
50737 * sysdeps/unix/sysv/linux/configure: Regenerated.
50738 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50739 <kernel-features.h>.
50740 [__ASSUME_32BITUIDS]: Make code unconditional.
50741 [!__ASSUME_32BITUIDS]: Remove conditional code.
50742 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
50743 <kernel-features.h>.
50744 [__ASSUME_32BITUIDS]: Make code unconditional.
50745 [!__ASSUME_32BITUIDS]: Remove conditional code.
50746 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
50747 [__ASSUME_32BITUIDS]: Make code unconditional.
50748 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
50749 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
50750 <kernel-features.h>.
50751 [__ASSUME_32BITUIDS]: Make code unconditional.
50752 [!__ASSUME_32BITUIDS]: Remove conditional code.
50753 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
50754 <kernel-features.h>.
50755 [__ASSUME_32BITUIDS]: Make code unconditional.
50756 [!__ASSUME_32BITUIDS]: Remove conditional code.
50757 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
50758 <kernel-features.h>.
50759 [__ASSUME_32BITUIDS]: Make code unconditional.
50760 [!__ASSUME_32BITUIDS]: Remove conditional code.
50761 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
50762 <kernel-features.h>.
50763 [__ASSUME_32BITUIDS]: Make code unconditional.
50764 [!__ASSUME_32BITUIDS]: Remove conditional code.
50765 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50766 <kernel-features.h>.
50767 [__ASSUME_32BITUIDS]: Make code unconditional.
50768 [!__ASSUME_32BITUIDS]: Remove conditional code.
50769 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50770 <kernel-features.h>.
50771 [__ASSUME_32BITUIDS]: Make code unconditional.
50772 [!__ASSUME_32BITUIDS]: Remove conditional code.
50773 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
50774 <kernel-features.h>.
50775 [__ASSUME_32BITUIDS]: Make code unconditional.
50776 [!__ASSUME_32BITUIDS]: Remove conditional code.
50777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50778 <kernel-features.h>.
50779 [__ASSUME_32BITUIDS]: Make code unconditional.
50780 [!__ASSUME_32BITUIDS]: Remove conditional code.
50781 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50782 <kernel-features.h>.
50783 [__ASSUME_32BITUIDS]: Make code unconditional.
50784 [!__ASSUME_32BITUIDS]: Remove conditional code.
50785 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
50786 <kernel-features.h>.
50787 [__ASSUME_32BITUIDS]: Make code unconditional.
50788 [!__ASSUME_32BITUIDS]: Remove conditional code.
50789 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
50790 <kernel-features.h>.
50791 [__NR_setresgid] (__setresgid): Do not declare.
50792 [__ASSUME_32BITUIDS]: Make code unconditional.
50793 [!__ASSUME_32BITUIDS]: Remove conditional code.
50794 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
50795 <kernel-features.h>.
50796 [__NR_setresuid] (__setresuid): Do not declare.
50797 [__ASSUME_32BITUIDS]: Make code unconditional.
50798 [!__ASSUME_32BITUIDS]: Remove conditional code.
50799 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
50800 <kernel-features.h>.
50801 [__ASSUME_32BITUIDS]: Make code unconditional.
50802 [!__ASSUME_32BITUIDS]: Remove conditional code.
50803 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
50804 <kernel-features.h>.
50805 [__ASSUME_32BITUIDS]: Make code unconditional.
50806 [!__ASSUME_32BITUIDS]: Remove conditional code.
50807 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
50808 <kernel-features.h>.
50809 [__ASSUME_32BITUIDS]: Make code unconditional.
50810 [!__ASSUME_32BITUIDS]: Remove conditional code.
50811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
50812 <kernel-features.h>.
50813 [__ASSUME_32BITUIDS]: Make code unconditional.
50814 [!__ASSUME_32BITUIDS]: Remove conditional code.
50815 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
50816 <kernel-features.h>.
50817 [__ASSUME_32BITUIDS]: Make code unconditional.
50818 [!__ASSUME_32BITUIDS]: Remove conditional code.
50819 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
50820 <kernel-features.h>.
50821 [__ASSUME_32BITUIDS]: Make code unconditional.
50822 [!__ASSUME_32BITUIDS]: Remove conditional code.
50823 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
50824 <kernel-features.h>.
50825 [__ASSUME_32BITUIDS]: Make code unconditional.
50826 [!__ASSUME_32BITUIDS]: Remove conditional code.
50827 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
50828 <kernel-features.h>.
50829 [__ASSUME_32BITUIDS]: Make code unconditional.
50830 [!__ASSUME_32BITUIDS]: Remove conditional code.
50831 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
50832 <kernel-features.h>.
50833 [__ASSUME_32BITUIDS]: Make code unconditional.
50834 [!__ASSUME_32BITUIDS]: Remove conditional code.
50835 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50836 <kernel-features.h>.
50837 [__ASSUME_32BITUIDS]: Make code unconditional.
50838 [!__ASSUME_32BITUIDS]: Remove conditional code.
50839 * sysdeps/unix/sysv/linux/kernel-features.h
50840 (__ASSUME_SETRESUID_SYSCALL): Remove.
50841 (__ASSUME_SETRESGID_SYSCALL): Likewise.
50842 (__ASSUME_32BITUIDS): Likewise.
50843 (__ASSUME_LDT_WORKS): Likewise.
50844 (__ASSUME_O_DIRECTORY): Likewise.
50845 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
50846 architecture but not kernel version.
50847 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50848 (__ASSUME_MMAP2_SYSCALL): Likewise.
50849 (__ASSUME_STAT64_SYSCALL): Likewise.
50850 (__ASSUME_IPC64): Likewise.
50851 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
50852 <kernel-features.h>.
50853 [__ASSUME_32BITUIDS]: Make code unconditional.
50854 [!__ASSUME_32BITUIDS]: Remove conditional code.
50855 * sysdeps/unix/sysv/linux/opendir.c: Do not include
50856 <kernel-features.h>.
50857 [__ASSUME_O_DIRECTORY]: Make code unconditional.
50858 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
50859 132096]: Remove conditional code.
50860 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
50861 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50862 <kernel-features.h>.
50863 [__ASSUME_32BITUIDS]: Make code unconditional.
50864 [!__ASSUME_32BITUIDS]: Remove conditional code.
50865 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50866 <kernel-features.h>.
50867 [__ASSUME_32BITUIDS]: Make code unconditional.
50868 [!__ASSUME_32BITUIDS]: Remove conditional code.
50869 * sysdeps/unix/sysv/linux/setegid.c: Do not include
50870 <kernel-features.h>.
50871 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
50873 (__setresgid): Do not declare.
50874 [__ASSUME_32BITUIDS]: Make code unconditional.
50875 [!__ASSUME_32BITUIDS]: Remove conditional code.
50876 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
50877 <kernel-features.h>.
50878 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
50880 (__setresuid): Do not declare.
50881 [__ASSUME_32BITUIDS]: Make code unconditional.
50882 [!__ASSUME_32BITUIDS]: Remove conditional code.
50883 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50884 <kernel-features.h>.
50885 [__ASSUME_32BITUIDS]: Make code unconditional.
50886 [!__ASSUME_32BITUIDS]: Remove conditional code.
50887 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
50888 <kernel-features.h>.
50889 [__ASSUME_32BITUIDS]: Make code unconditional.
50890 [!__ASSUME_32BITUIDS]: Remove conditional code.
50892 2012-05-25 Richard Henderson <rth@twiddle.net>
50894 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
50895 dl_hwcap to ifunc resolver.
50896 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
50898 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
50899 dl_hwcap to ifunc resolver.
50900 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
50902 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50905 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
50906 for |x| <= 2**-26, not 2**-57.
50907 * math/libm-test.inc (acos_test): Do not allow spurious underflow
50910 2012-05-24 Jeff Law <law@redhat.com>
50912 * stdio-common/Makefile (tests): Add bug25.
50913 * stdio-common/bug25.c: New test.
50915 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50918 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
50919 multiple of MALLOC_ALIGNMENT in size.
50920 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
50922 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50924 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
50926 (FILENAME_MAX): Use macro-int-constant.
50927 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
50928 (_IOFBF): Use macro-int-constant.
50929 (_IOLBF): Likewise.
50930 (_IONBF): Likewise.
50931 (SEEK_CUR): Likewise.
50932 (SEEK_END): Likewise.
50933 (SEEK_SET): Likewise.
50934 (TMP_MAX): Likewise.
50935 (EOF): Use macro-int-constant. Require < 0.
50936 (NULL): Use macro-constant. Require == 0.
50937 (stdin): Require type to be FILE *.
50938 (stdout): Likewise.
50939 (stderr): Likewise.
50940 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
50941 macro-int-constant.
50942 (EXIT_SUCCESS): Likewise.
50943 (NULL): Use macro-constant. Require == 0.
50944 (RAND_MAX): Use macro-int-constant.
50945 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
50946 [C99-based standards] (strtof): Require function.
50947 [C99-based standards] (strtold): Likewise.
50948 [C99-based standards] (strtoll): Likewise.
50949 [C99-based standards] (strtoull): Likewise.
50950 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50951 [ISO || ISO99 || ISO11] (limits.h): Likewise.
50952 [ISO || ISO99 || ISO11] (math.h): Likewise.
50953 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
50954 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50957 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
50960 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50961 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50962 * intl/dgettext.c (DCGETTEXT): Likewise.
50963 * intl/gettext.c (DCGETTEXT): Likewise.
50964 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50965 * posix/regex_internal.h (gettext): Likewise.
50966 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50967 Remove declaration.
50968 * include/argz.h (__argz_count_internal)
50969 (__argz_stringify_internal): Remove declaration.
50970 (__argz_count, __argz_stringify): Declare hidden proto.
50971 * intl/dcgettext.c: Remove use of INTDEF.
50972 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50973 * string/argz-stringify.c: Likewise.
50974 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50975 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50976 Declare hidden proto.
50977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50979 Declare hidden proto.
50980 * include/stdio.h (__asprintf_internal): Don't declare.
50981 (__asprintf): Don't define as macro. Declare hidden proto.
50982 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50983 (__fsetlocking): Declare hidden proto.
50984 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50985 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50987 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50988 (_IO_setlinebuf): Remove use of INTUSE.
50989 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50990 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50991 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50992 Remove declaration.
50993 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50994 (_IO_do_flush): Remove use of INTUSE.
50995 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50996 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50997 (_IO_adjust_column, _IO_least_wmarker)
50998 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50999 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51000 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51001 (_IO_default_doallocate, _IO_wdefault_doallocate)
51002 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51003 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51004 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51005 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51006 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51007 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51008 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51009 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51010 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51011 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51012 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51013 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51014 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51016 (_IO_flush_all_internal, _IO_adjust_column_internal)
51017 (_IO_default_uflow_internal, _IO_default_finish_internal)
51018 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51019 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51020 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51021 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51022 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51023 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51024 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51025 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51026 (_IO_file_close_internal, _IO_file_close_it_internal)
51027 (_IO_file_underflow_internal, _IO_file_overflow_internal)
51028 (_IO_file_init_internal, _IO_file_attach_internal)
51029 (_IO_file_fopen_internal, _IO_file_read_internal)
51030 (_IO_file_sync_internal, _IO_file_seek_internal)
51031 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51032 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51033 (_IO_str_underflow_internal, _IO_str_overflow_internal)
51034 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51035 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51036 (_IO_list_all_internal, _IO_link_in_internal)
51037 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51038 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51039 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51040 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51041 (_IO_do_write_internal, _IO_padn_internal)
51042 (_IO_getline_info_internal, _IO_getline_internal)
51043 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51044 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51045 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51046 (_IO_vfscanf_internal, _IO_vfprintf_internal)
51047 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51048 (_IO_init_internal, _IO_un_link_internal): Don't declare.
51049 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51050 with libc_hidden_ver, remove use of INTUSE.
51051 * libio/genops.c: Likewise.
51052 * libio/freopen.c: Likewise.
51053 * libio/freopen64.c: Likewise.
51054 * libio/iofclose.c: Likewise.
51055 * libio/iofdopen.c: Likewise.
51056 * libio/iofflush.c: Likewise.
51057 * libio/iofflush_u.c: Likewise.
51058 * libio/iofgets.c: Likewise.
51059 * libio/iofgets_u.c: Likewise.
51060 * libio/iofopen.c: Likewise.
51061 * libio/iofopncook.c: Likewise.
51062 * libio/iofread.c: Likewise.
51063 * libio/iofread_u.c: Likewise.
51064 * libio/ioftell.c: Likewise.
51065 * libio/iofwrite.c: Likewise.
51066 * libio/iogetline.c: Likewise.
51067 * libio/iogets.c: Likewise.
51068 * libio/iogetwline.c: Likewise.
51069 * libio/iopadn.c: Likewise.
51070 * libio/iopopen.c: Likewise.
51071 * libio/ioseekoff.c: Likewise.
51072 * libio/ioseekpos.c: Likewise.
51073 * libio/iosetbuffer.c: Likewise.
51074 * libio/iosetvbuf.c: Likewise.
51075 * libio/ioungetc.c: Likewise.
51076 * libio/ioungetwc.c: Likewise.
51077 * libio/iovdprintf.c: Likewise.
51078 * libio/iovsprintf.c: Likewise.
51079 * libio/iovsscanf.c: Likewise.
51080 * libio/memstream.c: Likewise.
51081 * libio/obprintf.c: Likewise.
51082 * libio/oldfileops.c: Likewise.
51083 * libio/oldiofclose.c: Likewise.
51084 * libio/oldiofdopen.c: Likewise.
51085 * libio/oldiofopen.c: Likewise.
51086 * libio/oldiopopen.c: Likewise.
51087 * libio/oldstdfiles.c: Likewise.
51088 * libio/putc.c: Likewise.
51089 * libio/setbuf.c: Likewise.
51090 * libio/setlinebuf.c: Likewise.
51091 * libio/stdfiles.c: Likewise.
51092 * libio/strops.c: Likewise.
51093 * libio/vasprintf.c: Likewise.
51094 * libio/vscanf.c: Likewise.
51095 * libio/vsnprintf.c: Likewise.
51096 * libio/vswprintf.c: Likewise.
51097 * libio/wfiledoalloc.c: Likewise.
51098 * libio/wfileops.c: Likewise.
51099 * libio/wgenops.c: Likewise.
51100 * libio/wmemstream.c: Likewise.
51101 * libio/wstrops.c: Likewise.
51102 * libio/__fpurge.c: Likewise.
51103 * libio/__fsetlocking.c: Likewise.
51104 * assert/assert.c: Likewise.
51105 * debug/fgets_chk.c: Likewise.
51106 * debug/fgets_u_chk.c: Likewise.
51107 * debug/fread_chk.c: Likewise.
51108 * debug/fread_u_chk.c: Likewise.
51109 * debug/gets_chk.c: Likewise.
51110 * debug/obprintf_chk.c: Likewise.
51111 * debug/vasprintf_chk.c: Likewise.
51112 * debug/vdprintf_chk.c: Likewise.
51113 * debug/vsnprintf_chk.c: Likewise.
51114 * debug/vsprintf_chk.c: Likewise.
51115 * malloc/mtrace.c: Likewise.
51116 * misc/error.c: Likewise.
51117 * misc/syslog.c: Likewise.
51118 * stdio-common/asprintf.c: Likewise.
51119 * stdio-common/fxprintf.c: Likewise.
51120 * stdio-common/getw.c: Likewise.
51121 * stdio-common/isoc99_fscanf.c: Likewise.
51122 * stdio-common/isoc99_scanf.c: Likewise.
51123 * stdio-common/isoc99_vfscanf.c: Likewise.
51124 * stdio-common/isoc99_vscanf.c: Likewise.
51125 * stdio-common/isoc99_vsscanf.c: Likewise.
51126 * stdio-common/printf-prs.c: Likewise.
51127 * stdio-common/printf_fp.c: Likewise.
51128 * stdio-common/printf_fphex.c: Likewise.
51129 * stdio-common/printf_size.c: Likewise.
51130 * stdio-common/putw.c: Likewise.
51131 * stdio-common/scanf.c: Likewise.
51132 * stdio-common/sprintf.c: Likewise.
51133 * stdio-common/tmpfile.c: Likewise.
51134 * stdio-common/vfprintf.c: Likewise.
51135 * stdio-common/vfscanf.c: Likewise.
51136 * stdlib/strfmon_l.c: Likewise.
51137 * sunrpc/openchild.c: Likewise.
51138 * sunrpc/xdr_stdio.c: Likewise.
51139 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51140 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51142 2012-05-24 Roland McGrath <roland@hack.frob.com>
51144 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51146 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51147 in the third column, to generate for the shared library an IFUNC
51148 that uses _dl_vdso_vsym.
51149 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51150 * Makeconfig (object-suffixes-noshared): New variable.
51152 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51153 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51154 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51155 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51158 * include/sys/time.h (__gettimeofday): Remove macro.
51159 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51160 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51162 (__gettimeofday): Add libc_hidden_def.
51163 (gettimeofday): Add libc_hidden_weak.
51164 * sysdeps/mach/gettimeofday.c: Likewise.
51165 * sysdeps/posix/gettimeofday.c: Likewise.
51166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51169 (__gettimeofday_internal): Remove strong_alias.
51170 (__gettimeofday): Add libc_hidden_def.
51171 (gettimeofday): Add libc_hidden_weak.
51172 * sysdeps/unix/syscalls.list (gettimeofday):
51173 Remove __gettimeofday_internal alias.
51175 2012-05-24 Daniel Jacobowitz <drow@false.org>
51176 H.J. Lu <hongjiu.lu@intel.com>
51179 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51180 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51181 (largebin_index_32_big): New.
51182 (largebin_index): Use it for 16-byte alignment.
51183 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51184 correction with front_misalign.
51186 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51214 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51215 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51217 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51221 * math/libm-test.inc (exp_test): Add test from bug 14036.
51222 (pow_test): Add test from bug 10846.
51224 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51226 (special_function): Do not include flags in test name.
51227 (parse_args): Likewise.
51228 * sysdeps/i386/fpu/libm-test-ulps: Update.
51229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51231 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51234 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51236 * math/libm-test.inc ("Philosophy"): Update comment about
51238 (UNDERFLOW_EXCEPTION): New macro.
51239 (UNDERFLOW_EXCEPTION_OK): Likewise.
51240 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51241 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51242 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51243 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51244 (INVALID_EXCEPTION_OK): Update value.
51245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51246 (OVERFLOW_EXCEPTION_OK): Likewise.
51247 (IGNORE_ZERO_INF_SIGN): Likewise.
51248 (test_exceptions): Handle underflow exceptions.
51249 (acos_test): Update for underflow exception expectations.
51250 (cexp_test): Likewise.
51251 (clog_test): Likewise.
51252 (clog10_test): Likewise.
51253 (csqrt_test): Likewise.
51254 (ctan_test): Likewise.
51255 (ctanh_test): Likewise.
51256 (exp_test): Likewise.
51257 (exp10_test): Likewise.
51258 (exp2_test): Likewise.
51259 (expm1_test): Likewise.
51260 (fma_test): Likewise.
51261 (j0_test): Likewise.
51262 (jn_test): Likewise.
51263 (nexttoward_test): Likewise.
51264 (pow_test): Likewise.
51265 (scalbn_test): Likewise.
51266 (scalbln_test): Likewise.
51267 (tan_test): Likewise.
51268 (y1_test): Likewise.
51269 * sysdeps/i386/fpu/libm-test-ulps: Update.
51270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51272 2012-05-23 David S. Miller <davem@davemloft.net>
51274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51275 (__libc_sigaction): Remove unused local variables.
51277 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51279 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51281 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51283 mktime: avoid signed integer overflow
51284 * time/mktime.c (__mktime_internal): Do not mishandle the case
51285 where diff == INT_MIN.
51287 mktime: simplify computation of average
51288 * time/mktime.c (ranged_convert): Use new time_t_avg function
51289 instead of rolling our own (probably-slower) code.
51291 mktime: do not assume signed right shift propagates sign bit
51292 * time/mktime.c (isdst_differ): New static function.
51293 (__mktime_internal): No need to normalize tm_isdst now.
51294 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51297 mktime: merge another wrapv change from gnulib
51298 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51299 from some compilers.
51301 mktime: remove incorrect attempt at unusual arithmetics
51302 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51303 The code didn't really work on such machines anyway.
51304 (TYPE_MINIMUM): Assume two's complement.
51305 (twos_complement_arithmetic): Verify that long_int and time_t
51306 are two's complement (or unsigned, in the latter case).
51308 mktime: check signed shifts on long_int and time_t, too
51309 * time/mktime.c (SHR): Check that shifts work as desired
51310 on the types long_int and time_t too, as SHR is used on
51313 mktime: do not assume 'long' is wide enough
51314 * time/mktime.c (verify): Move decl up.
51315 (long_int): New type.
51316 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51317 to remove assumption in the code that 'long' is wide enough to
51318 store year values. This assumption is not true on x32 and on
51319 some non-glibc platforms.
51321 mktime: merge wrapv change from gnulib
51322 * time/mktime.c (WRAPV): New macro.
51323 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51324 (guess_time_tm, __mktime_internal): Do not assume that signed
51325 integer overflow wraps around; modern compilers generate code
51326 where this assumption is no longer valid.
51328 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51330 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51331 Replace "jmp L(pseudo_end)" with "ret".
51332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51335 2012-05-23 Andreas Jaeger <aj@suse.de>
51337 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51338 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51340 2012-05-23 Andreas Jaeger <aj@suse.de>
51341 Maximilian Attems <max@stro.at>
51343 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51346 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51349 code so that pseudo_end is just ret and the stack pointer is
51350 correct also for static library in error case.
51352 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51354 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51355 move to syscalls.list.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51361 * manual/install.texi (Running make install): Do not mention Linux
51362 kernel version for which pt_chown is not needed.
51363 (Linux): Do not mention problems with nscd with 2.0 kernels.
51364 * INSTALL: Regenerated.
51366 2012-05-23 Andreas Jaeger <aj@suse.de>
51368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51369 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51371 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51372 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51373 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51374 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51375 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51376 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51378 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51380 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51381 * sysdeps/unix/sysv/linux/bits/in.h
51382 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51384 2012-05-22 Roland McGrath <roland@hack.frob.com>
51386 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51387 (PREPARE_VERSION): Just use assert instead, it will be elided
51388 under [NDEBUG] anyway.
51390 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51392 * sysdeps/unix/sysv/linux/Makefile: Include
51393 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51394 (sysdep_routines): Remove sysctl.
51395 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51396 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51397 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51398 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51399 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51401 2012-05-22 Andreas Jaeger <aj@suse.de>
51403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51404 that pseudo_end is just ret and the stack pointer is correct also
51405 for static library in error case.
51407 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51410 * nss/nsswitch.c (defconfig_entries): New variable.
51411 (__nss_database_lookup): Don't leak defconfig entries.
51412 (nss_parse_service_list): Don't leak on error paths.
51413 (free_database_entries): New function.
51414 (free_defconfig): New function.
51415 (free_mem): Move common code to free_database_entries.
51417 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51419 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51421 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51423 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51424 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51427 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51428 (INTERNAL_SYSCALL_TYPES): Likewise.
51429 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51430 (LOAD_REGS_TYPES_[1-6]): Likewise.
51431 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51432 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51434 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51437 copysignl for GLIBC_2_0.
51438 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51439 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51441 logbl for GLIBC_2_0.
51442 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51443 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51445 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51447 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51450 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51453 * time/mktime.c: Update copyright years.
51455 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
51457 mktime: merge comment-quoting-style change from gnulib
51458 * time/mktime.c: Quote 'like this' in comments.
51459 The GNU coding standards suggest that we no longer quote `like this',
51460 as "`" and "'" are typically rendered asymmetrically nowadays.
51461 The typical gnulib style is to quote 'like this' when quoting
51462 code, and "like this" when quoting English.
51464 * time/mktime.c (compile-command): Add "-I.".
51466 mktime: merge mktime-internal.h change from gnulib
51467 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51469 mktime: merge time_r change from gnulib
51470 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51472 mktime: merge DEBUG change from gnulib
51473 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51474 case system <time.h> has a #define.
51476 mktime: merge <sys/types.h> change from gnulib
51477 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51478 since <time.t> is now guaranteed to define time_t.
51480 mktime: merge HAVE_CONFIG_H change from gnulib
51481 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51483 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51490 (struct rusage): Use anonymous union to pad each field to
51493 2012-05-21 David S. Miller <davem@davemloft.net>
51495 * Makefules (o-iterator): Remove .s cases.
51496 (compile-command.s): Delete.
51497 (COMPILE.s): Delete.
51498 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51500 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51502 * configure.in (libc_cv_predef_stack_protector): Only consider
51503 "foobar" and "__stack_chk_fail" lines in libc_undefs.
51504 * configure: Regenerated.
51506 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51509 New macro. Use R*LP on int and pointer.
51510 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51511 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51512 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51513 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51515 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51516 [__WORDSIZE_TIME64_COMPAT32] instead of
51517 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51518 (struct utmp): Likewise.
51519 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51520 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51522 (__WORDSIZE_TIME64_COMPAT32): This.
51523 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51524 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51525 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51526 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51527 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51528 (__WORDSIZE_TIME64_COMPAT32): New macro.
51530 2012-05-21 Andreas Jaeger <aj@suse.de>
51532 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51533 only if [SHARED]. Add prototype for __wcschr_ia32.
51535 2012-05-21 Roland McGrath <roland@hack.frob.com>
51537 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51538 of %rbp unmolested in the jmp_buf while mangling the low bits.
51539 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51540 unmolested high bits of %rbp while demangling the low bits.
51541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51543 2012-05-21 Andreas Jaeger <aj@suse.de>
51545 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51546 * sunrpc/svc_simple.c: Use it for registerrpc.
51547 * sunrpc/xcrypt.c: Use it for passwd2des.
51549 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51551 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51553 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51554 Don't define if [__SYSCALL_WORDSIZE != 32].
51555 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51558 2012-05-21 Bruno Haible <bruno@clisp.org>
51559 Andreas Jaeger <aj@suse.de>
51561 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51562 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51563 inptr and inend for must_buffer_ch.
51564 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51565 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51566 * stdio-common/Makefile (tests): Remove bug15.
51567 (bug15-ENV): Remove macro.
51568 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51571 2012-05-19 Andreas Jaeger <aj@suse.de>
51572 Roland McGrath <roland@hack.frob.com>
51574 * manual/contrib.texi: Completely rewritten. It contains now an
51575 alphabetical list of contributors and their contributions.
51577 2012-05-21 Richard Henderson <rth@twiddle.net>
51579 * misc/getauxval.c (__getauxval): Use unsigned long int.
51580 * misc/sys/auxv.h: Include <sys/cdefs.h>.
51581 (getauxval): Use unsigned long int.
51583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
51585 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51587 2012-05-21 Roland McGrath <roland@hack.frob.com>
51589 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51590 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51591 __alignof__ (long double).
51593 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51597 2012-05-20 Richard Henderson <rth@twiddle.net>
51599 * misc/getauxval.c: New file.
51600 * misc/sys/auxv.h: New file.
51601 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
51602 (routines): Add getauxval.
51603 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
51604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
51605 * elf/dl-sysdep.c (_dl_auxv): Remove.
51606 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
51607 * elf/dl-support.c (_dl_auxv): New variable.
51608 (_dl_aux_init): Initialize it.
51609 * manual/startup.texi (Auxiliary Vector): New node.
51610 * sysdeps/generic/bits/hwcap.h: New file.
51611 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
51612 * sysdeps/powerpc/sysdep.h: ... here. Include it.
51613 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
51614 * sysdeps/sparc/sysdep.h: ... here. Include it.
51615 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
51616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
51617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
51620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
51621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
51622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
51623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
51625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
51626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
51628 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51632 2012-05-19 David S. Miller <davem@davemloft.net>
51634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51636 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51639 * math/s_ccosh.c: Include <float.h>
51640 (__ccosh): Avoid internal overflow calculating sinh and cosh
51641 values before multiplying by sin and cos values.
51642 * math/s_ccoshf.c: Likewise.
51643 * math/s_ccoshl.c: Likewise.
51644 * math/s_csin.c: Likewise.
51645 * math/s_csinf.c: Likewise.
51646 * math/s_csinl.c: Likewise.
51647 * math/s_csinh.c: Likewise.
51648 * math/s_csinhf.c: Likewise.
51649 * math/s_csinhl.c: Likewise.
51650 * math/libm-test.inc (ccos_test): Add more tests.
51651 (ccosh_test): Likewise.
51652 (csin_test): Likewise.
51653 (csinh_test): Likewise.
51654 * sysdeps/i386/fpu/libm-test-ulps: Update.
51655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51657 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
51659 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
51660 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
51662 * sysdeps/x86_64/x32/_itoa.h: Add comment.
51664 2012-05-19 Joseph Myers <joseph@codesourcery.com>
51666 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
51667 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
51668 * sysdeps/powerpc/soft-fp/Versions: Likewise.
51669 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
51670 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
51671 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
51672 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
51673 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
51674 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
51675 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
51676 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
51677 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51678 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
51679 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
51680 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
51681 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
51682 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
51683 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
51684 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
51685 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
51686 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
51687 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
51688 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
51689 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
51690 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
51691 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
51692 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
51693 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
51694 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
51695 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
51696 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
51698 2012-05-18 Andreas Jaeger <aj@suse.de>
51700 * csu/.gitignore: Delete.
51702 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51704 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
51705 (timex): Use __syscall_slong_t.
51707 2012-05-18 Andreas Jaeger <aj@suse.de>
51708 Carlos O'Donell <carlos_odonell@mentor.com>
51710 * manual/install.texi (Configuring and compiling): Update
51711 description about files modified in the source directory.
51712 * INSTALL: Regenerated.
51714 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51716 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
51717 value. Use "or" to set return value to -1.
51718 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
51719 negate return value.
51721 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51723 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
51724 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
51725 failure if the compiler has Graphite support disabled.
51726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
51728 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
51729 (CFLAGS-memmove.c): Likewise.
51730 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
51733 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
51735 * sysdeps/x86_64/x32/_itoa.h: New file.
51737 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
51738 getdents system call only if kernel and user dirents have the
51739 same d_ino and d_off.
51741 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51742 LLONG_MAX != LONG_MAX.
51743 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51744 (_fitoa_word): Likewise.
51746 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
51748 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
51749 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
51750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
51752 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
51753 include <bits/wordsize.h>. Check __x86_64__ instead of
51755 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
51756 if __x86_64__ is defined. Use anonymous union on fpstate.
51758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
51761 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
51763 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
51764 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
51765 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
51766 Refer to _rtld_local_ro instead of _rtld_global_ro.
51767 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
51769 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
51771 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
51773 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
51774 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
51775 of _rtld_global, and rtld_progname instead of _dl_argv[0].
51778 * sysdeps/powerpc/powerpc32/dl-machine.c
51779 (__elf_machine_runtime_setup) [PROF]: Don't reference
51782 2012-05-18 Andreas Jaeger <aj@suse.de>
51784 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
51785 function only available for GCCs before 3.4 since GCC 3.4
51786 introduced a builtin.
51788 (llrintf): Likewise.
51789 (llrint): Likewise.
51796 (nearbyint): Likewise.
51797 (nearbyintf): Likewise.
51801 (floorf): Likewise.
51803 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51805 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
51806 on both fields and cast pointer to __syscall_ulong_t.
51808 * bits/types.h (__fsword_t): New type.
51809 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
51810 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
51811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51812 (__FSWORD_T_TYPE): Likewise.
51813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51814 (__FSWORD_T_TYPE): Likewise.
51815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51816 (__FSWORD_T_TYPE): Likewise.
51817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
51818 (__FSWORD_T_TYPE): Likewise.
51819 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
51820 __SWORD_TYPE with __fsword_t.
51821 (statfs64): Likewise.
51823 2012-05-17 David S. Miller <davem@davemloft.net>
51825 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
51827 2012-05-17 Andreas Jaeger <aj@suse.de>
51829 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
51832 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51834 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
51836 2012-05-17 Andreas Jaeger <aj@suse.de>
51838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
51841 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51843 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
51845 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
51847 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
51848 * sysdeps/x86_64/tst-mallocalign1.c: New file.
51850 2012-05-17 Andreas Jaeger <aj@suse.de>
51851 Carlos O'Donell <carlos_odonell@mentor.com>
51854 * sysdeps/x86_64/multiarch/init-arch.h
51855 (bit_YMM_Usable): Rename to...
51856 (bit_AVX_Usable): ... this.
51857 (bit_FMA4_Usable): New macro.
51858 (bit_XMM_state): New macro.
51859 (bit_YMM_state): New macro.
51860 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
51861 [__ASSEMBLER__] (index_AVX_Usable): ... this.
51862 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
51863 (CPUID_OSXSAVE): New macro.
51864 (CPUID_AVX): New macro.
51865 (CPUID_FMA4): New macro.
51866 (index_YMM_Usable): Rename to...
51867 (index_AVX_Usable): ... this.
51868 (HAS_AVX): Use HAS_ARCH_FEATURE.
51869 (HAS_FMA4): Likewise.
51870 (HAS_YMM_USABLE): Remove.
51871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51872 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
51874 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
51875 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
51876 * sysdeps/x86_64/multiarch/Makefile: Likewise.
51877 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
51878 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
51880 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
51882 * math/libm-test.c: Support platforms without multiple rounding modes.
51883 * math/bug-nextafter.c: Support platforms without FP exceptions.
51884 * math/bug-nexttoward.c: Likewise.
51885 * math/test-fenv.c: Likewise.
51886 * math/test-misc.c: Likewise.
51887 * stdlib/bug-getcontext.c: Likewise.
51889 2012-05-17 Andreas Jaeger <aj@suse.de>
51891 * manual/examples/search.c (critter_cmp): Change signature to
51893 * manual/string.texi (Collation Functions): Likewise.
51895 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51897 * bits/types.h: Fold copyright years.
51898 * bits/typesizes.h: Likewise.
51899 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
51900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
51902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
51903 * time/time.h: Likewise.
51905 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
51908 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
51909 in instead of returning them. Return void.
51910 (__libc_mallinfo): Accumulate over all arenas.
51911 (__malloc_stats): Adjust for change in int_mallinfo interface.
51913 2012-05-16 Roland McGrath <roland@hack.frob.com>
51916 * configure.in (NM): Add AC_CHECK_TOOL for it.
51917 (libc_extra_cflags): New substituted variable.
51918 Check for -fstack-protector being used implicitly.
51919 * configure: Regenerated.
51920 * config.make.in (config-extra-cflags): New variable,
51921 gets @libc_extra_cflags@.
51922 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
51925 * configure.in: Check for _FORTIFY_SOURCE being predefined.
51926 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
51927 * configure: Regenerated.
51928 * config.make.in (CPPUNDEFS): New substituted variable.
51929 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
51930 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
51931 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
51933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51935 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
51936 (mq_attr): Use __syscall_slong_t.
51938 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
51941 Check __x86_64__ instead of __WORDSIZE.
51942 (_STAT_VER_LINUX): Likewise.
51943 (stat): Check __x86_64__ instead of __WORDSIZE. Use
51944 __syscall_ulong_t and __syscall_slong_t.
51945 (stat64): Likewise.
51947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
51951 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51953 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
51955 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51957 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51960 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51961 include <bits/wordsize.h>. Check __x86_64__ instead of
51963 (greg_t): Use "__extension__ long long int" if __x86_64__ is
51965 (mcontext_t): Replace "unsigned long" with "unsigned long long".
51967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51968 include <bits/wordsize.h>. Check __x86_64__ instead of
51970 (user_regs_struct): Use "__extension__ unsigned long long"
51971 instead of "unsigned long" if __x86_64__ is defined.
51972 (user): Likewise. Pad after pointer field if __ILP32__ is
51975 2012-05-16 Joseph Myers <joseph@codesourcery.com>
51977 * configure.in (makeinfo): Require version 4.5 or later. Allow
51979 * configure: Regenerated.
51980 * manual/install.texi (texinfo): Increase version requirement to
51982 * INSTALL: Regenerated.
51984 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
51988 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51990 * sysdeps/x86_64/x32/ffs.c: New file.
51992 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51994 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51995 defined. Use __syscall_ulong_t.
51996 (shminfo): Use __syscall_ulong_t.
51997 (shm_info): Likewise.
51999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52002 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52004 (msgqnum_t): Use __syscall_ulong_t.
52005 (msglen_t): Likewise.
52006 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
52009 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52010 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52012 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52014 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52015 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52017 * sysvipc/sys/msg.h (msgbuf): Replace long int with
52020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52021 include <bits/wordsize.h>. Check __x86_64__ instead of
52024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52025 "unsigned long long int" if __x86_64__ is defined.
52026 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52030 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52032 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52034 (GET_PC): Cast to uintptr_t first.
52035 (GET_FRAME): Likewise.
52036 (GET_STACK): Likewise.
52038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52044 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52045 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52046 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52050 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52055 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52068 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
52070 * Makerules (+depfiles): Also collect depfiles from .oS in
52072 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52073 .oS, $(libnldbl-routines)).
52075 * Makerules (native-compile-mkdep-flags): Define.
52076 * sunrpc/Makefile (extra-objs): Add $(addprefix
52077 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52078 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52079 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52080 calling $(make-target-directory).
52082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52084 * bits/types.h (__snseconds_t): Removed.
52085 * time/time.h (struct timespec): Replace __snseconds_t with
52087 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52088 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52091 (__SNSECONDS_T_TYPE): Likewise.
52092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52093 (__SNSECONDS_T_TYPE): Likewise.
52094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52095 (__SNSECONDS_T_TYPE): Likewise.
52097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52099 * sysdeps/mach/hurd/bits/typesizes.h
52100 (__SYSCALL_SLONG_TYPE): New macro.
52101 (__SYSCALL_ULONG_TYPE): Likewise.
52103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52105 * bits/types.h (__syscall_slong_t): New type.
52106 (__syscall_ulong_t): Likewise.
52108 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52109 (__SYSCALL_ULONG_TYPE): Likewise.
52110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52111 (__SYSCALL_SLONG_TYPE): Likewise.
52112 (__SYSCALL_ULONG_TYPE): Likewise.
52113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52114 (__SYSCALL_SLONG_TYPE): Likewise.
52115 (__SYSCALL_ULONG_TYPE): Likewise.
52116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52117 (__SYSCALL_SLONG_TYPE): Likewise.
52118 (__SYSCALL_ULONG_TYPE): Likewise.
52120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52122 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52123 Add sigaltstack-offsets.sym.
52124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52125 <sigaltstack-offsets.h>.
52126 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52127 longjmp_msg pointer.
52128 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52129 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52131 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52133 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52135 * elf/stackguard-macros.h: Remove file.
52136 * sysdeps/generic/stackguard-macros.h: New file.
52137 * sysdeps/i386/stackguard-macros.h: Likewise.
52138 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52139 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52140 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52141 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52142 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52143 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52144 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52145 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52146 <elf/stackguard-macros.h>.
52149 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52150 __aligned__ in attribute.
52151 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52152 (gregset_t): Likewise.
52154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52156 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52157 * sysdeps/x86_64/64/Implies-after: Here. New file.
52158 * sysdeps/x86_64/x32/Implies-after: New file.
52160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52162 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52163 and access return value for _dl_profile_fixup. Use R10_LP to
52166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52172 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52173 * sysdeps/x86_64/x32/sysdep.h: New file.
52175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52177 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52178 * sysdeps/x86_64/setjmp.S: Likewise.
52180 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52182 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52184 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52186 remove unused global constant.
52188 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52190 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52191 include of <not-cancel.h>.
52193 2012-05-15 Roland McGrath <roland@hack.frob.com>
52195 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52197 2012-05-15 Jeff Law <law@redhat.com>
52198 Andreas Jaeger <aj@suse.de>
52201 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52203 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52204 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52205 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52206 code changing __hst_map_handle.map.
52208 2012-05-15 Roland McGrath <roland@hack.frob.com>
52210 * configure.in (sysnames): Look for Implies-before and Implies-after
52212 * configure: Regenerated.
52214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52216 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52217 8-byte data alignment with LP_SIZE alignment.
52219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52226 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52231 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52238 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52239 (stackinfo_sub_sp): Likewise.
52241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52258 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52262 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52263 into R11_LP and load __x86_64_shared_cache_size_half into
52266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52271 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52279 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52280 powerpc32/power7/fpu/s_logb.c via #include.
52281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52282 powerpc32/power7/fpu/s_logbf.c via #include.
52283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52284 powerpc32/power7/fpu/s_logbl.c via #include.
52286 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52288 * README.libm: Remove file.
52290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52292 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52293 count for x32. Use R*_LP and omit operand-size suffix.
52295 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52297 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52298 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52299 * sysdeps/x86_64/x32/shlib-versions: New file.
52301 2012-05-14 Roland McGrath <roland@hack.frob.com>
52303 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52304 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52305 Use _dl_fatal_printf instead.
52307 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52309 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52310 set if not set by the user. Do not allow for being unset.
52311 * sysdeps/unix/sysv/linux/configure: Regenerated.
52313 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52315 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52316 the `q' suffix from lea and replace .quad with ASM_ADDR.
52318 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52321 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52323 (PTR_DEMANGLE): Likewise.
52325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52327 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52329 (ASM_ADDR): Likewise.
52330 (RAX_LP): Likewise.
52331 (RBP_LP): Likewise.
52332 (RBX_LP): Likewise.
52333 (RCX_LP): Likewise.
52334 (RDI_LP): Likewise.
52335 (RSI_LP): Likewise.
52336 (RSP_LP): Likewise.
52339 (R10_LP): Likewise.
52340 (R10_LP): Likewise.
52341 (R11_LP): Likewise.
52342 (R12_LP): Likewise.
52343 (R13_LP): Likewise.
52344 (R14_LP): Likewise.
52345 (R15_LP): Likewise.
52347 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52349 * sysdeps/x86_64/x32/dl-machine.h: New file.
52351 2012-05-14 Andreas Jaeger <aj@suse.de>
52353 * manual/Makefile (subdir): Remove export of subdir.
52354 (all): Remove target.
52355 (.PHONY): Remove all from list.
52356 (mkinstalldirs): Remove.
52357 (.PHONY): Remove installdirs from list.
52358 ($(inst_infodir)/libc.info): Use make-target-directory.
52359 (installdirs): Remove.
52360 (subdir_%): Remove.
52361 (glibc-targets): Remove.
52364 ($(objpfx)stubs ../po/manual.pot): Remove.
52365 ($(objpfx)stamp%): Remove.
52366 (make-target-directory): Remove.
52367 (subdir_install): Remove.
52368 (routines): Remove.
52375 * manual/.gitignore: Remove, it's not needed anymore.
52376 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52378 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52380 (texis): Renamed to $(objpfx)texis.
52381 (texis-path): New, contains path to generated files.
52382 (chapters.%): Use texis-path for complete path, add extra argument
52384 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52385 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52386 (summary,texi, stamp-summary): Use complete path of
52387 files. Generate files in build dir.
52388 (dir-add.texi): Build in build dir.
52389 (libm-err.texi,stamp-libm-err): Likewise.
52390 (version.texi, stamp-version): Likewise.
52391 (.%c.texi): Likewise.
52392 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52393 (mostlyclean): Remove target.
52394 (realclean): Remove target.
52395 (generated): Add new variable with contents from mostlyclean and
52396 realclean, remove entries duplicated in common-mostlyclean, add
52397 stamp-libm-err and stamp-version.
52398 (generated-dirs): Add libc directory.
52399 ($(inst_infodir)/libc.info): Install files from build dir.
52401 * manual/install.texi (Configuring and compiling): Adjust since
52402 the info files are not part of the tar ball anymore.
52404 2012-05-14 Andreas Jaeger <aj@suse.de>
52406 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52409 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52413 to 2.2.0 where earlier.
52414 * sysdeps/unix/sysv/linux/configure: Regenerated.
52415 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52416 Remove conditional code.
52417 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52418 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52419 Remove conditional code.
52420 [!__NR_lchown]: Likewise.
52421 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52422 [__NR_lchown]: Likewise.
52423 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52424 comment referencing __ASSUME_LCHOWN_SYSCALL.
52425 * sysdeps/unix/sysv/linux/i386/sigaction.c
52426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52428 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52429 Remove conditional code.
52430 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52431 (__protocol_available): Remove #if 0 code.
52432 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52434 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52435 * sysdeps/unix/sysv/linux/kernel-features.h
52436 (__ASSUME_GETCWD_SYSCALL): Don't define.
52437 (__ASSUME_REALTIME_SIGNALS): Likewise.
52438 (__ASSUME_PREAD_SYSCALL): Likewise.
52439 (__ASSUME_PWRITE_SYSCALL): Likewise.
52440 (__ASSUME_POLL_SYSCALL): Likewise.
52441 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52442 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52444 (__ASSUME_SIOCGIFNAME): Don't define.
52445 (__ASSUME_MSG_NOSIGNAL): Likewise.
52446 (__ASSUME_SENDFILE): Define unconditionally.
52447 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52448 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52450 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52451 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52452 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52453 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52454 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52455 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52456 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52481 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52482 Remove conditional code.
52483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52484 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52485 Remove conditional code.
52486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52487 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52488 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52489 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52490 Remove conditional code.
52491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52492 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52493 Remove conditional code.
52494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52495 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52496 Remove conditional code.
52497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52498 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52499 Remove conditional code.
52500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52501 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52502 Remove conditional code.
52503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52504 * sysdeps/unix/sysv/linux/sh/pwrite64.c
52505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52507 * sysdeps/unix/sysv/linux/sigaction.c
52508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52510 * sysdeps/unix/sysv/linux/sigpending.c
52511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52513 * sysdeps/unix/sysv/linux/sigprocmask.c
52514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52516 * sysdeps/unix/sysv/linux/sigsuspend.c
52517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52520 (__libc_missing_rt_sigs): Remove.
52521 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52522 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52523 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52524 Remove conditional code.
52525 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52526 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52528 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52529 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52530 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52533 2012-05-14 Andreas Jaeger <aj@suse.de>
52535 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52536 it's not used in glibc.
52537 (__coshm1): Likewise.
52538 (__acosh1p): Likewise.
52541 * manual/string.texi (Copying and Concatenation): Add missing
52542 variable in concat example.
52543 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52545 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52549 __builtin_clzl with __builtin_clzll.
52551 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52554 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52557 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52559 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52560 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52561 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52564 2012-05-14 Mike Frysinger <vapier@gentoo.org>
52566 * NEWS: Update ia64 info.
52568 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
52570 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52573 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
52575 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52576 * sysdeps/unix/syscalls.list (dup3): Likewise.
52577 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52578 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52580 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52582 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52583 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52585 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
52587 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52589 (TLS_IE): Use mov/add instead of movq/addq to load thread
52591 (TLS_GD_PREFIX): New.
52594 2012-05-11 David S. Miller <davem@davemloft.net>
52596 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52597 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52598 (_FPU_SETCW): Likewise.
52600 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52602 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
52603 is 32-byte aligned.
52605 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
52608 * iconvdata/gb18030.c: Update tables.
52609 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
52610 characters specially.
52611 (BODY for TO_LOOP): Add encoding of missing ranges.
52613 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
52616 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
52617 * sysdeps/mach/hurd/dup3.c: Likewise.
52618 * sysdeps/mach/hurd/readlinkat.c: Likewise.
52619 * sysdeps/powerpc/memmove.c:: Likewise.
52621 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
52624 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
52626 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52628 * elf/elf.h (R_X86_64_RELATIVE64): New.
52629 (R_X86_64_NUM): Updated.
52630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52631 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
52632 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
52633 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
52634 tst-quad1pie tst-quad2pie
52635 (modules-names): Add tst-quadmod1 tst-quadmod2.
52636 ($(objpfx)tst-quad1): New dependency.
52637 ($(objpfx)tst-quad2): Likewise.
52638 ($(objpfx)tst-quad1pie): Likewise.
52639 ($(objpfx)tst-quad2pie): Likewise.
52640 * sysdeps/x86_64/tst-quad1.c: New file.
52641 * sysdeps/x86_64/tst-quad1pie.c: New file.
52642 * sysdeps/x86_64/tst-quad2.c: Likewise.
52643 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
52644 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
52645 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
52646 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
52647 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
52649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52651 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
52652 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
52653 * streams/stropts.h (t_scalar_t): Define type.
52655 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
52656 (_PATH_PRESERVE): Set to "/var/lib".
52657 (_PATH_RWHODIR): Set to "/var/spool/rwho".
52659 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
52662 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
52663 if __dir_mkfile succeeded.
52665 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
52666 checking for _hurd_dtablesize. Unlock it right after having
52667 finished _hurd_dtable allocation.
52669 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52671 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52672 * sysdeps/mach/hurd/configure: Regenerated.
52673 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
52674 special-casing to...
52675 * sysdeps/gnu/configure.in: ... this new file.
52676 * sysdeps/unix/sysv/linux/configure: Regenerated.
52677 * sysdeps/gnu/configure: New generated file.
52679 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
52680 for Linux: use nsec instead of usec, as well as:
52681 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
52682 members of type struct timespec.
52683 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
52685 (struct stat64): Likewise.
52686 (_STATBUF_ST_NSEC): New macro.
52687 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
52689 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52690 __strtoul_internal rather than strtoul.
52692 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52694 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
52697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52699 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
52700 which preserves existing values.
52701 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
52703 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52705 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
52706 TIMEOUT values. Return EINVAL for NFDS values either negative or
52707 greater than FD_SETSIZE.
52709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52711 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
52712 allocated, call __vm_protect to finish enabling the existing space, and
52713 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
52714 allocate the remainder.
52716 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52718 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
52719 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52723 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
52724 sysdeps/mach/hurd/readlink.c.
52726 * posix/tst-sysconf.c (posix_options): Only use
52727 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
52728 _POSIX_SYNCHRONIZED_IO when they are defined
52729 * sysdeps/mach/hurd/bits/posix_opt.h:
52730 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
52731 (_XOPEN_REALTIME): Undefine macro.
52732 (_XOPEN_REALTIME_THREADS): Undefine macro.
52733 (_XOPEN_SHM): Undefine macro.
52734 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
52736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
52738 (_POSIX_ASYNC_IO): Undefine macro.
52739 (_POSIX_PRIORITIZED_IO): Undefine macro.
52740 (_POSIX_SPIN_LOCKS): Define macro to -1.
52742 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
52743 SA_NODEFER, SA_RESETHAND.
52744 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
52745 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
52748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52750 * elf/Makefile (pldd-modules): Define unconditionally.
52752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52754 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
52756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52758 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
52759 Return ENOENT when name is empty.
52760 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
52762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52764 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
52766 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
52768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52770 Fix mlock in all cases except non-readable pages.
52771 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52772 instead of VM_PROT_ALL as parameter to __vm_wire function.
52774 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
52775 (__mkdir): When path is `/', just fail with EEXIST.
52776 * sysdeps/mach/hurd/mkdirat.c: Likewise.
52778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52780 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
52781 <sys/uio.h> (for writev).
52782 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
52783 and <sys/param.h> (for MIN).
52785 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
52787 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
52788 REQUESTED_TIME. Properly set the remaining time and return EINTR
52791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52793 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
52794 Depend on against $(link-rpcuserlibs).
52796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52798 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
52799 (__libc_stack_end): Do not use attribute_relro.
52800 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
52801 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
52802 to libthread-provided value.
52803 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
52806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52809 * bits/libc-lock.h (__libc_once_get): New macro.
52810 * sysdeps/mach/bits/libc-lock.h: Likewise.
52811 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
52812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
52813 instead of using implementation details.
52815 * libio/fileops.c: Unconditionally include <kernel-features.h>.
52816 * libio/freopen.c: Likewise.
52817 * libio/freopen64.c: Likewise.
52818 * misc/syslog.c: Likewise.
52819 * nscd/connections.c: Likewise.
52820 * nscd/netgroupcache.c: Likewise.
52821 * sysdeps/posix/getcwd.c: Likewise.
52823 2012-05-10 Roland McGrath <roland@hack.frob.com>
52825 * math/w_ilogbf.c: Add #include <limits.h>.
52827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52829 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
52830 path instead of returning without unlocking.
52832 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
52833 immediate-write ioctls.
52834 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
52836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52838 * sysdeps/mach/hurd/i386/init-first.c (init): Use
52839 __builtin_frame_address instead of making assumptions about the
52840 location of the return address relative to DATA. Force early load of
52841 the return address.
52842 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
52843 __builtin_frame_address.
52846 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
52847 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
52848 implement dup3 and do some further code clean-ups.
52849 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
52850 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
52852 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52854 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
52856 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
52857 HURD_CRITICAL_END around holding _hurd_dtable_lock.
52858 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
52859 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
52860 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
52863 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
52864 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
52865 when handler == SIG_ERR, not when handler != SIG_ERR.
52867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52869 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
52870 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
52873 accept4 for GNU Hurd.
52874 * include/sys/socket.h (__libc_accept4): New prototype.
52875 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
52876 to implement __libc_accept4.
52877 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
52879 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
52881 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
52882 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
52883 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
52884 signal-defines.sym.
52886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52888 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
52890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
52892 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
52893 assertion on O_CLOEXEC flag.
52894 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
52895 * hurd/intern-fd.c: Likewise.
52896 * hurd/port2fd.c: Likewise.
52898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
52901 * bits/in.h (IPV6_PKTINFO): Define new macro.
52902 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
52904 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
52910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52911 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52914 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52915 * math/libm-test.inc (logb_test) : Additional logb tests.
52917 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
52918 Andreas Jaeger <aj@suse.de>
52920 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
52921 * configure: Regenerated.
52922 * config.h.in (LINK_OBSOLETE_RPC): New macro.
52923 * config.make.in (link-obsolete-rpc): New substituted variable.
52924 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
52925 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
52926 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52927 (shared-only-routines): Don't set it under [link-obsolete-rpc],
52928 so that libc.a contains the symbols.
52929 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
52930 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
52931 * sunrpc/auth_none.c: Likewise.
52932 * sunrpc/auth_unix.c: Likewise.
52933 * sunrpc/authdes_prot.c: Likewise.
52934 * sunrpc/authuxprot.c: Likewise.
52935 * sunrpc/clnt_gen.c: Likewise.
52936 * sunrpc/clnt_perr.c: Likewise.
52937 * sunrpc/clnt_raw.c: Likewise.
52938 * sunrpc/clnt_simp.c: Likewise.
52939 * sunrpc/clnt_tcp.c: Likewise.
52940 * sunrpc/clnt_udp.c: Likewise.
52941 * sunrpc/clnt_unix.c: Likewise.
52942 * sunrpc/des_crypt.c: Likewise.
52943 * sunrpc/des_soft.c: Likewise.
52944 * sunrpc/get_myaddr.c: Likewise.
52945 * sunrpc/key_call.c: Likewise.
52946 * sunrpc/key_prot.c: Likewise.
52947 * sunrpc/netname.c: Likewise.
52948 * sunrpc/pm_getmaps.c: Likewise.
52949 * sunrpc/pm_getport.c: Likewise.
52950 * sunrpc/pmap_clnt.c: Likewise.
52951 * sunrpc/pmap_prot.c: Likewise.
52952 * sunrpc/pmap_prot2.c: Likewise.
52953 * sunrpc/pmap_rmt.c: Likewise.
52954 * sunrpc/publickey.c: Likewise.
52955 * sunrpc/rpc_cmsg.c: Likewise.
52956 * sunrpc/rpc_common.c: Likewise.
52957 * sunrpc/rpc_dtable.c: Likewise.
52958 * sunrpc/rpc_prot.c: Likewise.
52959 * sunrpc/rpc_thread.c: Likewise.
52960 * sunrpc/rtime.c: Likewise.
52961 * sunrpc/svc.c: Likewise.
52962 * sunrpc/svc_auth.c: Likewise.
52963 * sunrpc/svc_raw.c: Likewise.
52964 * sunrpc/svc_run.c: Likewise.
52965 * sunrpc/svc_tcp.c: Likewise.
52966 * sunrpc/svc_udp.c: Likewise.
52967 * sunrpc/svc_unix.c: Likewise.
52968 * sunrpc/svcauth_des.c: Likewise.
52969 * sunrpc/xcrypt.c: Likewise.
52970 * sunrpc/xdr.c: Likewise.
52971 * sunrpc/xdr_array.c: Likewise.
52972 * sunrpc/xdr_float.c: Likewise.
52973 * sunrpc/xdr_intXX_t.c: Likewise.
52974 * sunrpc/xdr_mem.c: Likewise.
52975 * sunrpc/xdr_rec.c: Likewise.
52976 * sunrpc/xdr_ref.c: Likewise.
52977 * sunrpc/xdr_sizeof.c: Likewise.
52978 * sunrpc/xdr_stdio.c: Likewise.
52980 2012-05-10 Roland McGrath <roland@hack.frob.com>
52982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52983 change. Update copyright years.
52985 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52987 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52989 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
52990 Joseph Myers <joseph@codesourcery.com>
52991 Paul Pluzhnikov <ppluzhnikov@google.com>
52994 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52996 [cross-compiling] (extra-libs): Likewise.
52997 [cross-compiling] (extra-libs-others): Likewise.
52998 [cross-compiling] (librpcsvc-routines): Likewise.
52999 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53000 [cross-compiling] (omit-deps): Likewise.
53001 (sunrpc-CPPFLAGS): New variable.
53002 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53003 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53004 (cross-rpcgen-objs): New variable.
53005 (extra-objs): Append $(cross-rpcgen-objs).
53006 ($(cross-rpcgen-objs)): New rule.
53007 ($(objpfx)cross-rpcgen): Likewise.
53008 (rpcgen-cmd): Define to use $(built-program-file). Expand
53010 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53011 ($(objpfx)x%.stmp): Likewise.
53012 * sunrpc/proto.h [IS_IN_build] (_): Define.
53013 [IS_IN_build] (_libc_intl_domainname): Likewise.
53015 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53018 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53019 and R_X86_64_TPOFF64.
53021 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53023 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53024 sysdeps/unix/sysv/syscalls.list.
53027 * sysdeps/unix/sysv/syscalls.list: Remove file.
53029 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
53032 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53033 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53034 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53035 (__LC_IDENTIFICATION): Make these macros useful in #if
53036 expressions, as required by C99.
53038 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
53040 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53041 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
53044 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
53046 * stdlib/longlong.h: Updated from GCC.
53048 2012-05-09 Andreas Jaeger <aj@suse.de>
53050 * nscd/nscd.c (run_modes): Make named enum, reorder so that
53051 default is first entry.
53052 (run_mode): Set type.
53053 (main): Remove informal message about syslog.
53054 (options): Fix typo.
53057 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53060 (llrintf): Likewise.
53061 (llrint): Likewise.
53064 (nearbyint): Likewise.
53065 (nearbyintf): Likewise.
53067 2012-05-09 Andreas Jaeger <aj@suse.de>
53068 Pedro Alves <palves@redhat.com>
53070 * nscd/nscd.c (run_mode): Use enum.
53071 (main): Cleanup coding style issue.
53073 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
53074 Andreas Jaeger <aj@suse.de>
53076 * nscd/nscd.c (go_background): Replaced with...
53077 (run_mode): ... this.
53078 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53079 (options): Add -F --foreground.
53080 (main): Implement it.
53081 (parse_opt): Parse it.
53083 2012-05-09 Andreas Jaeger <aj@suse.de>
53086 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53087 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53088 -Wconversion warning.
53089 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53092 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53094 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53096 (LC_ALL): Use macro-int-constant.
53097 (LC_COLLATE): Likewise.
53098 (LC_CTYPE): Likewise.
53099 (LC_MESSAGES): Likewise.
53100 (LC_MONETARY): Likewise.
53101 (LC_NUMERIC): Likewise.
53102 (LC_TIME): Likewise.
53103 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53104 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53106 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53108 [C99-based standards] (float_t): Expect type.
53109 [C99-based standards] (double_t): Expect type.
53110 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53112 [C99-based standards] (HUGE_VALL): Likewise.
53113 [C99-based standards] (INFINITY): Likewise.
53114 [C99-based standards] (NAN): Likewise.
53115 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53116 [C99-based standards] (FP_NAN): Likewise.
53117 [C99-based standards] (FP_NORMAL): Likewise.
53118 [C99-based standards] (FP_SUBNORMAL): Likewise.
53119 [C99-based standards] (FP_ZERO): Likewise.
53120 [C99-based standards] (FP_FAST_FMA): Use
53121 optional-macro-int-constant. Specify type. Require == 1.
53122 [C99-based standards] (FP_FAST_FMAF): Likewise.
53123 [C99-based standards] (FP_FAST_FMAL): Likewise.
53124 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53125 [C99-based standards] (FP_ILOGBNAN): Likewise.
53126 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53128 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53129 [C99-based standards] (math_errhandling): Specify type.
53130 [ISO99 || ISO11] (signgam): Do not allow.
53131 [non-C99-based standards] (copysignf): Do not allow.
53132 [non-C99-based standards] (exp2f): Likewise.
53133 [non-C99-based standards] (log2f): Likewise.
53134 [non-C99-based standards] (modff): Allow.
53135 [non-C99-based standards] (erff): Do not allow.
53136 [non-C99-based standards] (erfcf): Likewise.
53137 [non-C99-based standards] (gammaf): Likewise.
53138 [non-C99-based standards] (hypotf): Likewise.
53139 [non-C99-based standards] (j0f): Likewise.
53140 [non-C99-based standards] (j1f): Likewise.
53141 [non-C99-based standards] (jnf): Likewise.
53142 [non-C99-based standards] (lgammaf): Likewise.
53143 [non-C99-based standards] (tgammaf): Likewise.
53144 [non-C99-based standards] (y0f): Likewise.
53145 [non-C99-based standards] (y1f): Likewise.
53146 [non-C99-based standards] (ynf): Likewise.
53147 [non-C99-based standards] (isnanf): Likewise.
53148 [non-C99-based standards] (acoshf): Likewise.
53149 [non-C99-based standards] (asinhf): Likewise.
53150 [non-C99-based standards] (atanhf): Likewise.
53151 [non-C99-based standards] (cbrtf): Likewise.
53152 [non-C99-based standards] (expm1f): Likewise.
53153 [non-C99-based standards] (ilogbf): Likewise.
53154 [non-C99-based standards] (log1pf): Likewise.
53155 [non-C99-based standards] (logbf): Likewise.
53156 [non-C99-based standards] (nextafterf): Likewise.
53157 [non-C99-based standards] (remainderf): Likewise.
53158 [non-C99-based standards] (rintf): Likewise.
53159 [non-C99-based standards] (scalbf): Likewise.
53160 [non-C99-based standards] (copysignl): Likewise.
53161 [non-C99-based standards] (exp2l): Likewise.
53162 [non-C99-based standards] (log2l): Likewise.
53163 [non-C99-based standards] (modfl): Allow.
53164 [non-C99-based standards] (erfl): Do not allow.
53165 [non-C99-based standards] (erfcl): Likewise.
53166 [non-C99-based standards] (gammal): Likewise.
53167 [non-C99-based standards] (hypotl): Likewise.
53168 [non-C99-based standards] (j0l): Likewise.
53169 [non-C99-based standards] (j1l): Likewise.
53170 [non-C99-based standards] (jnl): Likewise.
53171 [non-C99-based standards] (lgammal): Likewise.
53172 [non-C99-based standards] (tgammal): Likewise.
53173 [non-C99-based standards] (y0l): Likewise.
53174 [non-C99-based standards] (y1l): Likewise.
53175 [non-C99-based standards] (ynl): Likewise.
53176 [non-C99-based standards] (isnanl): Likewise.
53177 [non-C99-based standards] (acoshl): Likewise.
53178 [non-C99-based standards] (asinhl): Likewise.
53179 [non-C99-based standards] (atanhl): Likewise.
53180 [non-C99-based standards] (cbrtl): Likewise.
53181 [non-C99-based standards] (expm1l): Likewise.
53182 [non-C99-based standards] (ilogbl): Likewise.
53183 [non-C99-based standards] (log1pl): Likewise.
53184 [non-C99-based standards] (logbl): Likewise.
53185 [non-C99-based standards] (nextafterl): Likewise.
53186 [non-C99-based standards] (remainderl): Likewise.
53187 [non-C99-based standards] (rintl): Likewise.
53188 [non-C99-based standards] (scalbl): Likewise.
53189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53190 [non-C99-based standards] (FP_*): Do not allow.
53191 [C99-based standards] (FP_*): Change to
53192 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53193 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53195 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53196 (SIG_ERR): Likewise.
53197 [X/Open-based standards] (SIG_HOLD): Likewise.
53198 (SIG_IGN): Likewise.
53199 (SIGABRT): Use macro-int-constant. Specify type. Require
53201 (SIGFPE): Likewise.
53202 (SIGILL): Likewise.
53203 (SIGINT): Likewise.
53204 (SIGSEGV): Likewise.
53205 (SIGTER): Likewise.
53206 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53207 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53208 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53209 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53210 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53211 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53212 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53213 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53214 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53215 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53216 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53217 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53218 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53219 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53220 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53221 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53222 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53223 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53224 [X/Open-based standards] (SIGTRAP): Likewise.
53225 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53226 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53227 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53228 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53229 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53232 2012-05-08 Ian Wienand <ianw@vmware.com>
53235 * time/tzset.c (__tzset_parse_tz): Update default rules for
53236 daylight time changes in the Energy Policy Act of 2005.
53238 2012-05-09 Andreas Jaeger <aj@suse.de>
53241 * elf/ldconfig.c (parse_conf): Change string to make clear that
53242 ldconfig only issued a warning if ld.so.conf does not exist.
53244 2012-05-08 David S. Miller <davem@davemloft.net>
53246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53247 movxtod instead of popping the value on the stack.
53249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53251 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53253 * config.h.in: Add HAVE_ARM_PCS_VFP.
53255 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53258 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53259 checking but the checks are disabled for any reason.
53261 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53263 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53264 and ELF64_R_TYPE with ELFW(R_TYPE).
53266 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53268 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53269 (ulimit): Likewise.
53271 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53272 (settimeofday): Likewise.
53274 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53276 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53277 a struct th_u2 inside the union, and move tu_block/tu_code into
53278 a new th_u3 union of tu_block/tu_code inside of that. Move
53279 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53280 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53281 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53282 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53283 (th_stuff): Change to th_u1.tu_stuff.
53285 (th_msg): Change to th_u1.th_u2.tu_data.
53287 2012-05-07 David S. Miller <davem@davemloft.net>
53289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53292 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53293 (SETUP_PIC_REG): Use it.
53294 (SETUP_PIC_REG_LEAF): Use it.
53296 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53302 (EXPL_FINITE): Likewise.
53303 (FLDLOG): Likewise.
53304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53305 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53309 (EXPL_FINITE): Likewise.
53310 (FLDLOG): Likewise.
53311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53312 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53314 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53315 test of -max_value argument for long double.
53316 * sysdeps/i386/fpu/libm-test-ulps: Update.
53317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53319 2012-05-06 David S. Miller <davem@davemloft.net>
53321 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53322 quad soft-float symbols whose references which are compiler
53324 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53326 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53330 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53332 (EXPL_FINITE): Likewise.
53333 (FLDLOG): Likewise.
53336 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53337 Adjust comments for base varying.
53338 (__expl_finite): Change alias to EXPL_FINITE.
53339 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53341 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53342 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53343 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53344 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53347 (EXPL_FINITE): Likewise.
53348 (FLDLOG): Likewise.
53351 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53352 Adjust comments for base varying.
53353 (__expl_finite): Change alias to EXPL_FINITE.
53354 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53359 * math/libm-test.inc (check_float_internal): Correct ulp
53360 calculation for subnormal expected results.
53362 2012-05-06 Andreas Jaeger <aj@suse.de>
53364 * Makeconfig (+math-flags): New, set to -frounding-math.
53365 (+cflags): Add +math-flags so that all of glibc gets compiled with
53368 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53370 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53372 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53378 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53379 (__ieee754_expl): Allow for and saturate large arguments.
53380 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53381 (u_threshold): Likewise.
53382 (__exp): Call __ieee754_exp before checking for overflow and
53384 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53385 (u_threshold): Likewise.
53386 (__expf): Call __ieee754_expf before checking for overflow and
53388 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53389 (u_threshold): Likewise.
53390 (__expl): Call __ieee754_expl before checking for overflow and
53392 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53393 (__ieee754_expl): Allow for and saturate large arguments.
53394 * math/libm-test.inc (exp_test): Add another test. Do not allow
53395 missing overflow exception on overflow.
53396 (expm1_test): Do not allow missing overflow exception on overflow.
53398 * sysdeps/i386/fpu/e_expl.c: Move to ...
53399 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53400 rather than using inline asm.
53401 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53402 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53403 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53405 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53408 (signal): Likewise.
53412 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53414 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53415 sysdeps/unix/common/syscalls.list.
53416 (fchmod): Likewise.
53417 (fchown): Likewise.
53418 (ftruncate): Likewise.
53419 (getrusage): Likewise.
53420 (gettimeofday): Likewise.
53421 (setpgid): Likewise.
53422 (setregid): Likewise.
53423 (setreuid): Likewise.
53424 (sigaction): Likewise.
53425 (truncate): Likewise.
53426 (vhangup): Likewise.
53427 * sysdeps/unix/common/syscalls.list: Remove file.
53428 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53429 * sysdeps/unix/sysv/linux/Implies: Likewise.
53431 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53439 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53442 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53445 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53457 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53465 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53468 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53476 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53478 * sysdeps/unix/common/bits/dirent.h: Remove file.
53479 * sysdeps/unix/common/bits/fcntl.h: Likewise.
53481 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53482 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53483 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53484 * sysdeps/unix/bsd/isatty.c: Likewise.
53485 * sysdeps/unix/bsd/tcdrain.c: Likewise.
53486 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53487 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53489 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53493 long double comparison inaccuracies.
53494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53497 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
53499 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53502 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53506 nonzero digits before rounding a hex value.
53507 * stdlib/tst-strtod.c (tests): Add another test.
53509 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53511 * sysdeps/s390/fpu/libm-test-ulps: Update.
53513 2012-05-03 Andreas Jaeger <aj@suse.de>
53515 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53516 does not get optimized out.
53517 (malloc_opt_barrier): New.
53519 2012-05-03 Andreas Jaeger <aj@suse.de>
53520 Roland McGrath <roland@hack.frob.com>
53522 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53523 intermediate file deletion.
53524 (generated): Add .symlist files.
53526 2012-05-03 Joseph Myers <joseph@codesourcery.com>
53529 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53530 Redirect under this condition.
53531 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53532 [__USE_GNU] (__dprintf_chk): Not under this condition.
53533 [__USE_GNU] (__vdprintf_chk): Likewise.
53534 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53535 under this condition.
53536 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53537 [__USE_XOPEN2K8] (dprintf): Define under this condition.
53538 [__USE_XOPEN2K8] (vdprintf): Likewise.
53539 [__USE_GNU] (__dprintf_chk): Not under this condition.
53540 [__USE_GNU] (__vdprintf_chk): Likewise.
53541 [__USE_GNU] (dprintf): Likewise.
53542 [__USE_GNU] (vdprintf): Likewise.
53544 2012-05-03 Roland McGrath <roland@hack.frob.com>
53546 * elf/Makefile (common-generated): Set this instead of generated for
53547 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
53548 $(all-built-dso)-derived lists.
53550 2012-05-03 Andreas Jaeger <aj@suse.de>
53552 * sysdeps/i386/fpu/libm-test-ulps: Update.
53555 * FAQ.in: Likewise.
53556 * scripts/gen-FAQ.pl: Likewise.
53557 * manual/install.texi (Installation): Point to online location of
53559 * Makefile (files-for-dist): Remove FAQ.
53562 2012-05-02 Allan McRae <allan@archlinux.org>
53564 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53565 (LDFLAGS-reldepmod5.so): Likewise.
53566 (LDFLAGS-reldep6mod1.so): Likewise.
53567 (LDFLAGS-reldep6mod4.so): Likewise.
53568 (LDFLAGS-reldep8mod3.so): Likewise.
53569 (LDFLAGS-unload4mod1.so): Likewise.
53570 (LDFLAGS-unload4mod2.so): Likewise.
53571 (LDFLAGS-tst-initorder): Likewise.
53572 (LDFLAGS-tst-initordera2.so): Likewise.
53573 (LDFLAGS-tst-initordera3.so): Likewise.
53574 (LDFLAGS-tst-initordera4.so): Likewise.
53575 (LDFLAGS-tst-initorderb2.so): Likewise.
53576 (LDFLAGS-noload): Likewise.
53577 (LDFLAGS-next): Likewise.
53578 (LDFLAGS-order2mod1.so): Likewise.
53579 (LDFLAGS-order2mod2.so): Likewise.
53580 (LDFLAGS-tst-initorder2): Likewise.
53581 (LDFLAGS-tst-initorder2a.so): Likewise.
53582 (LDFLAGS-tst-initorder2b.so): Likewise.
53583 (LDFLAGS-tst-initorder2c.so): Likewise.
53584 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53586 2012-05-02 David S. Miller <davem@davemloft.net>
53588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53590 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
53593 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53595 2012-05-02 Andreas Jaeger <aj@suse.de>
53597 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53598 since we manipulate rounding mode.
53599 (CPPFLAGS-test-idouble.c): Likewise.
53600 (CPPFLAGS-test-ifloat.c): Likewise.
53601 (CFLAGS-test-ldouble.c): Likewise.
53602 (CFLAGS-test-double.c): Likewise.
53603 (CFLAGS-test-float.c): Likewise.
53604 (CFLAGS-test-misc.c): Likewise.
53605 (CFLAGS-test-test-fenv.c): Likewise.
53607 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
53612 comparisons to determine direction to adjust input.
53614 2012-05-01 Roland McGrath <roland@hack.frob.com>
53616 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
53617 output to the target.
53619 * scripts/localplt.awk: New file.
53620 * elf/Makefile ($(objpfx)check-localplt): Target removed.
53621 (check-localplt-CFLAGS): Variable removed.
53622 ($(all-built-dso:=.jmprel)): New static pattern rule.
53623 (generated): Add those targets.
53624 (localplt-built-dso): New variable.
53625 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
53627 * elf/check-localplt.c: File removed.
53629 * scripts/check-execstack.awk: New file.
53630 * elf/Makefile ($(objpfx)check-execstack): Target removed.
53631 (check-execstack-CFLAGS): Variable removed.
53632 ($(objpfx)check-execstack.h): Target removed.
53633 ($(objpfx)execstack-default): New target.
53634 (generated): Add that instead of check-execstack.h.
53635 ($(all-built-dso:=.phdr)): New static pattern rule.
53636 (generated): Add those targets.
53637 * elf/check-execstack.c: File removed.
53639 * scripts/check-textrel.awk: New file.
53640 * elf/Makefile ($(objpfx)check-textrel): Target removed.
53641 (check-textrel-CFLAGS): Variable removed.
53642 (all-built-dso): Use := to define.o
53643 ($(all-built-dso:=.dyn)): New static pattern rule.
53644 (generated): Add those targets.
53645 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
53646 * config.make.in (READELF): New substituted variable.
53647 * elf/check-textrel.c: File removed.
53649 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53651 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53653 * conform/data/ctype.h-data [C99-based standards] (isblank):
53655 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
53656 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
53657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53658 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
53659 Specify type. Require positive value.
53660 (EILSEQ): Likewise.
53661 (ERANGE): Likewise.
53662 [ISO || POSIX] (EILSEQ): Do not expect.
53663 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
53664 Specify type. Require positive value.
53665 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
53666 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
53667 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
53668 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
53669 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
53670 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
53671 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
53672 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
53673 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
53674 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
53675 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
53676 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
53677 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
53678 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
53679 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
53680 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
53681 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
53682 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
53683 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
53684 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
53685 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
53686 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
53687 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
53688 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
53689 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
53690 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
53691 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
53692 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
53693 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
53694 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
53695 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
53696 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
53697 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
53698 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
53699 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
53700 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53701 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
53702 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
53703 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
53704 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
53705 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
53706 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
53707 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
53708 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
53709 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
53710 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
53711 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
53712 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
53713 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
53714 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
53715 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
53716 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
53717 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
53718 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
53719 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
53720 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
53721 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
53722 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
53723 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
53724 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
53725 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
53726 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
53727 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
53728 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
53729 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
53730 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
53731 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
53732 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
53733 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
53734 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
53735 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
53736 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
53737 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
53738 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
53739 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
53740 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
53741 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
53743 (FLT_ROUNDS): Expect as macro, not constant.
53744 (FLT_MANT_DIG): Use macro-int-constant.
53745 (DBL_MANT_DIG): Likewise.
53746 (LDBL_MANT_DIG): Likewise.
53747 (FLT_DIG): Likewise.
53748 (DBL_DIG): Likewise.
53749 (LDBL_DIG): Likewise.
53750 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
53751 (DBL_MIN_EXP): Likewise.
53752 (LDBL_MIN_EXP): Likewise.
53753 (FLT_MAX_EXP): Use macro-int-constant.
53754 (DBL_MAX_EXP): Likewise.
53755 (LDBL_MAX_EXP): Likewise.
53756 (FLT_MAX_10_EXP): Likewise.
53757 (DBL_MAX_10_EXP): Likewise.
53758 (LDBL_MAX_10_EXP): Likewise.
53759 (FLT_MAX): Use macro-constant.
53760 (DBL_MAX): Likewise.
53761 (LDBL_MAX): Likewise.
53762 (FLT_EPSILON): Use macro-constant. Give upper bound.
53763 (DBL_EPSILON): Likewise.
53764 (LDBL_EPSILON): Likewise.
53765 (FLT_MIN): Likewise.
53766 (DBL_MIN): Likewise.
53767 (LDBL_MIN): Likewise.
53768 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
53769 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
53770 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
53771 [ISO11] (FLT_HAS_SUBNORM): Likewise.
53772 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
53773 [ISO11] (DBL_DECIMAL_DIG): Likewise.
53774 [ISO11] (FLT_DECIMAL_DIG): Likewise.
53775 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
53776 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
53777 [ISO11] (FLT_TRUE_MIN): Likewise.
53778 [ISO11] (LDBL_TRUE_MIN): Likewise.
53779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53780 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
53781 (SCHAR_MIN): Use macro-int-constant. Specify type.
53782 (SCHAR_MAX): Likewise.
53783 (UCHAR_MAX): Likewise.
53784 (CHAR_MIN): Likewise.
53785 (CHAR_MAX): Likewise.
53786 (MB_LEN_MAX): Use macro-int-constant.
53787 (SHRT_MIN): Use macro-int-constant. Specify type.
53788 (SHRT_MAX): Likewise.
53789 (USHRT_MAX): Likewise.
53790 (INT_MAX): Likewise.
53791 (INT_MIN): Use macro-int-constant. Specify type. Make upper
53793 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
53795 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53797 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
53798 bound negative. Suffix upper bound with "L".
53799 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
53801 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
53803 [C99-based standards] (LLONG_MAX): Likewise.
53804 [C99-based standards] (ULLONG_MAX): Likewise.
53805 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
53807 [ISO11] (max_align_t): Require type.
53808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53810 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
53811 from $CFLAGS, without defining away __attribute__ calls.
53812 (checknamespace): Use $CFLAGS_namespace.
53814 * conform/conformtest.pl (@keywords): Only include C99 keywords
53815 for standards based on C99 or C11.
53817 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
53819 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
53822 * conform/conformtest.pl: Handle "macro-int-constant" and test for
53823 usability of symbols in #if.
53825 * conform/conformtest.pl: If macro or constant types start
53826 "promoted:", expect the symbol to be of the following type
53827 promoted by the integer promotions.
53829 * conform/conformtest.pl: Parse all "constant" and "macro" lines
53830 in one place. Also handle "macro-constant".
53832 * conform/conformtest.pl: Only accept expected macro values with
53833 "==". Parse all "macro" lines in one place.
53834 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
53836 * conform/conformtest.pl: Handle braced types on "constant" lines
53837 instead of handling "typed-constant".
53838 * conform/data/signal.h-data: Use "constant" instead of
53841 * conform/conformtest.pl: Handle "optional-" at start of lines in
53842 one place rather than duplicating several cases. Handle each
53843 format of "macro" line with initial "optional-".
53845 * conform/conformtest.pl: Only accept expected constant or
53846 optional-constant values with "==". Parse all "constant" lines in
53847 one place. Parse all "optional-constant" lines in one place.
53848 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
53849 * conform/data/fmtmsg.h-data: Likewise.
53850 * conform/data/netinet/in.h-data: Likewise.
53851 * conform/data/tar.h-data: Likewise.
53852 * conform/data/limits.h-data: Use "==" form on "constant" and
53853 "optional-constant" lines.
53855 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
53856 Use -std=c99 for XOPEN2K.
53857 (@knownproblems): Remove.
53858 (newtoken): Don't check %isknown.
53860 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
53861 Do not expect macro.
53862 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
53863 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
53864 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
53865 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
53866 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
53867 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
53868 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
53869 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
53870 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
53871 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53872 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
53873 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
53874 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
53875 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
53876 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
53877 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
53878 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
53879 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
53880 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
53881 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
53882 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
53883 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
53884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
53885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
53886 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
53887 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
53888 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
53889 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
53890 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
53891 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
53892 [XPG3] (acosh): Likewise.
53893 [XPG3] (asinh): Likewise.
53894 [XPG3] (atanh): Likewise.
53895 [XPG3] (cbrt): Likewise.
53896 [XPG3] (expm1): Likewise.
53897 [XPG3] (ilogb): Likewise.
53898 [XPG3] (log1p): Likewise.
53899 [XPG3] (logb): Likewise.
53900 [XPG3] (nextafter): Likewise.
53901 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
53902 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
53903 [XPG3] (remainder): Likewise.
53904 [XPG3] (rint): Likewise.
53905 [XPG3 || XPG4 || UNIX98] (round): Likewise.
53906 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
53907 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
53908 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
53909 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
53910 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
53911 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
53912 [UNIX98 || XOPEN2K] (scalb): Expect.
53913 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
53914 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
53915 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
53916 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
53917 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
53918 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
53919 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
53920 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
53921 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
53922 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
53923 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
53924 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
53925 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
53926 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
53927 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
53928 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
53929 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
53930 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
53931 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
53932 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
53933 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
53934 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
53935 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
53936 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
53937 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
53938 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
53939 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
53940 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
53941 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
53942 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
53943 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
53944 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
53945 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
53946 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
53947 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
53948 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
53949 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
53950 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
53951 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
53952 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
53953 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
53954 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
53955 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53956 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53957 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53958 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53959 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53960 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53961 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53962 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53963 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53964 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53965 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53966 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53967 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53968 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53969 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53970 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53971 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53972 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53973 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53974 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53975 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53976 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53977 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53978 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53979 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53980 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53981 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53982 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53983 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53984 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53985 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53986 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53987 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53988 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53989 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53990 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53991 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53992 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53993 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53994 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53995 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53996 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53997 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53998 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53999 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54000 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54001 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54002 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54003 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54004 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54005 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54006 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54007 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54008 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54009 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54010 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54011 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54012 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54013 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54014 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54015 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54016 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54017 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54018 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54019 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54020 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54021 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54022 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54023 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54024 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54025 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54026 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54027 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54028 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54029 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54030 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54031 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54032 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54033 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54034 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54035 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54036 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54037 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54038 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54039 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54040 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54041 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54042 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54043 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54044 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54045 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54046 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54047 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54048 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54049 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54051 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54052 _XOPEN_SOURCE_EXTENDED for XPG4.
54054 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54056 * Makeconfig (localtime): Remove variable.
54057 (inst_localtime-file): Likewise.
54059 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54080 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54084 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54085 comparisons to determine direction to adjust input.
54086 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54087 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54094 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54095 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54097 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54099 * math/libm-test.inc (nexttoward_test): Add more tests.
54101 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54105 in version GLIBC_2.1, not GLIBC_2.0.
54106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54109 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54112 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54115 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54116 * math/libm-test.inc (acos_test): Add more tests.
54117 (asin_test): Likewise.
54118 * sysdeps/i386/fpu/libm-test-ulps: Update.
54119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54122 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54124 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54126 * math/libm-test.inc (acos_test_tonearest): New function.
54127 (acos_test_towardzero): Likewise.
54128 (acos_test_downward): Likewise.
54129 (acos_test_upward): Likewise.
54130 (asin_test_tonearest): Likewise.
54131 (asin_test_towardzero): Likewise.
54132 (asin_test_downward): Likewise.
54133 (asin_test_upward): Likewise.
54134 (main): Call the new functions.
54135 * sysdeps/i386/fpu/libm-test-ulps: Update.
54136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54140 * math/e_exp10.c: Include <float.h>.
54141 (__ieee754_exp10): Handle underflow here rather than multiplying
54142 large negative argument by M_LN10.
54143 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54145 * math/e_exp10l.c: Include <float.h>.
54146 (__ieee754_exp10l): Handle underflow here rather than multiplying
54147 large negative argument by M_LN10l.
54148 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54149 spurious overflow exception on underflow.
54151 2012-04-29 Marek Polacek <polacek@redhat.com>
54153 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54154 (__fortify_function): New macro.
54155 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54156 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54157 __extern_always_inline.
54158 * libio/bits/stdio2.h: Likewise.
54159 * libio/bits/stdio.h: Likewise.
54160 * string/string.h: Likewise.
54161 * string/bits/string3.h: Likewise.
54162 * include/stdio.h: Likewise.
54163 * stdlib/bits/stdlib.h: Likewise.
54164 * stdlib/stdlib.h: Likewise.
54165 * rt/bits/mqueue2.h: Likewise.
54166 * rt/mqueue.h: Likewise.
54167 * posix/bits/unistd.h: Likewise.
54168 * posix/unistd.h: Likewise.
54169 * io/bits/poll2.h: Likewise.
54170 * io/bits/fcntl2.h: Likewise.
54171 * io/fcntl.h: Likewise.
54172 * io/sys/poll.h: Likewise.
54173 * misc/bits/syslog.h: Likewise.
54174 * misc/bits/syslog-ldbl.h: Likewise.
54175 * misc/sys/syslog.h: Likewise.
54176 * socket/bits/socket2.h: Likewise.
54177 * socket/sys/socket.h: Likewise.
54178 * debug/tst-chk1.c: Likewise.
54179 * wcsmbs/bits/wchar2.h: Likewise.
54180 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54181 * wcsmbs/wchar.h: Likewise.
54183 2012-04-29 Andreas Jaeger <aj@suse.de>
54185 * Makerules (tests): Remove enable-check-abi protection.
54186 (check-abi-warn): Remove.
54187 (check-abi-%): Remove check-abi-warn usage.
54189 * configure.in: Remove check-abi configure option.
54190 * configure: Regenerated.
54191 * config.make.in (enable-check-abi): Remove.
54193 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54196 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54197 double functions to double *_finite functions.
54200 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54201 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54203 * stdio-common/Makefile (tests): Add tst-sprintf3.
54204 * stdio-common/tst-sprintf3.c: New file.
54206 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54207 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54209 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54211 * conform/conformtest.pl: Remove duplicate typed-constant
54214 2012-04-28 David S. Miller <davem@davemloft.net>
54216 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54217 (check-abi-%): Remove AWK script prerequisite and explicit
54219 (check-abi): Rewrite to just diff the symlist with the abilist.
54220 (config-tls, config-abi-config): Delete, no longer used.
54221 (update-abi-%): Remove AWK script and explicit abilist directory.
54222 (update-abi): Rewrite to simply compare and conditionally copy the
54223 symlist and the sysdep abilist file. Remove update-abi-config
54225 * abilist/ld.abilist: Remove.
54226 * abilist/libBrokenLocale.abilist: Remove.
54227 * abilist/libanl.abilist: Remove.
54228 * abilist/libcrypt.abilist: Remove.
54229 * abilist/libdl.abilist: Remove.
54230 * abilist/librt.abilist: Remove.
54231 * abilist/libthread_db.abilist: Remove.
54232 * abilist/libutil.abilist: Remove.
54233 * scripts/extract-abilist.awk: Remove.
54234 * scripts/merge-abilist.awk: Remove.
54235 * sysdeps/generic/libcidn.abilist: New file.
54236 * sysdeps/generic/libnss_compat.abilist: New file.
54237 * sysdeps/generic/libnss_db.abilist: New file.
54238 * sysdeps/generic/libnss_dns.abilist: New file.
54239 * sysdeps/generic/libnss_files.abilist: New file.
54240 * sysdeps/generic/libnss_hesiod.abilist: New file.
54241 * sysdeps/generic/libnss_nis.abilist: New file.
54242 * sysdeps/generic/libnss_nisplus.abilist: New file.
54243 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54245 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54249 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54250 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54251 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54252 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54253 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54254 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54255 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54257 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54258 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54259 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54260 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54262 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54263 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54264 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54265 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54267 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54269 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54270 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54273 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54377 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54378 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54381 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54382 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54383 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54384 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54385 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54386 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54387 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54388 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54389 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54441 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54443 * conform/conformtest.pl: Fix typo in handling typed-constant from
54446 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54448 * README: Cut down references to pre-2.6 Linux kernels and
54449 Linuxthreads. Update lists of configurations in libc and ports
54450 and sort alphabetically. Say "or newer" with Linux kernel version
54453 * config.h.in [IS_IN_build]: Allow compiling without optimization.
54455 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54458 * math/libm-test.inc (logb_test_downward): New test to expose
54459 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54462 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54465 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54467 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54468 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54470 2012-04-26 Joseph Myers <joseph@codesourcery.com>
54472 * sysdeps/unix/i386/brk.S: Remove file.
54473 * sysdeps/unix/i386/dl-brk.S: Likewise.
54474 * sysdeps/unix/i386/pipe.S: Likewise.
54475 * sysdeps/unix/i386/sigreturn.S: Likewise.
54476 * sysdeps/unix/i386/syscall.S: Likewise.
54477 * sysdeps/unix/i386/vfork.S: Likewise.
54478 * sysdeps/unix/i386/wait.S: Likewise.
54480 * sysdeps/unix/common/tcsendbrk.c: Move to ...
54481 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54483 * configure.in (arm*-none*): Do not allow without
54484 --enable-hacker-mode.
54485 (netbsd*): Remove case setting base_os.
54486 (386bsd*): Likewise.
54487 (freebsd*): Likewise.
54490 (sunos*): Likewise.
54491 (ultrix*): Likewise.
54492 (newsos*): Likewise.
54493 (dynix*): Likewise.
54499 (minix*): Likewise.
54500 (irix4*): Likewise.
54501 (irix6*): Likewise.
54502 (solaris[2-9]*): Likewise.
54504 * configure: Regenerated.
54506 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54509 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54510 overflow or cancellation in calculating denominator.
54511 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54512 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54513 down expression to avoid unexpected rounding in newer GCCs.
54514 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54516 2012-04-26 David S. Miller <davem@davemloft.net>
54518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54519 long-double compat symbols.
54520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54534 2012-04-25 David S. Miller <davem@davemloft.net>
54536 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54537 HWCAP_* values only after the memory barriers have been defined.
54538 (atomic_full_barrier): Define.
54539 (atomic_read_barrier): Define.
54540 (atomic_write_barrier): Define.
54542 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54544 * shlib-versions: Add libgcc_s version information.
54545 * sysdeps/generic/libgcc_s.h: Remove.
54546 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54548 * sysdeps/gnu/unwind-resume.c: Likewise.
54549 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54551 2012-04-25 David S. Miller <davem@davemloft.net>
54553 * sysdeps/unix/sparc/brk.S: Delete.
54554 * sysdeps/unix/sparc/dl-brk.S: Delete.
54555 * sysdeps/unix/sparc/pipe.S: Delete.
54556 * sysdeps/unix/sparc/sysdep.S: Delete.
54557 * sysdeps/unix/sparc/sysdep.h: Delete.
54558 * sysdeps/unix/sparc/vfork.S: Delete.
54559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54560 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54562 (ret_ERRVAL, r0, r1, MOVE): Define.
54563 (JUMPTARGET): Remove.
54564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54565 sysdeps/unix/sparc/sysdep.h
54566 (ENTRY, END): Remove.
54567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54569 2012-04-25 Joseph Myers <joseph@codesourcery.com>
54571 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54572 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54575 * timezone/README: Update upstream location and email address for
54577 * timezone/zdump.c: Update from tzcode 2012b.
54578 * timezone/zic.c: Likewise.
54580 * configure.in (libc_cv_as_needed): Remove test.
54581 * configure: Regenerated.
54582 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54583 conditional definition.
54584 [$(have-as-needed) != yes] (no-as-needed): Likewise.
54585 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54586 * config.make.in (have-as-needed): Remove variable.
54588 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54589 Paul Pluzhnikov <ppluzhnikov@google.com>
54591 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54594 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
54596 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54597 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54598 * sysdeps/sh/strlen.S: Likewise.
54600 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54602 * sysdeps/unix/fork.S: Remove file.
54603 * sysdeps/unix/i386/fork.S: Likewise.
54604 * sysdeps/unix/sparc/fork.S: Likewise.
54606 * sysdeps/unix/system.c: Remove file.
54607 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
54609 * sysdeps/unix/getegid.S: Remove file.
54610 * sysdeps/unix/geteuid.S: Likewise.
54612 2012-04-24 Roland McGrath <roland@hack.frob.com>
54614 * scripts/check-localplt.awk: New file.
54615 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
54617 * scripts/data/localplt-generic.data: Add a comment.
54619 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
54620 NODE when __dir_mkfile failed.
54621 * sysdeps/mach/hurd/symlinkat.c: Likewise.
54622 Reported by Ludovic Courtès <ludo@gnu.org>.
54624 2012-04-24 Andreas Jaeger <aj@suse.de>
54626 * Makerules (common-clean): Also remove gen-as-const-headers
54629 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54631 * Makerules (native-compile): Do not change working directory for
54632 build. Use $(OUTPUT_OPTION) in command.
54633 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
54635 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54638 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
54639 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
54640 * math/libm-test.inc (floor_test): Add more tests.
54641 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
54643 2012-04-24 Joseph Myers <joseph@codesourcery.com>
54645 * sysdeps/unix/getdents.c: Remove file.
54646 * sysdeps/unix/sysv/getdents.c: Likewise.
54647 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
54649 * sysdeps/unix/syscalls.list (madvise): Add syscall from
54650 sysdeps/unix/mman/syscalls.list.
54652 (mprotect): Likewise.
54654 (munmap): Likewise.
54655 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
54656 * sysdeps/unix/mman/syscalls.list: Remove.
54657 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
54659 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
54660 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
54661 * configure: Regenerated.
54662 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
54663 $(libgcc_s_suffix).
54664 * config.make.in (libgcc_s_suffix): Remove variable.
54666 2012-04-23 Joseph Myers <joseph@codesourcery.com>
54668 * sysdeps/unix/sysv/gethostname.c: Move to ...
54669 * sysdeps/posix/gethostname.c: ... here.
54671 * sysdeps/unix/execve.S: Remove file.
54673 * sysdeps/unix/_exit.S: Remove file.
54675 2012-04-23 Andreas Jaeger <aj@suse.de>
54678 * manual/Makefile: Remove make dist support, there's no
54679 need for a stand-alone documentation tar ball.
54680 (TEXI2DVI): Define always, it's not in Makeconfig.
54683 (edition): Removed.
54684 (glibc-doc-$(edition).tar): Removed
54688 (ETAGS): Remove, it's in Makeconfig.
54689 (move-if-change): Remove, it's in Makeconfig.
54691 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
54694 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
54695 (strtod, strtof, strtold, strtol, strtoul, strtoq)
54696 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
54697 (strtod_l, strtof_l, strtold_l): Remove __wur.
54698 It is not necessarily an error to ignore strtol's return value.
54699 One can reliably look at the stored endptr to decide whether
54700 the number had valid syntax.
54702 2012-04-21 Andreas Jaeger <aj@suse.de>
54705 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
54707 2012-04-21 Joseph Myers <joseph@codesourcery.com>
54709 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
54710 * sysdeps/unix/sysv/Versions: Remove file.
54712 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
54715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54717 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
54720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
54721 version from __vm86.
54723 2012-04-20 Joseph Myers <joseph@codesourcery.com>
54725 * sysdeps/unix/common/lxstat.c: Remove file.
54726 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
54728 * sysdeps/unix/sysv/Makefile: Remove file.
54730 * sysdeps/unix/sysv/direct.h: Remove file.
54732 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
54733 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
54734 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
54735 * sysdeps/unix/sysv/bits/signum.h: Likewise.
54736 * sysdeps/unix/sysv/bits/stat.h: Likewise.
54737 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
54738 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
54740 * sysdeps/unix/sysv/setrlimit.c: Remove file.
54742 * sysdeps/unix/xmknod.c: Remove file.
54743 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
54745 * sysdeps/unix/sysv/settimeofday.c: Remove file.
54747 * sysdeps/unix/sysv/i386/time.S: Remove file.
54749 * sysdeps/unix/fxstat.c: Remove file.
54750 * sysdeps/unix/xstat.c: Likewise.
54751 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
54753 * sysdeps/unix/sysv/sigaction.c: Remove file.
54755 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
54756 (sysdep_headers): Remove variable.
54757 [termio.h not in sysdep_headers] (generated): Likewise.
54758 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
54759 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
54760 * sysdeps/unix/sysv/tcdrain.c: Likewise.
54761 * sysdeps/unix/sysv/tcflow.c: Likewise.
54762 * sysdeps/unix/sysv/tcflush.c: Likewise.
54763 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
54764 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54765 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
54766 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
54767 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
54769 * sysdeps/unix/siglist.c: Remove file.
54771 * sysdeps/unix/getppid.S: Remove file.
54773 * sysdeps/unix/mkdir.c: Remove file.
54774 * sysdeps/unix/rmdir.c: Likewise.
54776 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
54778 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
54780 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
54781 errlist-compat value.
54783 2012-04-18 David S. Miller <davem@davemloft.net>
54785 * sysdeps/generic/memcopy.h (reg_char): Delete.
54786 * debug/strcat_chk.c: Use char, not reg_char.
54787 * debug/strcpy_chk.c: Likewise.
54788 * debug/strncat_chk.c: Likewise.
54789 * debug/strncpy_chk.c: Likewise.
54790 * string/memchr.c: Likewise.
54791 * string/memrchr.c: Likewise.
54792 * string/rawmemchr.c: Likewise.
54793 * string/strcat.c: Likewise.
54794 * string/strchr.c: Likewise.
54795 * string/strchrnul.c: Likewise.
54796 * string/strcmp.c: Likewise.
54797 * string/strcpy.c: Likewise.
54798 * string/strncat.c: Likewise.
54799 * string/strncmp.c: Likewise.
54800 * string/strncpy.c: Likewise.
54802 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54804 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
54805 __builtin_memcopy is called when src and dest ranges are known to not
54808 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54810 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
54811 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
54812 fwd_align_merge macro call.
54813 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
54814 bwd_align_merge macro call.
54815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54817 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
54819 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54820 bwd_align_merge macros.
54821 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
54822 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
54823 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54825 2012-04-18 David S. Miller <davem@davemloft.net>
54827 * sysdeps/sparc/sparc64/memcopy.h: Delete.
54829 2012-04-18 Andreas Jaeger <aj@suse.de>
54832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
54833 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
54834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
54837 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
54838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54840 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
54841 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
54842 Adjust for changed ldbl-128 files.
54844 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
54845 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
54846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
54848 2012-04-17 David S. Miller <davem@davemloft.net>
54850 * sysdeps/sparc/sparc32/memcopy.h: Delete.
54852 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
54854 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
54855 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
54856 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
54857 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
54858 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54859 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
54861 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54864 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
54865 * math/libm-test.inc: Add ilogb errno and exception tests.
54866 * math/w_ilogb.c: New file: ilogb wrapper.
54867 * math/w_ilogbf.c: New file: ilogbf wrapper.
54868 * math/w_ilogbl.c: New file: ilogbl wrapper.
54869 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54870 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
54871 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
54872 exception being thrown with 0.0 as argument.
54873 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
54874 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
54875 exception being thrown with 0.0 as argument.
54876 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
54877 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54878 exception being thrown with 0.0 as argument.
54879 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
54880 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
54881 exception being thrown with 0.0 as argument.
54882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
54883 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
54884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
54885 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
54886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
54887 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
54888 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
54889 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
54890 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
54892 2012-04-17 Petr Baudis <pasky@ucw.cz>
54894 * include/sys/uio.h: Change __vector to __iovec to avoid clash
54897 2012-04-16 Marek Polacek <polacek@redhat.com>
54899 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
54901 2012-04-16 Marek Polacek <polacek@redhat.com>
54903 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
54904 operands of fdivp instruction.
54906 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54908 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
54909 * elf/tst-auditmod3b.c: Likewise.
54910 * elf/tst-auditmod4b.c: Likewise.
54911 * elf/tst-auditmod5b.c: Likewise.
54912 * elf/tst-auditmod6b.c: Likewise.
54913 * elf/tst-auditmod6c.c: Likewise.
54914 * elf/tst-auditmod7b.c: Likewise.
54915 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
54916 * sysdeps/x86_64/preconfigure.in: Likewise.
54917 * sysdeps/x86_64/preconfigure: Regenerated.
54919 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
54921 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
54924 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
54926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54927 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
54929 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
54932 * locale/iso-639.def: Fix gl language name. Spotted by
54935 2012-04-12 Roland McGrath <roland@hack.frob.com>
54938 * libio/libio.h (__io_write_fn): Update comment.
54940 2012-04-12 Petr Baudis <pasky@ucw.cz>
54943 * stdio.texi (Hook Functions): The user provided writer function
54944 is not allowed to return -1.
54946 2012-04-11 David S. Miller <davem@davemloft.net>
54948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54950 2012-04-11 Mike Frysinger <vapier@gentoo.org>
54952 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
54953 Add a leading slash to rtkaio.
54955 2012-04-11 Jim Meyering <meyering@redhat.com>
54958 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54959 It is not necessarily an error to ignore fwrite's return
54960 value. One can reliably use ferror to test for errors after
54963 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54965 * bits/types.h (__snseconds_t): New type.
54966 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54968 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54970 (__SNSECONDS_T_TYPE): Likewise.
54971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54972 (__SNSECONDS_T_TYPE): Likewise.
54973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54974 (__SNSECONDS_T_TYPE): Likewise.
54976 2012-04-10 Andreas Jaeger <aj@suse.de>
54979 * manual/time.texi (Processor Time): Return type of times is
54980 elapsed real time since an arbitrary point in the past.
54981 (CPU Time): Move CLK_TCK from here...
54982 (Processor Time): ...to here. Correct description.
54983 * manual/conf.texi (Constants for Sysconf): Correct description of
54986 2012-04-10 David S. Miller <davem@davemloft.net>
54989 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54990 where the is a gap between DT_REL(A) and DT_JMPREL.
54992 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
54994 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54995 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54996 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54998 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55000 * elf/dl-support.c (_dl_inhibit_cache): New variable.
55001 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55002 (dl_main): Handle --inhibit-cache.
55003 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55005 * elf/dl-load.c (_dl_map_object): Use it.
55006 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55008 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55011 * sysdeps/i386/fpu/e_powl.S (p78): New object.
55012 (__ieee754_powl): Saturate large exponents rather than testing for
55013 overflow of y*log2(x).
55014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55015 * math/libm-test.inc (pow_test): Do not permit spurious overflow
55019 * math/s_ctan.c: Include <float.h>.
55020 (__ctan): Avoid internal overflow or cancellation in calculating
55022 * math/s_ctanf.c: Likewise.
55023 * math/s_ctanl.c: Likewise.
55024 * math/s_ctanh.c: Likewise.
55025 * math/s_ctanhf.c: Likewise.
55026 * math/s_ctanhl.c: Likewise.
55027 * math/libm-test.inc (ctan_test): Add more tests.
55028 (ctanh_test): Likewise.
55029 * sysdeps/i386/fpu/libm-test-ulps: Update.
55030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55032 2012-04-09 Andreas Jaeger <aj@suse.de>
55035 * manual/filesys.texi (Directory Entries): Mention that d_namlen
55036 is an optional BSD extension.
55039 * manual/stdio.texi (Opening Streams): Document additional fopen
55042 2012-04-09 Roland McGrath <roland@hack.frob.com>
55044 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55045 %eax without telling the compiler.
55047 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
55050 * manual/install.texi: Use sourceware.org.
55052 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55055 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55056 (__ieee754_pow): Generate overflow and underflow using huge*huge
55057 and tiny*tiny rather than just returning constant infinity or zero
55058 for large exponents.
55059 * math/libm-test.inc (pow_test): Require overflow exceptions for
55060 applicable cases of large exponents.
55063 * sysdeps/i386/fpu/e_pow.S (p10): New object.
55064 (__ieee754_pow): Use iterative multiplication algorithm only for
55065 integer exponents with absolute value below 1024. Check for odd
55066 integer exponents when using algorithm for real exponents.
55067 * math/libm-test.inc (pow_test): Add more tests.
55068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55070 2012-04-08 Joseph Myers <joseph@codesourcery.com>
55073 * math/libm-test.inc (exp_test): Do not allow overflow exception
55076 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55079 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55080 instead of __kernel_standard_f.
55082 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55084 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55085 * sysdeps/x86_64/memset_chk.S: Likewise.
55087 2012-04-08 Andreas Jaeger <aj@suse.de>
55090 * manual/startup.texi (Environment Access): Describe return value
55091 for putenv and setenv.
55094 * manual/filesys.texi (Directory Entries): Add description for
55098 * manual/filesys.texi (Directory Entries): Clarify that it's file
55099 system not operating system in the description of DT_UNKNOWN.
55102 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55104 2012-04-08 Stephen Compall <s11@member.fsf.org>
55107 * manual/llio.texi (Opening and Closing Files): Add cross
55108 reference to explain mode argument.
55110 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55112 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55113 * sysdeps/x86_64/memset_chk.S: Likewise.
55115 2012-04-07 David S. Miller <davem@davemloft.net>
55117 * elf/elf.h (R_SPARC_WDISP10): Define.
55118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55121 R_SPARC_SIZE64 and R_SPARC_H34.
55123 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55126 conditions and remove no longer applicable assertion.
55128 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55130 * bits/byteswap.h: Include <features.h>.
55131 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55132 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55134 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55136 * bits/byteswap.h (__bswap_16): Removed.
55137 Include <bits/byteswap-16.h> to get __bswap_16.
55138 * sysdeps/i386/bits/byteswap.h: Likewise.
55139 * sysdeps/s390/bits/byteswap.h: Likewise.
55140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55141 * bits/byteswap-16.h: New file.
55142 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55143 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55144 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55145 * string/Makefile (headers): Add bits/byteswap-16.h.
55147 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55150 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55152 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55153 * nss/tst-nss-static.c: New.
55155 2012-04-06 Robert Millan <rmh@gnu.org>
55158 * manual/llio.texi (File Position Primitive): lseek
55159 refers to WHENCE when it really means OFFSET.
55161 2012-04-06 Andreas Jaeger <aj@suse.de>
55163 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55164 strncmp declarations.
55166 * abilist/libc.abilist: Add __poll and __ppoll.
55168 2012-04-05 David S. Miller <davem@davemloft.net>
55170 * scripts/check-local-headers.sh: Accept a host triplet in the
55171 path matched by the exclude regexp.
55173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55175 * sysdeps/powerpc/powerpc32/dl-machine.h
55176 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55177 * sysdeps/s390/s390-32/dl-machine.h
55178 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55179 * sysdeps/sparc/sparc32/dl-machine.h
55180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55181 * sysdeps/sparc/sparc64/dl-machine.h
55182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55184 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55186 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55187 undefined symbol errors.
55189 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55192 2012-04-05 Michael Matz <matz@suse.de>
55195 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55197 2012-04-05 Andreas Jaeger <aj@suse.de>
55200 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55205 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55206 which ROUND is no valid rounding mode.
55208 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55210 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55212 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55217 an exception using FPU order intentionally.
55219 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55221 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55222 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55223 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55224 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55226 2012-04-05 Simon Josefsson <simon@josefsson.org>
55229 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55230 EINVAL when BUFLEN is too smal.
55232 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55235 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55236 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55238 2012-04-03 Andreas Jaeger <aj@suse.de>
55241 * manual/setjmp.texi (System V contexts): Fix sentence.
55244 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55245 New macro for this case.
55246 [!__GNUC__] (__bswap_64): New inline function for this case.
55247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55248 * bits/byteswap.h: Likewise.
55249 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55250 ull, guard with __GLIBC_HAVE_LONG_LONG.
55252 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55253 __GLIBC_HAVE_LONG_LONG.
55255 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55256 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55258 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55261 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55262 inptr and inend, rather than using last_ch.
55264 2012-04-02 David S. Miller <davem@davemloft.net>
55266 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55267 * stdio-common/printf-parse.h (read_int): Change return type to
55268 'int', return -1 on INT_MAX overflow.
55269 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55270 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55271 overflows INT_MAX. Check for overflow of in-format-string precision
55272 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55273 SIZE_MAX not INT_MAX for integer overflow test.
55274 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55275 skip the construct in the format string but do not record anything.
55276 * stdio-common/bug22.c: Adjust to test both width/prevision
55277 INT_MAX overflow as well as total length INT_MAX overflow. Check
55278 explicitly for proper errno values.
55280 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55282 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55284 * string/test-strcmp.c [! WIDE]: Likewise.
55285 * time/tst-mktime2.c: Likewise for INT_MAX.
55286 * string/test-string.h: #include <sys/param.h> for MIN.
55288 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55289 * sysdeps/i386/init-first.c (init): Likewise.
55290 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55291 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55292 * sysdeps/sh/init-first.c (init): Likewise.
55294 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55296 * po/ru.po: Update from translation team.
55297 * po/vi.po: Likewise.
55299 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55301 * resolv/nss_dns/dns-host.c: Merge copyright years.
55303 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55306 Optimize memcpy with prefetch if
55307 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55308 src, dst pointers have unequal 16 byte alignments.
55310 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55313 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55314 from a CNAME entry and return the minimum ttl for the query.
55315 (gaih_getanswer_slice): Likewise.
55317 2012-03-30 Jeff Law <law@redhat.com>
55319 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55321 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55322 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55324 * resolv/nss_dns/dns-host.c: Update copyright year.
55326 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55328 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55329 requests to save a system call. Fix check that all bytes are sent.
55331 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55332 comments for sendmmsg.
55334 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55338 with only 1 character between 0x0041 and 0x01b0.
55339 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55340 * wcsmbs/tst-mbsnrtowcs.c: New file.
55342 2012-03-29 David S. Miller <davem@davemloft.net>
55344 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55345 small copies by hand.
55347 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55350 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55351 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55354 2012-03-28 David S. Miller <davem@davemloft.net>
55356 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55357 that branches into memcpy.
55358 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55361 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55364 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55365 implementation too.
55366 * sysdeps/sparc/mempcpy.S: New file.
55368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55369 the IFUNC routine in the libc case.
55370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55372 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55373 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55374 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55375 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55376 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55377 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55378 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55379 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55381 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55382 loop to 256 bytes instead of 64 bytes and fix test signedness.
55384 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55385 * sysdeps/sparc/sparc32/Makefile: rather than here...
55386 * sysdeps/sparc/sparc64/Makefile: and here.
55388 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55390 * malloc/mallocbug.c: Avoid warnings about unused variables.
55392 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55395 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55396 in the right place. Discard and retry query if response is
55397 larger than input buffer size.
55399 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55404 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55405 x for large integer exponent.
55406 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55407 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55408 sign of result as needed afterwards.
55409 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55411 result for underflowing pow the same as for overflow.
55412 (__kernel_standard_l): Handle powl overflow and underflow here
55413 rather than calling __kernel_standard.
55414 * math/libm-test.inc (pow_test): Add more tests.
55429 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55430 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55431 (__kernel_standard_l): New function.
55432 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55434 * math/w_acosl.c (__acosl): Likewise.
55435 * math/w_asinl.c (__asinl): Likewise.
55436 * math/w_atan2l.c (__atan2l): Likewise.
55437 * math/w_atanhl.c (__atanhl): Likewise.
55438 * math/w_coshl.c (__coshl): Likewise.
55439 * math/w_exp10l.c (__exp10l): Likewise.
55440 * math/w_exp2l.c (__exp2l): Likewise.
55441 * math/w_fmodl.c (__fmodl): Likewise.
55442 * math/w_hypotl.c (__hypotl): Likewise.
55443 * math/w_j0l.c (__j0l, __y0l): Likewise.
55444 * math/w_j1l.c (__j1l, __y1l): Likewise.
55445 * math/w_jnl.c (__jnl, __ynl): Likewise.
55446 * math/w_lgammal.c (__lgammal): Likewise.
55447 * math/w_log10l.c (__log10l): Likewise.
55448 * math/w_log2l.c (__log2l): Likewise.
55449 * math/w_logl.c (__logl): Likewise.
55450 * math/w_powl.c (__powl): Likewise.
55451 * math/w_remainderl.c (__remainderl): Likewise.
55452 * math/w_scalbl.c (sysv_scalbl): Likewise.
55453 * math/w_sinhl.c (__sinhl): Likewise.
55454 * math/w_sqrtl.c (__sqrtl): Likewise.
55455 * math/w_tgammal.c (__tgammal): Likewise.
55456 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55457 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55458 * math/libm-test.inc (acos_test): Add more tests.
55459 (acosh_test): Likewise.
55460 (asin_test): Likewise.
55461 (atanh_test): Likewise.
55462 (exp_test): Likewise.
55463 (exp10_test): Likewise.
55464 (exp2_test): Likewise.
55465 (expm1_test): Likewise.
55466 (lgamma_test): Likewise.
55467 (log_test): Likewise.
55468 (log10_test): Likewise.
55469 (log1p_test): Likewise.
55470 (log2_test): Likewise.
55471 (pow_test): Do not allow some spurious overflow exceptions.
55472 (sqrt_test): Add more tests.
55473 (tgamma_test): Likewise.
55474 (y0_test): Likewise.
55475 (y1_test): Likewise.
55476 (yn_test): Likewise.
55478 2012-03-27 Anton Blanchard <anton@samba.org>
55480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55486 2012-03-27 David S. Miller <davem@davemloft.net>
55488 * conform/Makefile: Run run-conformtest.sh using $(BASH).
55490 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55491 have-as-vis3 check.
55493 2012-03-27 Andreas Jaeger <aj@suse.de>
55495 * sysdeps/x86_64/elf/configure.in: Moved to ...
55496 * sysdeps/x86_64/configure.in: ... here.
55497 * sysdeps/x86_64/elf/start.S: Moved to ...
55498 * sysdeps/x86_64/start.S: ... here.
55499 * sysdeps/x86_64/elf/configure: Delete.
55501 * sysdeps/x86_64/configure.in: Merge contents from
55502 sysdeps/i386/configure.in (without i686 check).
55504 * sysdeps/i386/elf/Versions: Merge into ...
55505 * sysdeps/i386/Versions: ... this.
55506 * sysdeps/i386/elf/Versions: Delete file.
55507 * sysdeps/i386/elf/start.S: Moved to ...
55508 * sysdeps/i386/start.S: ...here.
55509 * sysdeps/i386/elf/configure.in: Merge into...
55510 * sysdeps/i386/configure.in: ...here.
55511 * sysdeps/i386/elf/configure.in: Delete file.
55512 * sysdeps/i386/elf/configure: Delete file.
55514 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55515 * debug/backtracesyms.c: ... here.
55516 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55517 * debug/backtracesymsfd.c: ... here.
55518 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55519 * sysdeps/generic/ifunc-sel.h: ... here.
55521 * sysdeps/unix/i386/start.c: Delete file.
55522 * sysdeps/unix/sparc/start.c: Delete file.
55523 * sysdeps/unix/start.c: Delete file.
55525 * sysdeps/sh/elf/configure.in: Moved to ...
55526 * sysdeps/sh/configure.in: ... here.
55527 * sysdeps/sh/elf/start.S: Moved to ...
55528 * sysdeps/sh/start.S: ... here.
55529 * sysdeps/sh/elf/configure: Delete file.
55531 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55532 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55533 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55534 * sysdeps/powerpc/powerpc64/entry.h: ... here.
55535 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55536 * sysdeps/powerpc/powerpc64/start.S: here.
55537 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55538 * sysdeps/powerpc/powerpc64/Makefile: ... this.
55539 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55540 * sysdeps/powerpc/powerpc64/configure.in: ... this.
55541 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55543 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55544 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55545 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55546 * sysdeps/powerpc/powerpc32/start.S: ... here.
55547 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55548 * sysdeps/powerpc/powerpc32/configure.in: ... this.
55549 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55551 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55552 * sysdeps/powerpc/ifunc-sel.h: ... here.
55553 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55554 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55556 * sysdeps/sparc/elf/configure.in: Moved to ...
55557 * sysdeps/sparc/configure.in: ... here.
55558 * sysdeps/sparc/elf/configure: Delete file.
55559 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55560 * sysdeps/sparc/sparc32/start.S: ... here.
55561 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55562 * sysdeps/sparc/sparc64/start.S: ... here.
55563 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55564 * sysdeps/sparc/sparc32/Makefile: ... this.
55565 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55566 * sysdeps/sparc/sparc64/Makefile: ... this.
55568 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55569 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55570 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55571 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55572 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55573 * sysdeps/s390/s390-32/setjmp.S: ... here.
55574 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55575 * sysdeps/s390/s390-32/configure.in: ... here.
55576 * sysdeps/s390/s390-32/elf/configure: Delete file.
55577 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55578 * sysdeps/s390/s390-32/start.S: ... here.
55580 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55581 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55582 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55583 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55584 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55585 * sysdeps/s390/s390-64/setjmp.S: ... here.
55586 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55587 * sysdeps/s390/s390-64/configure.in: ... here
55588 * sysdeps/s390/s390-64/elf/configure: Delete file.
55589 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55590 * sysdeps/s390/s390-64/start.S: ... here.
55591 * sysdeps/s390/s390-64/elf/configure: Delete.
55593 * configure.in: Remove support for elf directories in sysdeps.
55595 * configure: Regenerated.
55596 * sysdeps/i386/configure: Regenerated.
55597 * sysdeps/powerpc/powerpc32/configure: Regenerated.
55598 * sysdeps/powerpc/powerpc64/configure: Regenerated.
55599 * sysdeps/s390/s390-32/configure: Regenerated.
55600 * sysdeps/s390/s390-64/configure: Regenerated.
55601 * sysdeps/sh/configure: Regenerated.
55602 * sysdeps/sparc/configure: Regenerated.
55603 * sysdeps/x86_64/configure: Regenerated.
55605 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
55607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
55610 denormal result into account.
55612 2012-03-25 Roland McGrath <roland@hack.frob.com>
55614 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
55615 Reported by Allan McRae <allan@archlinux.org>.
55617 2012-03-23 Jeff Law <law@redhat.com>
55619 * nss/getnssent.c (__nss_getent): Fix typo.
55621 2012-03-23 David S. Miller <davem@davemloft.net>
55623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55625 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
55627 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
55628 to pad to uint64_t for each field.
55629 (dl_tls_index): Replace unsigned long with uint64_t.
55631 2012-03-23 Daniel Jacobowitz <dmj@google.com>
55632 Paul Pluzhnikov <ppluzhnikov@google.com>
55635 * grp/Makefile (otherlibs): Don't set it.
55636 * inet/Makefile (otherlibs): Likewise.
55637 * login/Makefile (otherlibs): Likewise.
55638 * nscd/Makefile (otherlibs): Likewise.
55639 * posix/Makefile (otherlibs): Likewise.
55640 * pwd/Makefile (otherlibs): Likewise.
55641 * rt/Makefile (otherlibs): Likewise.
55642 * sunrpc/Makefile (otherlibs): Likewise.
55643 * nss/Makefile (otherlibs): Likewise.
55644 Add libnss_files to routines and static-only-routines.
55645 ($(objpfx)getent): Remove rule.
55646 * resolv/Makefile: Add libnss_dns and libresolv to routines and
55647 static-only-routines.
55649 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55652 * math/s_cexp.c: Include <float.h>.
55653 (__cexp): Handle exp result overflowing not necessarily
55654 overflowing both real and imaginary parts of result.
55655 * math/s_cexpf.c: Likewise.
55656 * math/s_cexpl.c: Likewise.
55657 * math/libm-test.inc (cexp_test): Add more tests.
55658 * sysdeps/i386/fpu/libm-test-ulps: Update.
55659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55661 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55663 * include/link.h (ELFW): New macro.
55664 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
55665 Replace ELF64_R_TYPE with ELFW(R_TYPE).
55667 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55669 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
55672 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55674 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
55676 (struct La_x32_retval): Likewise.
55678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
55680 * sysdeps/x86_64/preconfigure.in: New file.
55681 * sysdeps/x86_64/preconfigure: New generated file.
55683 2012-03-22 Joseph Myers <joseph@codesourcery.com>
55686 * math/e_exp2l.c: Include <float.h>.
55687 (__ieee754_exp2l): Handle overflow and underflow cases
55688 separately. Only pass fractional part of argument to
55690 * math/libm-test.inc (exp2_test): Add more tests.
55692 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
55693 negating x to take absolute value.
55694 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
55696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
55699 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
55700 computing low part if x was negated.
55701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55703 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55705 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
55706 la_x32_gnu_pltexit.
55707 (pltexit): Cast int_retval to ptrdiff_t.
55708 * elf/tst-auditmod3b.c: Likewise.
55709 * elf/tst-auditmod4b.c: Likewise.
55710 * elf/tst-auditmod5b.c: Likewise.
55711 * elf/tst-auditmod6b.c: Likewise.
55712 * elf/tst-auditmod6c.c: Likewise.
55713 * elf/tst-auditmod7b.c: Likewise.
55715 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
55716 and x32_gnu_pltexit.
55718 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
55719 __ELF_NATIVE_CLASS.
55720 (La_x32_regs): New macro.
55721 (La_x32_retval): Likewise.
55722 (la_x32_gnu_pltenter): New function prototype.
55723 (la_x32_gnu_pltexit): Likewise.
55725 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
55727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
55730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55732 * configure.in (libc_cv_cc_nofma): Check for option to disable
55733 generation of FMA instructions.
55734 * configure: Regenerate.
55735 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
55736 * sysdeps/ieee754/dbl-64/Makefile: New file.
55737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
55738 Remove brandred-fma4.
55739 (CFLAGS-brandred-fma4.c): Remove.
55740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
55741 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
55743 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
55746 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55749 LLONG_MAX != LONG_MAX.
55750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55751 (_fitoa_word): Likewise.
55752 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
55753 LLONG_MAX != LONG_MAX.
55754 * stdio-common/_itowa.h: Include <_itoa.h>.
55755 (_itowa_word): Use _ITOA_WORD_TYPE on value.
55756 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55757 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
55758 only if not defined.
55759 (_ITOA_WORD_TYPE): Likewise.
55760 (_itoa_word): Use _ITOA_WORD_TYPE on value.
55761 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
55763 2012-03-21 David S. Miller <davem@davemloft.net>
55765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55767 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
55769 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
55770 of x86_64 when setting libc_cv_slibdir, libdir and
55772 * sysdeps/unix/sysv/linux/configure: Regenerated.
55774 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55776 * manual/lang.texi (Old Varargs): Remove section.
55777 (How Variadic): Update menu.
55778 (va_start): Do not mention varargs.h.
55780 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55781 Joseph Myers <joseph@codesourcery.com>
55783 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
55785 * configure: Regenerated.
55787 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
55789 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
55790 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
55793 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55796 * Makefile (files-for-dist): Remove NOTES.
55797 (NOTES): Remove rule.
55798 * README: Don't refer to NOTES.
55799 * manual/creature.texi: Don't include macros.texi.
55800 * manual/intro.texi (creature.texi): Remove comment referring to
55803 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
55804 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
55805 * configure: Regenerated.
55806 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
55807 LIBC_TRY_CC_OPTION.
55808 (libc_cv_as_i686): Likewise.
55809 (libc_cv_cc_avx): Likewise.
55810 (libc_cv_cc_sse2avx): Likewise.
55811 (libc_cv_cc_fma4): Likewise.
55812 (libc_cv_cc_novzeroupper): Likewise.
55813 * sysdeps/i386/configure: Regenerated.
55816 * sysdeps/i386/fpu/s_cexp.S: Remove.
55817 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55818 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55819 * math/libm-test.inc (cexp_test): Add more tests.
55820 * sysdeps/i386/fpu/libm-test-ulps: Update.
55821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55823 2012-03-21 Allan McRae <allan@archlinux.org>
55825 * timezone/Makefile: Do not install iso3166.tab and zone.tab
55827 2012-03-21 Joseph Myers <joseph@codesourcery.com>
55830 * math/w_exp2.c: Do not include <float.h>.
55831 (o_threshold, u_threshold): Remove.
55832 (__exp2): Calculate result before checking finiteness and calling
55834 * math/w_exp2f.c: Likewise.
55835 * math/w_exp2l.c: Likewise.
55836 * math/libm-test.inc (exp2_test): Require overflow exception for
55840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
55841 range of signed 64-bit integers before using fistpll. Remove
55842 checks for whether integers fit in mantissa bits.
55843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
55844 the range of signed 32-bit integers before using fistpl. Remove
55845 checks for whether integers fit in mantissa bits.
55846 * sysdeps/i386/fpu/e_powl.S (p64): New object.
55847 (__ieee754_powl): Test for y outside the range of signed 64-bit
55848 integers before using fistpll. Reduce 64-bit values to 63-bit
55850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
55851 divide-by-zero is raised for zero to large negative powers.
55852 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
55853 (__ieee754_powl): Test for y outside the range of signed 64-bit
55854 integers before using fistpll. Reduce 64-bit values to 63-bit
55856 * math/libm-test.inc (pow_test): Add more tests.
55858 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55860 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
55861 <stdio-common/_itoa.h>.
55862 * debug/segfault.c: Likewise.
55863 * elf/dl-cache.c: Likewise.
55864 * elf/dl-minimal.c: Likewise.
55865 * elf/dl-misc.c: Likewise.
55866 * elf/dl-sysdep.c: Likewise.
55867 * elf/dl-version.c: Likewise.
55868 * elf/rtld.c: Likewise.
55869 * hurd/hurdsock.c: Likewise.
55870 * hurd/lookup-retry.c: Likewise.
55871 * malloc/malloc.c: Likewise.
55872 * malloc/mtrace.c: Likewise.
55873 * nscd/nscd_getgr_r.c: Likewise.
55874 * nscd/nscd_getpw_r.c: Likewise.
55875 * nscd/nscd_getserv_r.c: Likewise.
55876 * posix/getopt_init.c: Likewise.
55877 * posix/wordexp.c: Likewise.
55878 * stdio-common/_itoa.c: Likewise.
55879 * stdio-common/printf_fphex.c: Likewise.
55880 * stdio-common/vfprintf.c: Likewise.
55881 * string/_strerror.c: Likewise.
55882 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
55883 * sysdeps/i386/i686/hp-timing.h: Likewise.
55884 * sysdeps/mach/_strerror.c: Likewise.
55885 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
55886 * sysdeps/mach/hurd/sethostid.c: Likewise.
55887 * sysdeps/mach/hurd/xmknodat.c: Likewise.
55888 * sysdeps/mach/xpg-strerror.c: Likewise.
55889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55891 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
55892 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
55893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55894 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
55895 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
55896 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
55897 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
55898 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
55899 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
55900 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55901 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
55902 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55903 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55904 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
55905 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
55906 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
55907 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
55908 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
55909 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
55911 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
55913 * stdio-common/_itoa.h: Moved to ...
55914 * sysdeps/generic/_itoa.h: Here.
55916 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
55918 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
55919 instead of "_itoa.h" and "_itowa.h".
55920 * stdio-common/vfprintf.: Likewise.
55922 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55924 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
55926 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
55927 (__signbit): Likwise.
55928 (llrintf): Likwise.
55931 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
55933 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
55936 2012-03-20 Joseph Myers <joseph@codesourcery.com>
55938 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
55939 OVERFLOW_EXCEPTION_OK.
55940 * math/libm-test.inc ("Philosophy"): Update comment about
55942 (OVERFLOW_EXCEPTION): Define.
55943 (OVERFLOW_EXCEPTION_OK): Likewise.
55944 (INVALID_EXCEPTION_OK): Renumber.
55945 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55946 (IGNORE_ZERO_INF_SIGN): Likewise.
55947 (test_exceptions): Handle FE_OVERFLOW.
55948 (exp10_test): Expect overflow exceptions.
55949 (exp2_test): Likewise.
55950 (expm1_test): Likewise.
55951 (nextafter_test): Likewise.
55952 (pow_test): Likewise.
55953 (scalbn_test): Likewise.
55954 (scalbln_test): Likewise.
55956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55958 * sysdeps/x86_64/bits/atomic.h
55959 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55961 (atomic_exchange_acq): Likewise.
55962 (__arch_exchange_and_add_body): Likewise.
55963 (__arch_add_body): Likewise.
55964 (atomic_add_negative): Likewise.
55965 (atomic_add_zero): Likewise.
55967 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55969 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55970 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55972 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55974 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55975 Check __x86_64__ instead of __WORDSIZE.
55977 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55979 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55981 2012-03-19 David S. Miller <davem@davemloft.net>
55983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55985 * sysdeps/sparc/fpu/fenv_private.h: New file.
55986 * sysdeps/sparc/fpu/math_private.h: Use it.
55987 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55990 (libc_feholdexcept_setroundl): Remove.
55991 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55996 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55998 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55999 int64_t instead of long int.
56000 (INSERT_WORDS64): Likwise.
56002 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56004 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56005 _Unwind_GetCFA return to _Unwind_Ptr first.
56007 2012-03-19 Joseph Myers <joseph@codesourcery.com>
56010 * math/s_clog.c: Include <float.h>.
56011 (__clog): Scale large or subnormal inputs.
56012 * math/s_clogf.c: Likewise.
56013 * math/s_clogl.c: Likewise.
56014 * math/s_clog10.c: Include <float.h>.
56015 (M_LOG10_2): Define.
56016 (__clog10): Scale large or subnormal inputs.
56017 * math/s_clog10f.c: Likewise.
56018 * math/s_clog10l.c: Likewise.
56019 * math/libm-test.inc (clog_test): Add more tests.
56020 (clog10_test): Likewise.
56021 * sysdeps/i386/fpu/libm-test-ulps: Update.
56022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56027 * math/libm-test.inc (atan2_test): Add another test.
56029 * Makerules (common-objdir-compile): Remove.
56030 * sysdeps/unix/Makefile (config-generated): Do not add
56031 $(unix-generated) to variable.
56032 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56033 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56035 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56037 [generic bits/local_lim.h] (before-compile): Do not append to
56039 [generic bits/local_lim.h] (common-generated): Likewise.
56040 [generic sys/param.h] (before-compile): Do not append to variable.
56041 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56042 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56043 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56044 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56046 [generic sys/param.h] (sys/param.h-includes): Remove variable.
56047 [generic sys/param.h] (sys/param.h-includes): Remove rule.
56048 [generic sys/param.h] ($(addprefix
56049 $(common-objpfx),$(sys/param.h-includes))): Likewise.
56050 [generic sys/param.h] (common-generated): Do not append to
56052 [generic sys/param.h] (sysdep_headers): Likewise.
56053 [generic bits/errno.h] (before-compile): Do not append to
56055 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56057 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56058 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56059 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56060 [generic bits/errno.h] (common-generated): Do not append to
56062 [generic bits/ioctls.h] (before-compile): Do not append to
56064 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56066 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56067 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56068 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56071 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56072 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56073 [generic bits/ioctls.h] (common-generated): Do not append to
56075 [generic sys/syscall.h] (syscall.h): Remove variable.
56076 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56078 [generic sys/syscall.h] (before-compile): Do not append to
56080 [generic sys/syscall.h] (common-generated): Likewise.
56081 * sysdeps/unix/errnos-tmpl.c: Remove file.
56082 * sysdeps/unix/errnos.awk: Likewise.
56083 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56084 * sysdeps/unix/ioctls.awk: Likewise.
56085 * sysdeps/unix/mk-local_lim.c: Likewise.
56086 * sysdeps/unix/snarf-ioctls: Likewise.
56088 2012-03-19 Richard Henderson <rth@twiddle.net>
56090 * sysdeps/i386/fpu/fenv_private.h: New file.
56091 * sysdeps/i386/fpu/math_private.h: Use it.
56092 (math_opt_barrier, math_force_eval): Remove.
56093 (libc_feholdexcept_setround_53bit): Remove.
56094 (libc_feupdateenv_53bit): Remove.
56095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56096 (math_opt_barrier, math_force_eval): Remove.
56097 (libc_feholdexcept): Remove.
56098 (libc_feholdexcept_setround): Remove.
56099 (libc_fetestexcept, libc_fesetenv): Remove.
56100 (libc_feupdateenv_test): Remove.
56101 (libc_feupdateenv, libc_feholdsetround): Remove.
56102 (libc_feresetround): Remove.
56104 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56105 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56107 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56108 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56109 (libc_feupdateenv_testl): New.
56110 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56111 (libc_feupdateenv_testf): New.
56112 (libc_feupdateenv): Use libc_feupdateenv_test.
56113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56116 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56117 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56118 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56119 (libc_feresetround_noex): New.
56120 (libc_feresetround_noexf): New.
56121 (libc_feresetround_noexl): New.
56122 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56123 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56124 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56125 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56130 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56131 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56132 SET_RESTORE_ROUND_NOEX.
56133 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56134 SET_RESTORE_ROUND_NOEXF.
56135 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56136 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56137 (libc_feholdsetroundf): New.
56138 (libc_feresetround, libc_feresetroundf): New.
56140 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56141 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56142 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56144 * sysdeps/generic/math_private.h: Include <fenv.h>.
56145 (default_libc_feholdexcept): New.
56146 (default_libc_feholdexcept_setround): New.
56147 (default_libc_fesetenv, default_libc_feupdateenv): New.
56148 (libc_feholdexcept): Only define if undefined.
56149 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56150 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56151 (libc_feholdexcept_setroundl): Likewise.
56152 (libc_feholdexcept_setround_53bit): Likewise.
56153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56154 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56155 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56156 (libc_feupdateenv_53bit): Likewise.
56157 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56158 (libc_feholdexcept): Convert from macro to inline function.
56159 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56160 (libc_fesetenv, libc_feupdateenv): Likewise.
56162 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56163 not previously defined.
56164 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56165 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56166 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56167 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56168 * sysdeps/ieee754/flt-32/math_private.h: New file.
56169 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56170 math_private.h below SET_FLOAT_WORD.
56171 (__isnan, __isinf_ns, __finite): Remove.
56172 (__isnanf, __isinf_nsf, __finitef): Remove.
56174 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56178 2012-03-17 David S. Miller <davem@davemloft.net>
56181 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56184 2012-03-16 David S. Miller <davem@davemloft.net>
56186 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56190 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56192 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56193 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56194 sysdep_routines when subdir is sysvipc.
56195 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56196 __getshmlba helper.
56198 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56200 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56202 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56208 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56209 (__lround): Renamed to ...
56210 (__llround): This. Replace long int with long long int.
56211 Define lround functions as aliases of llround functions.
56212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56216 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56217 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56218 adresses to uintptr_t. Replace "long int" and "unsigned long
56219 int" with "greg_t" on va_arg.
56221 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56223 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56224 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56226 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56227 Move e_machine check before EI_CLASS check. Handle x32
56228 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56229 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56230 SKIP_EM_IA_64 and include
56231 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56233 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56234 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56235 (add_system_dir): New macro.
56237 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56238 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56240 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56251 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56253 * math/w_j0f.c (j0f): Likewise.
56255 * math/w_j0l.c (__j0l): Likewise.
56257 * math/w_j1.c (j1): Likewise.
56259 * math/w_j1f.c (j1f): Likewise.
56261 * math/w_j1l.c (__j1l): Likewise.
56263 * math/w_jn.c (jn): Likewise.
56265 * math/w_jnf.c (jnf): Likewise.
56267 * math/w_jnl.c (__jnl): Likewise.
56269 * math/libm-test.inc (j0_test): Add more tests.
56270 (j1_test): Likewise.
56271 (jn_test): Likewise. Add trailing semicolon to existing test.
56272 (y0_test): Likewise.
56273 (y1_test): Likewise.
56274 * sysdeps/i386/fpu/libm-test-ulps: Update.
56275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56280 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56281 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56283 (__tanl): Set errno for infinite argument.
56284 * sysdeps/i386/fpu/mptan.c: Remove.
56285 * sysdeps/i386/fpu/s_tan.S: Likewise.
56286 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56287 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56288 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56289 * math/libm-test.inc (tan_test): Add more tests and enable more
56290 tests for double and long double.
56291 * sysdeps/i386/fpu/libm-test-ulps: Update.
56292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56294 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56296 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56297 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56299 2012-03-16 Roland McGrath <roland@hack.frob.com>
56301 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56302 * configure.in: Use it for both main tree and add-ons.
56303 * configure: Regenerated.
56305 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56307 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56309 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56311 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56315 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56316 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56317 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56318 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56319 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56321 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56323 != 0 for prec == 2.
56324 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56325 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56326 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56327 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56328 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56329 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56330 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56331 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56332 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56333 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56334 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56335 * math/libm-test.inc (cos_test): Add more tests and enable more
56336 tests for long double.
56337 (sin_test): Likewise.
56338 (sincos_test): Likewise.
56339 * sysdeps/i386/fpu/libm-test-ulps: Update.
56340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56342 2012-03-16 David S. Miller <davem@davemloft.net>
56344 * sysdeps/sparc/fpu/math_private.h: New file.
56346 2012-03-15 David S. Miller <davem@davemloft.net>
56348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56362 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56363 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56365 * sysdeps/sparc/sparc-ifunc.h: New file.
56366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56411 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56413 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56417 2012-03-15 Andreas Jaeger <aj@suse.de>
56420 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56421 ieee754/flt-32 implementation for sin, cos and sincos.
56422 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56423 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56424 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56425 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56426 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56427 ieee754/flt-32 implementation for tan.
56429 * math/libm-test.inc (cos_test): Enable some large input tests for
56431 (sin_test): Likewise.
56432 (sincos_test): Likewise.
56433 (tan_test): Add tests for large input.
56435 * sysdeps/i386/fpu/libm-test-ulps: Update.
56437 2012-03-15 Andreas Jaeger <aj@suse.de>
56440 * math/libm-test.inc (cos_test): Add more test cases.
56441 (sin_test): Likewise.
56442 (sincos_test): Likewise.
56444 2012-03-15 Andreas Jaeger <aj@suse.de>
56447 * math/libm-test.inc (cos_test): Add a test case for large input
56449 (sin_test): Likewise.
56450 (sincos_test): Likewise.
56452 2012-03-15 Andreas Jaeger <aj@suse.de>
56453 Joseph Myers <joseph@codesourcery.com>
56456 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56457 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56458 * sysdeps/i386/fpu/branred.c: Likewise.
56459 * sysdeps/i386/fpu/dosincos.c: Likewise.
56460 * sysdeps/i386/fpu/mpa.c: Likewise.
56461 * sysdeps/i386/fpu/s_cos.S: Likewise.
56462 * sysdeps/i386/fpu/s_sin.S: Likewise.
56463 * sysdeps/i386/fpu/s_sincos.S: Likewise.
56464 * sysdeps/i386/fpu/sincos32.c: Likewise.
56466 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56468 (libc_feupdateenv_53bit): Define.
56469 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56471 (libc_feupdateenv_53bit): Define.
56473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56474 53 bit (without extend i386 double precision).
56476 * math/libm-test.inc (sincos_test): Add tests for large input.
56480 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56482 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56486 2012-03-15 David S. Miller <davem@davemloft.net>
56488 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56489 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56490 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56491 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56516 fmin/fmax sysdep routines.
56517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56519 2012-03-14 David S. Miller <davem@davemloft.net>
56521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56593 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56598 * sysdeps/sparc/configure.in: New file.
56599 * sysdeps/sparc/configure: Generate.
56600 * configure.in (libc_cv_sparc_as_vis3): Substitute.
56601 * configure: Regenerate.
56602 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
56603 * config.make.in (have-as-vis3): New.
56604 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
56605 available use -Av9d instead of -Av9a.
56606 * sysdeps/sparc/sparc64/Makefile: Likewise.
56607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
56608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
56610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
56612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
56614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
56616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
56617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
56618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
56619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
56620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
56622 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
56623 fzeros/fnegs to load 0x80000000 into a float register instead of
56625 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
56627 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56631 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
56632 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
56633 ($(inst_includedir)/bits/syscall.h): Remove rule.
56634 ($(objpfx)bits/syscall.d): Include instead of
56635 $(objpfx)syscall-list.d.
56636 (generated): Change syscall-list.h and syscall-list.d to
56637 bits/syscall.h and bits/syscall.d.
56639 2012-03-14 Roland McGrath <roland@hack.frob.com>
56642 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
56644 2012-03-14 Joseph Myers <joseph@codesourcery.com>
56647 * math/s_csqrt.c: Include <float.h>.
56648 (__csqrt): Scale large or subnormal inputs.
56649 * math/s_csqrtf.c: Likewise.
56650 * math/s_csqrtl.c: Likewise.
56651 * math/libm-test.inc (csqrt_test): Add more tests.
56652 * sysdeps/i386/fpu/libm-test-ulps: Update.
56653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56656 * math/libm-test.inc (hypot_test): Add more tests.
56658 2012-03-13 David S. Miller <davem@davemloft.net>
56661 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
56662 double-precision for the calculation instead of scaling.
56664 2012-03-13 Joseph Myers <joseph@codesourcery.com>
56666 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
56667 manipulate bits before adding and subtracting TWO52[sx].
56668 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
56669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
56671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
56673 2012-03-13 David S. Miller <davem@davemloft.net>
56675 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
56676 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
56677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
56678 rtld-global-offsets.h
56679 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56681 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
56684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
56686 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
56687 'err' in the ifdef scope in which it is actually used.
56689 * nss/nss_db/db-init.c: Include string.h
56691 2012-03-12 David S. Miller <davem@davemloft.net>
56693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56694 masking out of the most significant byte of random value used.
56695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56696 Fix coding style in previous change.
56698 * sysdeps/unix/sysv/linux/kernel-features.h
56699 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
56700 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
56702 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
56705 2012-03-11 David S. Miller <davem@davemloft.net>
56707 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56708 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
56709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
56710 for 'resultvar' otherwise things get truncated on 64-bit.
56712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56713 Fix masking out of the most significant byte of random value used.
56715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56717 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
56719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56721 2012-03-09 David S. Miller <davem@davemloft.net>
56723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
56724 variables with appropriate CPP guards.
56725 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
56726 from the frame pointer, not the stack pointer. Correct layout
56727 comments. Fix test on resulting framesize and the management of
56728 the outregs buffer for pltexit. Preserve floating point return
56729 values across _dl_call_pltexit call.
56730 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
56731 framesize and the management of the outregs buffer for pltexit.
56732 Preserve floating point return values across _dl_call_pltexit
56734 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
56735 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
56736 (la_sparc64_gnu_pltexit): New functions.
56737 (print_exit): Fix format string for return register value.
56739 2012-03-10 Joseph Myers <joseph@codesourcery.com>
56741 * sunrpc/Makefile (others): Add rpcgen.
56742 ($(objpfx)rpcgen): Remove special build rule and dependency on
56744 * sunrpc/rpcgen.c: New file.
56746 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
56749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
56750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
56751 * sysdeps/i386/crti.S: Likewise.
56752 * sysdeps/i386/crtn.S: Likewise.
56753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
56754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
56755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
56756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
56757 * sysdeps/sh/crti.S: Likewise.
56758 * sysdeps/sh/crtn.S: Likewise.
56759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
56764 * locale/programs/locfile-kw.gperf: Likewise.
56765 * locale/programs/charmap-kw.h: Regenerated.
56766 * locale/programs/locfile-kw.h: Likewise.
56769 * intl/plural.y: Replace FSF snail mail address with URL.
56770 * intl/plural.c: Regenerated.
56772 2012-03-09 Richard Henderson <rth@twiddle.net>
56774 * include/math_private.h: Remove file.
56775 * math/math_private.h: Move file ...
56776 * sysdeps/generic/math_private.h: ... here.
56778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
56779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
56780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
56783 and <math_private.h>.
56784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
56790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
56825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
56831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
56836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
56844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
56849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
56853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
56854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
56859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
56860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
56861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
56863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
56864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
56866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
56870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
56871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
56872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
56899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
56908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
56912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
56914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
56915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
56918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
56919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
56923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
56928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
56929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
56933 * sysdeps/ieee754/k_standard.c: Likewise.
56934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
56954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
56955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57094 * sysdeps/ieee754/s_lib_version.c: Likewise.
57095 * sysdeps/ieee754/s_matherr.c: Likewise.
57096 * sysdeps/ieee754/s_signgam.c: Likewise.
57097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57119 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57122 * sunrpc/rpc_main.c: Likewise.
57123 * sunrpc/rpc_svcout.c: Likewise.
57125 2012-03-09 David S. Miller <davem@davemloft.net>
57127 * include/math_private.h: New file.
57129 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57134 from <bits/socket_type.h>.
57135 (enum __socket_type): Don't define here.
57136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57138 bits/socket_type.h.
57141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57142 checking __USE_GNU.
57144 * Makerules ($(inst_includedir)/%.h): New rule.
57145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57146 (install-others): Remove variable setting.
57147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57149 2012-03-08 Richard Henderson <rth@twiddle.net>
57151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57152 from macro to inline function; merge with the
57153 !__LIBC_INTERNAL_MATH_INLINES version.
57154 (__ieee754_sqrtf): Likewise.
57156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57157 to inline function.
57158 (__rintf, __floor, __floorf): Likewise.
57160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57161 macro to inline function.
57162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57165 not <math/math_private.h>.
57167 2012-03-08 David S. Miller <davem@davemloft.net>
57169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57173 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57180 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57183 be defined individually, they must be defined as a block. Define
57184 S for printing a string instead of hidint the different by using a
57185 macro for adding the 'l'.
57186 * stdio-common/tst-fphex-wide.c: Adjust.
57188 2012-03-07 Marek Polacek <polacek@redhat.com>
57190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57192 2012-03-08 Marek Polacek <polacek@redhat.com>
57195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57196 * stdio-common/tst-fphex.c: Define a few macros to make the
57197 test reusable. Use them.
57198 * stdio-common/tst-fphex-wide.c: New file.
57200 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57203 * manual/macros.texi (gnusystems): New macro.
57204 (nongnusystems): Likewise.
57205 (gnulinuxhurdsystems): Likewise.
57206 (gnuhurdsystems): Likewise..
57207 (gnulinuxsystems): Likewise.
57208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57209 variants of the GNU system, not "GNU system".
57210 * manual/conf.texi: Likewise.
57211 * manual/errno.texi: Likewise. Update example of errno macro
57213 * manual/filesys.texi: Likewise.
57214 (getumask): Document as specific to GNU/Hurd.
57215 * manual/install.texi: Likewise. Reword some references to
57217 * manual/intro.texi: Likewise.
57218 * manual/io.texi: Likewise.
57219 (File Name Portability): Detail which constraints are inapplicable
57220 to all GNU systems and which are only inapplicable to GNU/Hurd.
57221 * manual/job.texi: Likewise.
57222 * manual/llio.texi: Likewise.
57223 (O_NOCTTY): Document as present on GNU/Linux.
57224 * manual/maint.texi: Likewise.
57225 * manual/memory.texi: Likewise.
57226 * manual/pattern.texi: Likewise.
57227 * manual/pipe.texi: Likewise.
57228 * manual/process.texi: Likewise.
57229 * manual/resource.texi: Likewise.
57230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57232 * manual/setjmp.texi: Likewise.
57233 * manual/signal.texi: Likewise.
57234 * manual/startup.texi: Likewise.
57235 * manual/stdio.texi: Likewise.
57236 * manual/terminal.texi: Likewise.
57237 (ONLCR): Document as POSIX.
57238 (OXTABS): Document availability on GNU/Linux as XTABS.
57239 (ONOEOT): Document availability separately from other bits.
57240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57241 * manual/time.texi: Likewise.
57242 * manual/users.texi: Likewise.
57243 * INSTALL: Regenerated.
57244 * sysdeps/gnu/errlist.c: Regenerated.
57246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57250 * configure: Regenerated.
57252 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57255 default includes instead of AC_HEADER_CHECK.
57256 * sysdeps/i386/configure: Regenerated.
57259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57260 * math/s_cacoshf.c (__cacoshf): Likewise.
57261 * math/s_cacoshl.c (__cacoshl): Likewise.
57262 * math/s_casinh.c (__casinh): Set signs of result from argument.
57263 * math/s_casinhf.c (__casinhf): Likewise.
57264 * math/s_casinhl.c (__casinhl): Likewise.
57265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57266 (casinh_test): Add more tests.
57267 * sysdeps/i386/fpu/libm-test-ulps: Update.
57268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57270 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57272 * po/zh_TW.po: Update from translation team.
57274 * login/Makefile (distribute): Remove variable.
57275 * catgets/Makefile: Likewise.
57276 * mach/Makefile: Likewise.
57277 * malloc/Makefile: Likewise.
57278 * misc/Makefile: Likewise.
57279 * iconv/Makefile: Likewise.
57280 * nscd/Makefile: Likewise.
57281 * hurd/Makefile: Likewise.
57282 * manual/Makefile: Likewise.
57283 * locale/Makefile: Likewise.
57284 * intl/Makefile: Likewise.
57285 * conform/Makefile: Likewise.
57286 * nss/Makefile: Likewise.
57287 * time/Makefile: Likewise.
57288 * soft-fp/Makefile: Likewise.
57289 * dirent/Makefile: Likewise.
57290 * gmon/Makefile: Likewise.
57291 * po/Makefile: Likewise.
57292 * rt/Makefile: Likewise.
57293 * socket/Makefile: Likewise.
57294 * math/Makefile: Likewise.
57295 * signal/Makefile: Likewise.
57296 * debug/Makefile: Likewise.
57297 * elf/Makefile: Likewise.
57298 * timezone/Makefile: Likewise.
57299 * stdlib/Makefile: Likewise.
57300 * iconvdata/Makefile: Likewise.
57301 * sunrpc/Makefile: Likewise.
57302 * io/Makefile: Likewise.
57303 * argp/Makefile: Likewise.
57304 * inet/Makefile: Likewise.
57305 * hesiod/Makefile: Likewise.
57306 * grp/Makefile: Likewise.
57307 * csu/Makefile: Likewise.
57308 * wctype/Makefile: Likewise.
57309 * crypt/Makefile: Likewise.
57310 * libio/Makefile: Likewise.
57311 * string/Makefile: Likewise.
57312 * nis/Makefile: Likewise.
57313 * resolv/Makefile: Likewise.
57314 * stdio-common/Makefile: Likewise.
57315 * wcsmbs/Makefile: Likewise.
57316 * dlfcn/Makefile: Likewise.
57317 * posix/Makefile: Likewise.
57320 * timezone/Makefile: Don't install timezone files, just the programs
57323 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57325 * nss/databases.def: Add missing gshadow entry.
57327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57329 2012-03-06 Marek Polacek <polacek@redhat.com>
57332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57335 * stdio-common/tst-long-dbl-fphex.c: New file.
57337 2012-03-06 David S. Miller <davem@davemloft.net>
57339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57340 (set_obp_int): New function.
57341 (get_obp_int): New function.
57342 (__get_clockfreq_via_dev_openprom): Likewise.
57343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57344 Avoid unused variable warnings on 'val' and use builtin_expect.
57345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57347 (INLINE_CLONE_SYSCALL): Likewise.
57349 2012-03-05 David S. Miller <davem@davemloft.net>
57351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57353 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57358 only for |x| >= 40.
57359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57361 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57364 Replace gettimeofday with __vdso_gettimeofday.
57366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57368 __vdso_clock_gettime and __vdso_getcpu.
57370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57371 time with __vdso_time.
57373 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57375 * manual/lang.texi (size_t): Note types to which size_t may be
57376 equivalent with the GNU C Library, but do not describe when
57377 differences between them are significant.
57379 2012-03-05 Andreas Jaeger <aj@suse.de>
57381 * sysdeps/i386/fpu/libm-test-ulps: Update.
57383 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57387 (__ieee754_pow): Save and restore rounding mode and use
57388 round-to-nearest for main computations.
57389 * math/libm-test.inc (pow_test_tonearest): New function.
57390 (pow_test_towardzero): Likewise.
57391 (pow_test_downward): Likewise.
57392 (pow_test_upward): Likewise.
57393 (main): Call the new functions.
57394 * sysdeps/i386/fpu/libm-test-ulps: Update.
57395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57398 * math/libm-test.inc (cosh_test_tonearest): New function.
57399 (cosh_test_towardzero): Likewise.
57400 (cosh_test_downward): Likewise.
57401 (cosh_test_upward): Likewise.
57402 (sinh_test_tonearest): Likewise.
57403 (sinh_test_towardzero): Likewise.
57404 (sinh_test_downward): Likewise.
57405 (sinh_test_upward): Likewise.
57406 (main): Call the new functions.
57407 * sysdeps/i386/fpu/libm-test-ulps: Update.
57408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57410 2012-03-05 Tom de Vries <tom@codesourcery.com>
57412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57413 default stack guard is set in last bytes.
57414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57416 2012-03-05 Kees Cook <keescook@chromium.org>
57418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57422 possibly allocate from heap instead of stack.
57423 * stdio-common/bug-vfprintf-nargs.c: New file.
57424 * stdio-common/Makefile (tests): Add nargs overflow test.
57426 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57430 2012-03-03 Marek Polacek <polacek@redhat.com>
57432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57433 * math/math_private.h: Likewise.
57434 * stdlib/tst-strtod.c: Likewise.
57435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57436 * sysdeps/x86_64/bits/atomic.h: Likewise.
57438 2012-03-02 David S. Miller <davem@davemloft.net>
57440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57449 2012-03-02 Roland McGrath <roland@hack.frob.com>
57452 * manual/examples/README: New file, says the example source files
57453 can be used under GPL>=2.
57454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57455 line containing just "*/".
57456 * manual/examples/add.c: Add copyright header (GPL>=2).
57457 * manual/examples/argp-ex1.c: Likewise.
57458 * manual/examples/argp-ex2.c: Likewise.
57459 * manual/examples/argp-ex3.c: Likewise.
57460 * manual/examples/argp-ex4.c: Likewise.
57461 * manual/examples/atexit.c: Likewise.
57462 * manual/examples/db.c: Likewise.
57463 * manual/examples/dir.c: Likewise.
57464 * manual/examples/dir2.c: Likewise.
57465 * manual/examples/execinfo.c: Likewise.
57466 * manual/examples/filecli.c: Likewise.
57467 * manual/examples/filesrv.c: Likewise.
57468 * manual/examples/fmtmsgexpl.c: Likewise.
57469 * manual/examples/genpass.c: Likewise.
57470 * manual/examples/inetcli.c: Likewise.
57471 * manual/examples/inetsrv.c: Likewise.
57472 * manual/examples/isockad.c: Likewise.
57473 * manual/examples/longopt.c: Likewise.
57474 * manual/examples/memopen.c: Likewise.
57475 * manual/examples/memstrm.c: Likewise.
57476 * manual/examples/mkfsock.c: Likewise.
57477 * manual/examples/mkisock.c: Likewise.
57478 * manual/examples/mygetpass.c: Likewise.
57479 * manual/examples/pipe.c: Likewise.
57480 * manual/examples/popen.c: Likewise.
57481 * manual/examples/rprintf.c: Likewise.
57482 * manual/examples/search.c: Likewise.
57483 * manual/examples/select.c: Likewise.
57484 * manual/examples/setjmp.c: Likewise.
57485 * manual/examples/sigh1.c: Likewise.
57486 * manual/examples/sigusr.c: Likewise.
57487 * manual/examples/stpcpy.c: Likewise.
57488 * manual/examples/strdupa.c: Likewise.
57489 * manual/examples/strftim.c: Likewise.
57490 * manual/examples/strncat.c: Likewise.
57491 * manual/examples/subopt.c: Likewise.
57492 * manual/examples/swapcontext.c: Likewise.
57493 * manual/examples/termios.c: Likewise.
57494 * manual/examples/testopt.c: Likewise.
57495 * manual/examples/testpass.c: Likewise.
57496 * manual/examples/timeval_subtract.c: Likewise.
57499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
57501 * manual/timeval_subtract.c.texi: ... here, new file.
57503 2012-03-02 David S. Miller <davem@davemloft.net>
57505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57507 2012-03-02 Joseph Myers <joseph@codesourcery.com>
57510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57511 (__sin): Save and restore rounding mode and use round-to-nearest
57512 for all computations.
57513 (__cos): Save and restore rounding mode and use round-to-nearest
57514 for all computations.
57515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57517 (tan): Save and restore rounding mode and use round-to-nearest for
57519 * math/libm-test.inc (cos_test_tonearest): New function.
57520 (cos_test_towardzero): Likewise.
57521 (cos_test_downward): Likewise.
57522 (cos_test_upward): Likewise.
57523 (sin_test_tonearest): Likewise.
57524 (sin_test_towardzero): Likewise.
57525 (sin_test_downward): Likewise.
57526 (sin_test_upward): Likewise.
57527 (tan_test_tonearest): Likewise.
57528 (tan_test_towardzero): Likewise.
57529 (tan_test_downward): Likewise.
57530 (tan_test_upward): Likewise.
57531 (main): Call the new functions.
57532 * sysdeps/i386/fpu/libm-test-ulps: Update.
57533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57537 small n, then large n, before computing and testing k+n.
57538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57551 * math/libm-test.inc (scalbn_test): Add more tests.
57552 (scalbln_test): Likewise.
57554 * manual/filesys.texi (mode_t): Describe constraints on size and
57555 signedness, not exact equivalence to a particular type.
57557 (ino64_t): Likewise.
57559 (nlink_t): Likewise.
57560 (blkcnt_t): Likewise.
57561 (blkcnt64_t): Likewise.
57562 * manual/llio.texi (off_t): Likewise.
57565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57566 (__ieee754_exp): Save and restore rounding mode and use
57567 round-to-nearest for all computations.
57568 * math/libm-test.inc (exp_test_tonearest): New function.
57569 (exp_test_towardzero): Likewise.
57570 (exp_test_downward): Likewise.
57571 (exp_test_upward): Likewise.
57572 (main): Call the new functions.
57573 * sysdeps/i386/fpu/libm-test-ulps: Update.
57574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57576 2012-03-01 Chris Demetriou <cgd@google.com>
57578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57579 have predictable order.
57581 2012-03-01 David S. Miller <davem@davemloft.net>
57583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
57600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
57603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
57604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
57606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
57607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
57610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
57611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
57612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
57613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
57616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
57617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
57623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
57624 * sysdeps/sparc/elf/configure: Regenerated.
57626 2012-03-01 Joseph Myers <joseph@codesourcery.com>
57628 * configure.in (AS, LD): Require binutils 2.20 or later.
57629 * configure: Regenerated.
57630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
57631 as required minimum version.
57632 * INSTALL: Regenerated.
57636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
57637 before squaring exponent.
57638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
57639 bottom long double and 27 bits of top long double before squaring
57641 * math/libm-test.inc (erfc_test): Add more tests.
57642 * sysdeps/i386/fpu/libm-test-ulps: Update.
57643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57646 2012-03-01 Kai Tietz <ktietz@redhat.com>
57648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
57649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
57650 containing bit-fields.
57651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
57652 * soft-fp/single.h (_FP_UNION_S): Likewise.
57653 * soft-fp/double.h (_FP_UNION_D): Likewise.
57655 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
57659 not include ../strcmp.S.
57660 [USE_AS_STRNCASECMP_L]: Likewise.
57661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
57662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
57663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
57664 (__strncasecmp_l_ia32): Define as alias to
57665 __strncasecmp_l_nonascii.
57668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
57669 * sysdeps/i386/fpu/libm-test-ulps: Update.
57670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
57673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57675 2012-02-29 Jeff Law <law@redhat.com>
57677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
57678 out of bounds read.
57680 2012-02-29 Marek Polacek <polacek@redhat.com>
57683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
57684 * elf/Makefile: Add rules to run tst-unused-dep.out.
57686 2012-02-28 David S. Miller <davem@davemloft.net>
57688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
57689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
57690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
57691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
57692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
57693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
57695 2012-02-29 Joseph Myers <joseph@codesourcery.com>
57697 * math/libm-test.inc (llround_test): Move one test from
57698 lround_test. Use TEST_f_L in moved test.
57699 (lround_test): Move misplaced test to llround_test. Add testcase
57702 2012-02-28 Ulrich Drepper <drepper@gmail.com>
57704 * sysdeps/x86_64/fpu/e_expf.S: New file.
57705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
57707 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
57710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
57711 of remain_len that may cause incomplete multi-byte character and
57713 * posix/bug-regex33.c: New file.
57714 * posix/Makefile (tests): Add bug-regex33.
57716 2012-02-28 Joseph Myers <joseph@codesourcery.com>
57718 * manual/macros.texi: New file.
57719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
57720 * manual/libc.texinfo: Include macros.texi.
57721 * manual/creatute.texi: Likewise.
57722 * manual/install.texi: Likewise.
57723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
57724 @glibcadj{} in references to the GNU C Library.
57725 * manual/charset.texi: Likewise.
57726 * manual/conf.texi: Likewise.
57727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
57728 when not using those macros.
57729 * manual/creature.texi: Likewise.
57730 * manual/crypt.texi: Likewise.
57731 * manual/errno.texi: Likewise.
57732 * manual/filesys.texi: Likewise.
57733 * manual/header.texi: Likewise.
57734 * manual/install.texi: Likewise.
57735 * manual/intro.texi: Likewise.
57736 * manual/io.texi: Likewise.
57737 * manual/job.texi: Likewise.
57738 * manual/lang.texi: Likewise.
57739 * manual/libc.texiinfo: Likewise.
57740 * manual/llio.texi: Likewise.
57741 * manual/locale.texi: Likewise.
57742 * manual/maint.texi: Likewise.
57743 * manual/math.texi: Likewise.
57744 * manual/memory.texi: Likewise.
57745 * manual/message.texi: Likewise.
57746 * manual/nss.texi: Likewise.
57747 * manual/pattern.texi: Likewise.
57748 * manual/process.texi: Likewise.
57749 * manual/resource.texi: Likewise.
57750 * manual/search.texi: Likewise.
57751 * manual/setjmp.texi: Likewise.
57752 * manual/signal.texi: Likewise.
57753 * manual/socket.texi: Likewise.
57754 * manual/startup.texi: Likewise.
57755 * manual/stdio.texi: Likewise.
57756 * manual/string.texi: Likewise.
57757 * manual/sysinfo.texi: Likewise.
57758 * manual/syslog.texi: Likewise.
57759 * manual/terminal.texi: Likewise.
57760 * manual/time.texi: Likewise.
57761 * manual/users.texi: Likewise.
57762 * INSTALL: Regenerated.
57763 * NOTES: Regenerated.
57764 * sysdeps/gnu/errlist.c: Regenerated.
57766 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
57768 * include/dirent.h: Include <dirstream.h> before
57771 2012-02-28 David S. Miller <davem@davemloft.net>
57773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
57774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
57775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
57776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
57778 2012-02-27 David S. Miller <davem@davemloft.net>
57780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
57781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
57782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
57783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
57785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
57786 frame pointer instead of stack pointer relative arg slot.
57787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57791 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
57794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
57796 2012-02-27 David S. Miller <davem@davemloft.net>
57798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
57799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
57800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
57802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
57803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
57804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
57805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
57807 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
57810 later. Allow versions 5-9.
57811 * configure: Regenerated.
57812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
57813 required minimum version and 4.6 as recommended version. Do not
57814 mention bugs in GCC 2.7 and 2.8.
57815 * INSTALL: Regenerated.
57817 2012-02-27 David S. Miller <davem@davemloft.net>
57819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
57820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
57821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
57822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
57823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
57824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
57825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
57826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
57828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
57829 manipulate bits before adding and subtracting TWO112[sx].
57830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57832 2012-02-27 Roland McGrath <roland@hack.frob.com>
57835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
57836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
57837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
57838 being in POSIX, because they are in 1003.1-2008.
57840 * rt/tst-aio.c: Include <fcntl.h>.
57841 * rt/tst-aio7.c: Likewise.
57842 * rt/tst-aio64.c: Likewise.
57844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
57846 2012-02-27 Joseph Myers <joseph@codesourcery.com>
57848 * manual/install.texi (--with-headers): Describe headers as
57849 interface headers, not private headers.
57850 (Specific advice for GNU/Linux systems): Describe use of headers
57851 from "make headers_install", not private headers from older
57853 * INSTALL: Regenerated.
57854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
57856 * sysdeps/unix/sysv/linux/configure: Regenerated.
57858 * manual/llio.texi (fclean): Remove documentation.
57860 * manual/Makefile (libc-texi-generated): New variable. Include
57862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
57863 $(libc-texi-generated), not duplicated list of files.
57864 (version.texi, stamp-version): New rules.
57865 (realclean): Remove $(libc-texi-generated), not individual files
57866 from that list. Do not remove dir-add.texinfo.
57867 * manual/libc.texinfo: Comment out uses of edition numbers and
57868 references to printed manual. Remove last-updated dates.
57869 (EDITION): Comment out.
57871 (VERSION, UPDATED): Remove.
57872 (version.texi): Include.
57874 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
57876 * sysdeps/posix/spawni.c: Include <signal.h>.
57877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
57878 * sysdeps/pthread/aio_fsync.c: Likewise.
57880 2012-02-26 Ulrich Drepper <drepper@gmail.com>
57882 * conform/Makefile (tests): Run only when not cross-compiling and
57883 when fast-check is not defined.
57885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
57886 * conform/data/limits.h-data: Fixes for POSIX2008.
57887 * conform/run-conformtest.sh: Run all tests.
57888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
57890 * include/bits/dlfcn.h: Likewise.
57891 * include/langinfo.h: Likewise.
57892 * include/monetary.h: Likewise.
57893 * include/sys/poll.h: Likewise.
57895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
57897 * posix/spawn.h: Define __need_sigset_t.
57898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
57899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
57900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
57901 to get sigevent_t only.
57902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
57903 only for __USE_GNU.
57904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57906 process_vm_writev only for __USE_GNU.
57907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
57909 * conform/Makefile: For now ignore errors from run-conformtest.
57910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
57911 POSIX to avoid namespace pollution. Don't prepend headers.
57912 * conform/data/aio.h-data: Fixes for POSIX testing.
57913 * conform/data/fcntl.h-data: Likewise.
57914 * conform/data/glob.h-data: Likewise.
57915 * conform/data/grp.h-data: Likewise.
57916 * conform/data/pthread.h-data: Likewise.
57917 * conform/data/pwd.h-data: Likewise.
57918 * conform/data/signal.h-data: Likewise.
57919 * conform/data/spawn.h-data: Likewise.
57920 * conform/data/stdio.h-data: Likewise.
57921 * conform/data/stdlib.h-data: Likewise.
57922 * conform/data/stropts.h-data: Likewise.
57923 * conform/data/sys/mman.h-data: Likewise.
57924 * conform/data/sys/stat.h-data: Likewise.
57925 * conform/data/sys/types.h-data: Likewise.
57926 * conform/data/sys/wait.h-data: Likewise.
57927 * conform/data/time.h-data: Likewise.
57928 * conform/data/unistd.h-data: Likewise.
57929 * conform/data/utime.h-data: Likewise.
57931 * io/sys/stat.h: fchmod was always in POSIX.
57932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
57933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
57934 * rt/aio.h: Define __need_timespec before including <time.h>.
57935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57936 struct. Add forward declaration of pthread_attr_t and use it in
57938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
57941 always remove CLK_TCK definition.
57943 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
57945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
57947 2012-02-25 Ulrich Drepper <drepper@gmail.com>
57949 * conform/run-conformtest.sh: New file.
57950 * conform/Makefile: Run run-conformtest for tests.
57951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
57954 * conform/data/uchar.h-data: New file.
57955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57956 * conform/data/arpa/inet.h-data: Likewise.
57957 * conform/data/assert.h-data: Likewise.
57958 * conform/data/complex.h-data: Likewise.
57959 * conform/data/cpio.h-data: Likewise.
57960 * conform/data/ctype.h-data: Likewise.
57961 * conform/data/dirent.h-data: Likewise.
57962 * conform/data/dlfcn.h-data: Likewise.
57963 * conform/data/errno.h-data: Likewise.
57964 * conform/data/fcntl.h-data: Likewise.
57965 * conform/data/float.h-data: Likewise.
57966 * conform/data/fmtmsg.h-data: Likewise.
57967 * conform/data/fnmatch.h-data: Likewise.
57968 * conform/data/ftw.h-data: Likewise.
57969 * conform/data/glob.h-data: Likewise.
57970 * conform/data/grp.h-data: Likewise.
57971 * conform/data/iconv.h-data: Likewise.
57972 * conform/data/inttypes.h-data: Likewise.
57973 * conform/data/langinfo.h-data: Likewise.
57974 * conform/data/libgen.h-data: Likewise.
57975 * conform/data/limits.h-data: Likewise.
57976 * conform/data/locale.h-data: Likewise.
57977 * conform/data/math.h-data: Likewise.
57978 * conform/data/monetary.h-data: Likewise.
57979 * conform/data/mqueue.h-data: Likewise.
57980 * conform/data/ndbm.h-data: Likewise.
57981 * conform/data/net/if.h-data: Likewise.
57982 * conform/data/netdb.h-data: Likewise.
57983 * conform/data/netinet/in.h-data: Likewise.
57984 * conform/data/nl_types.h-data: Likewise.
57985 * conform/data/poll.h-data: Likewise.
57986 * conform/data/pthread.h-data: Likewise.
57987 * conform/data/pwd.h-data: Likewise.
57988 * conform/data/regex.h-data: Likewise.
57989 * conform/data/sched.h-data: Likewise.
57990 * conform/data/search.h-data: Likewise.
57991 * conform/data/semaphore.h-data: Likewise.
57992 * conform/data/setjmp.h-data: Likewise.
57993 * conform/data/signal.h-data: Likewise.
57994 * conform/data/spawn.h-data: Likewise.
57995 * conform/data/stdarg.h-data: Likewise.
57996 * conform/data/stdio.h-data: Likewise.
57997 * conform/data/stdlib.h-data: Likewise.
57998 * conform/data/string.h-data: Likewise.
57999 * conform/data/strings.h-data: Likewise.
58000 * conform/data/stropts.h-data: Likewise.
58001 * conform/data/sys/ipc.h-data: Likewise.
58002 * conform/data/sys/mman.h-data: Likewise.
58003 * conform/data/sys/msg.h-data: Likewise.
58004 * conform/data/sys/resource.h-data: Likewise.
58005 * conform/data/sys/select.h-data: Likewise.
58006 * conform/data/sys/sem.h-data: Likewise.
58007 * conform/data/sys/shm.h-data: Likewise.
58008 * conform/data/sys/socket.h-data: Likewise.
58009 * conform/data/sys/stat.h-data: Likewise.
58010 * conform/data/sys/statvfs.h-data: Likewise.
58011 * conform/data/sys/time.h-data: Likewise.
58012 * conform/data/sys/timeb.h-data: Likewise.
58013 * conform/data/sys/times.h-data: Likewise.
58014 * conform/data/sys/types.h-data: Likewise.
58015 * conform/data/sys/uio.h-data: Likewise.
58016 * conform/data/sys/un.h-data: Likewise.
58017 * conform/data/sys/utsname.h-data: Likewise.
58018 * conform/data/sys/wait.h-data: Likewise.
58019 * conform/data/syslog.h-data: Likewise.
58020 * conform/data/tar.h-data: Likewise.
58021 * conform/data/termios.h-data: Likewise.
58022 * conform/data/utime.h-data: Likewise.
58023 * conform/data/utmpx.h-data: Likewise.
58024 * conform/data/varargs.h-data: Likewise.
58025 * conform/data/wchar.h-data: Likewise.
58026 * conform/data/wctype.h-data: Likewise.
58027 * conform/data/wordexp.h-data: Likewise.
58029 * include/stropts.h: New file.
58030 * include/uchar.h: New file.
58031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
58032 * include/assert.h: Likewise.
58033 * include/ctype.h: Likewise.
58034 * include/dirent.h: Likewise.
58035 * include/dlfcn.h: Likewise.
58036 * include/fcntl.h: Likewise.
58037 * include/fnmatch.h: Likewise.
58038 * include/glob.h: Likewise.
58039 * include/grp.h: Likewise.
58040 * include/libio.h: Likewise.
58041 * include/locale.h: Likewise.
58042 * include/math.h: Likewise.
58043 * include/net/if.h: Likewise.
58044 * include/netdb.h: Likewise.
58045 * include/netinet/in.h: Likewise.
58046 * include/pthread.h: Likewise.
58047 * include/pwd.h: Likewise.
58048 * include/regex.h: Likewise.
58049 * include/sched.h: Likewise.
58050 * include/search.h: Likewise.
58051 * include/setjmp.h: Likewise.
58052 * include/signal.h: Likewise.
58053 * include/stdio.h: Likewise.
58054 * include/stdlib.h: Likewise.
58055 * include/string.h: Likewise.
58056 * include/sys/cdefs.h: Likewise.
58057 * include/sys/mman.h: Likewise.
58058 * include/sys/msg.h: Likewise.
58059 * include/sys/resource.h: Likewise.
58060 * include/sys/select.h: Likewise.
58061 * include/sys/socket.h: Likewise.
58062 * include/sys/stat.h: Likewise.
58063 * include/sys/statvfs.h: Likewise.
58064 * include/sys/time.h: Likewise.
58065 * include/sys/times.h: Likewise.
58066 * include/sys/uio.h: Likewise.
58067 * include/sys/utsname.h: Likewise.
58068 * include/sys/wait.h: Likewise.
58069 * include/termios.h: Likewise.
58070 * include/time.h: Likewise.
58071 * include/ulimit.h: Likewise.
58072 * include/unistd.h: Likewise.
58073 * include/utime.h: Likewise.
58074 * include/wchar.h: Likewise.
58075 * include/wctype.h: Likewise.
58076 * include/wordexp.h: Likewise.
58078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58080 * time/time.h: TIME_UTC must be a macro.
58081 Make timespec_get available for ISO C11 only as well.
58083 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58090 * configure.in: Use -o not -a in test for unsupported multi-arch.
58092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58094 * manual/texinfo.tex: Update to version 2012-01-19.16.
58096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58100 2012-02-24 Roland McGrath <roland@hack.frob.com>
58103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58104 * manual/fdl-1.3.texi: New file.
58105 * manual/fdl-1.1.texi: File removed.
58108 * manual/libc.texinfo (FDL_VERSION): New @set.
58109 Use it for mention of FDL in cover text.
58110 (Documentation License): Use it in @include file name.
58112 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58113 Roland McGrath <roland@hack.frob.com>
58116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58117 (not LONG_LONG_MAX and LONG_LONG_MIN.
58118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58123 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58128 manipulate bits before adding and subtracting TWO23[sx].
58129 * math/libm-test.inc (nearbyint_test): Add more tests.
58131 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58135 bits before adding and subtracting TWO23[sx].
58136 * math/libm-test.inc (rint_test): Add more tests.
58137 (rint_test_tonearest): Likewise.
58138 (rint_test_towardzero): Likewise.
58139 (rint_test_downward): Likewise.
58140 (rint_test_upward: Likewise.
58142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58145 * include/stdc-predef.h: New file. Extracted from features.h.
58146 * include/features.h: Include stdc-predef.h.
58147 * Makefile (headers): Add stdc-predef.h.
58148 * CONFORMANCE (Compiler limitations): Update.
58150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58154 2012-02-21 David S. Miller <davem@davemloft.net>
58156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58159 2012-02-20 David S. Miller <davem@davemloft.net>
58161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58162 using a normal save/restore sequence, rather than allocating a
58163 dummy stack frame just to store a frame pointer and restore.
58164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58166 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58168 * manual/install.texi: Fix stray word in line-wrapped comment.
58170 2012-02-20 David S. Miller <davem@davemloft.net>
58172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58173 both binutils and gcc support GOTDATA.
58175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58176 "rd %pc" in the PIC register setup sequences.
58178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58187 (SYSCALL_ERROR_HANDLER): Likewise.
58188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58191 (SYSCALL_ERROR_HANDLER): Likewise.
58193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58194 (HAVE_GCC_GOTDATA): New.
58195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58196 relocation support in both binutils and gcc.
58197 * sysdeps/sparc/elf/configure: Regenerate.
58199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58200 * sysdeps/sparc/sparc32/elf/configure: Delete.
58201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58202 * sysdeps/sparc/sparc64/elf/configure: Delete.
58203 * sysdeps/sparc/elf/configure.in: New file.
58204 * sysdeps/sparc/elf/configure: Generate.
58206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58212 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58214 * manual/install.texi: Do not mention specific glibc version
58216 * manual/libc.texinfo (VERSION, UPDATED): Update.
58217 (@copying): Use @copyright{} and range of years.
58219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58223 [crti.S not in sysdirs] (generated): Do not append.
58224 [crti.S not in sysdirs] (omit-deps): Likewise.
58225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58234 * csu/defs.awk: Remove file.
58235 * sysdeps/generic/initfini.c: Likewise.
58236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58251 (__EPOLL_PACKED): Define to empty if not defined by
58253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58257 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58268 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58277 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58282 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58292 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58294 * math/w_acos.c: Use non-signaling floating-point comparisons.
58295 * math/w_acosf.c: Likewise.
58296 * math/w_acosh.c: Likewise.
58297 * math/w_acoshf.c: Likewise.
58298 * math/w_acoshl.c: Likewise.
58299 * math/w_acosl.c: Likewise.
58300 * math/w_asin.c: Likewise.
58301 * math/w_asinf.c: Likewise.
58302 * math/w_asinl.c: Likewise.
58303 * math/w_atanh.c: Likewise.
58304 * math/w_atanhf.c: Likewise.
58305 * math/w_atanhl.c: Likewise.
58306 * math/w_exp2.c: Likewise.
58307 * math/w_exp2f.c: Likewise.
58308 * math/w_exp2l.c: Likewise.
58309 * math/w_j0.c: Likewise.
58310 * math/w_j0f.c: Likewise.
58311 * math/w_j0l.c: Likewise.
58312 * math/w_j1.c: Likewise.
58313 * math/w_j1f.c: Likewise.
58314 * math/w_j1l.c: Likewise.
58315 * math/w_jn.c: Likewise.
58316 * math/w_jnf.c: Likewise.
58317 * math/w_log.c: Likewise.
58318 * math/w_log10.c: Likewise.
58319 * math/w_log10f.c: Likewise.
58320 * math/w_log10l.c: Likewise.
58321 * math/w_log2.c: Likewise.
58322 * math/w_log2f.c: Likewise.
58323 * math/w_log2l.c: Likewise.
58324 * math/w_logf.c: Likewise.
58325 * math/w_logl.c: Likewise.
58326 * math/w_sqrt.c: Likewise.
58327 * math/w_sqrtf.c: Likewise.
58328 * math/w_sqrtl.c: Likewise.
58329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58338 * manual/string.texi (strnlen): Use correct parameter name in
58339 equivalent expression.
58341 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58344 * manual/users.texi (seteuid): Consistently use neweuid for
58347 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58350 * manual/nss.texi (Services in the NSS configuration): Correct
58351 list of services in example configuration file.
58353 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58356 * manual/arith.texi: Remove statements about negative zero
58357 behaving identically to zero.
58359 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58362 * manual/install.texi: Do not document upgrading from libc5.
58364 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58369 2012-02-18 David S. Miller <davem@davemloft.net>
58371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58373 %o7 across the call.
58374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58377 SETUP_PIC_REG_LEAF.
58378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58380 * sysdeps/sparc/crtn.S: Likewise.
58382 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58384 * aout/Makefile: Remove.
58386 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58389 * manual/examples/argp-ex1.c (main): Format definition in GNU
58391 * manual/examples/argp-ex2.c (main): Likewise.
58392 * manual/examples/argp-ex3.c (main): Likewise.
58393 * manual/examples/argp-ex4.c (main): Likewise.
58394 * manual/examples/longopt.c (main): Use new-style prototype
58396 * manual/examples/strncat.c (main): Specify return type and use
58397 (void) for arguments.
58398 * manual/examples/subopt.c (main): Use char **argv argument.
58400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58406 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58409 * manual/string.texi (strchr): Change when strchrnul is
58412 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58415 * manual/locale.texi (setlocale): Document LOCPATH.
58417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58420 * manual/process.texi (execle): Move @dots{} before last argument.
58422 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58425 * manual/charset.texi (Generic Charset Conversion): Fix typo
58426 (LC_TYPE -> LC_CTYPE).
58428 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58432 (scalbnf): Likewise.
58433 (scalbnl): Likewise.
58434 (scalbln): Likewise.
58435 (scalblnf): Likewise.
58436 (scalblnl): Likewise.
58437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58438 (vwarnx): Likewise.
58441 * manual/filesys.texi (telldir): Use braces around return type.
58442 * manual/llio.texi (mmap): Add space after comma.
58443 (mmap64): Likewise.
58444 * manual/math.texi (jn): Use @var{} on parameter names.
58450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
58454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
58455 (sched_get_priority_max): Likewise.
58456 * manual/signal.texi (sigvec): Add space after comma.
58457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58459 (if_indextoname): Likewise.
58460 (if_freenameindex): Likewise.
58461 (sendto): Use ',' instead of '.' in prototype.
58462 * manual/startup.texi (syscall): Use @dots{} instead of literal
58464 * manual/stdio.texi (__fpending): Separate initial words of
58465 paragraph from @deftypefun line.
58466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
58468 (vsyslog): Use @var{} on parameter names.
58469 * manual/terminal.texi (stty): Use @var{} on parameter names.
58470 * manual/users.texi (getutmp): Use @var{} on parameter names.
58471 (getutmpx): Likewise.
58473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58476 * manual/stdio.texi (fopen): Fix typos in description of
58479 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
58482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58483 get clock_id definition.
58485 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
58488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58489 (madvise): Cast every argument to void on its own.
58491 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58494 * manual/startup.texi (Exit Status): Fix typo.
58496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
58500 * manual/examples/argp-ex2.c: Likewise.
58501 * manual/examples/argp-ex3.c: Likewise.
58503 2012-02-16 Richard Henderson <rth@redhat.com>
58505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58506 * sysdeps/s390/s390-32/initfini.c: Remove.
58507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58508 * sysdeps/s390/s390-64/initfini.c: Remove.
58510 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58513 compiler output for sysdeps/generic/initfini.c.
58514 * sysdeps/sh/elf/initfini.c: Remove file.
58516 2012-02-16 David S. Miller <davem@davemloft.net>
58519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58522 * sysdeps/sparc/crti.S: New file.
58523 * sysdeps/sparc/crtn.S: New file.
58524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58525 * sysdeps/sparc/sparc64/Makefile: Likewise.
58527 2012-02-15 Mike Frysinger <vapier@gentoo.org>
58530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58532 2012-02-15 Roland McGrath <roland@hack.frob.com>
58535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
58538 (write, read, close): Likewise.
58539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
58541 2012-02-15 Joseph Myers <joseph@codesourcery.com>
58543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58552 2012-02-14 Marek Polacek <polacek@redhat.com>
58554 * sysdeps/x86_64/crti.S: New file.
58555 * sysdeps/x86_64/crtn.S: New file.
58556 * sysdeps/x86_64/elf/initfini.c: Remove file.
58558 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58569 2012-02-13 Joseph Myers <joseph@codesourcery.com>
58571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58580 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
58582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58583 __feraiseexcept instead of feraiseexcept.
58585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58586 nanosleep invocations.
58587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58588 strings, and add error checking for a nanosleep invocations.
58590 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
58592 Replace FSF snail mail address with URLs, as per GNU coding standards.
58593 Most of the snail mail addresses were wrong anyway, and omitting
58594 them makes the source code easier to maintain. Almost all of the
58595 changes are to license notices and to locale LC_IDENTIFICATION
58596 addresses, except for this one:
58597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
58598 not its snail mail address.
58600 2012-02-09 Richard Henderson <rth@twiddle.net>
58602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
58603 of kernel-features.h.
58605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
58607 2012-02-08 Marek Polacek <polacek@redhat.com>
58609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
58610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
58611 * sysdeps/gnu/_G_config.h: Likewise.
58612 * sysdeps/generic/_G_config.h: Likewise.
58614 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
58616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
58618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58620 * sysdeps/powerpc/powerpc32/crti.S: New file.
58621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
58622 * sysdeps/powerpc/powerpc64/crti.S: New file.
58623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
58625 * Makeconfig (have-initfini): Don't set.
58626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
58627 * configure.in (nopic_initfini): Don't substitute.
58628 * config.h.in (HAVE_INITFINI): Don't #undef.
58629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
58630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
58632 2012-02-08 Joseph Myers <joseph@codesourcery.com>
58634 Support crti.S and crtn.S provided directly by architectures.
58635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
58636 [crti.S in sysdirs] (omit-deps): Likewise.
58637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
58638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
58639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
58640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
58641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
58642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
58643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
58644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
58645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
58646 compiler output for sysdeps/generic/initfini.c.
58647 * sysdeps/i386/elf/Makefile: Remove file.
58648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
58650 2012-02-07 Marek Polacek <polacek@redhat.com>
58652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
58653 * sysdeps/gnu/_G_config.h: Likewise.
58654 * sysdeps/mach/hurd/_G_config.h: Likewise.
58656 2012-02-07 Marek Polacek <polacek@redhat.com>
58658 * math/Makefile (tests): Add tst-CMPLX2.
58659 * math/tst-CMPLX2.c: New file.
58661 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
58663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58665 * math/libm-test.inc (jn_test): Add missing L suffix.
58667 2012-02-06 Marek Polacek <polacek@redhat.com>
58669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
58670 * sysdeps/i386/fpu/e_powf.S: Likewise.
58671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
58674 * sysdeps/i386/fpu/e_pow.S: Likewise.
58675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
58678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58679 * sysdeps/i386/fpu/e_log2.S: Likewise.
58680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
58681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
58682 * sysdeps/i386/fpu/e_powl.S: Likewise.
58683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
58684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
58685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58686 * sysdeps/i386/fpu/e_logl.S: Likewise.
58687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
58689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
58692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58693 * sysdeps/i386/fpu/e_log.S: Likewise.
58694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
58695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
58697 * sysdeps/i386/fpu/e_logf.S: Likewise.
58698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
58700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
58701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58703 * sysdeps/i386/fpu/e_log10.S: Likewise.
58704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
58705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
58707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58710 * sysdeps/i386/asm-syntax.h: Likewise.
58711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
58715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
58716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58720 * sysdeps/powerpc/sysdep.h: Likewise.
58721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
58722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58724 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
58729 2012-02-06 Joseph Myers <joseph@codesourcery.com>
58731 * sysdeps/i386/sysdep.h: Include <features.h>.
58732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
58735 2012-02-05 Joseph Myers <joseph@codesourcery.com>
58737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
58739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
58742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
58745 (SETUP_PIC_REG): Use GET_PC_THUNK.
58746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
58749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
58752 for non-PIC compilation.
58753 (SETUP_PIC_REG): Add .p2align directive.
58754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
58755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
58756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
58761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
58798 * math/tst-CMPLX.c: Include <stdio.h>.
58800 2012-01-31 Joseph Myers <joseph@codesourcery.com>
58802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
58804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58805 * sysdeps/sparc/bits/mathdef.h: Likewise.
58807 2012-01-31 Marek Polacek <polacek@redhat.com>
58809 * libio/libio.h: Don't define _PARAMS.
58810 * locale/programs/config.h: Don't define PARAMS.
58811 * stdlib/strtol_l.c: Likewise.
58812 (__strtol_l): Remove PARAMS from the prototype.
58814 2012-01-31 Ulrich Drepper <drepper@gmail.com>
58816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
58817 names. Just use the correct names. Remove unnecessary wrapper
58819 * malloc/arena.c: Likewise.
58820 * malloc/hooks.c: Likewise.
58822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
58823 ARENA_TEST says not to. Simplify test for creation of a new arena.
58824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
58826 2012-01-30 Ulrich Drepper <drepper@gmail.com>
58828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
58830 (update_get_addr): New function.
58831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
58832 GET_ADDR_MODULE parameter.
58834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58836 * crypt/cert.c: Remove __STDC__ conditionals.
58837 * crypt/crypt-entry.c: Likewise.
58838 * crypt/crypt_util.c: Likewise.
58839 * libio/filedoalloc.c: Likewise.
58840 * libio/fileops.c: Likewise.
58841 * libio/genops.c: Likewise.
58842 * libio/iofclose.c: Likewise.
58843 * libio/iofdopen.c: Likewise.
58844 * libio/iofopen.c: Likewise.
58845 * libio/iofopen64.c: Likewise.
58846 * libio/iogetdelim.c: Likewise.
58847 * libio/iopopen.c: Likewise.
58848 * libio/obprintf.c: Likewise.
58849 * libio/oldfileops.c: Likewise.
58850 * libio/oldiofclose.c: Likewise.
58851 * libio/oldiofdopen.c: Likewise.
58852 * libio/oldiofopen.c: Likewise.
58853 * libio/oldiopopen.c: Likewise.
58854 * libio/wfiledoalloc.c: Likewise.
58855 * libio/wgenops.c: Likewise.
58856 * locale/programs/xmalloc.c: Likewise.
58857 * misc/syslog.c: Likewise.
58858 * stdio-common/xbug.c: Likewise.
58859 * string/memchr.c: Likewise.
58860 * string/memcmp.c: Likewise.
58861 * string/memrchr.c: Likewise.
58862 * string/rawmemchr.c: Likewise.
58863 * sysdeps/posix/getcwd.c: Likewise.
58864 * time/strftime_l.c: Likewise.
58866 2012-01-30 Joseph Myers <joseph@codesourcery.com>
58868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
58869 * config.make.in (config-cflags-sse2avx): Define.
58870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
58873 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
58875 * scripts/config.guess: Update from upstream config git repository.
58876 * scripts/config.sub: Likewise.
58878 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
58880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
58882 (R_TILEPRO_*, R_TILEGX_*): New macros.
58884 * scripts/firstversions.awk: Fix bug in version range handling.
58886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
58888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
58890 * include/sys/epoll.h: New file.
58891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
58894 2012-01-28 Ulrich Drepper <drepper@gmail.com>
58896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
58897 Avoid unnecessary __WORDSIZE == 64 test.
58898 (fmaxf): Use VEX format if possible.
58903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
58904 * math/math_private.h: Remove libc_fegetround* and
58906 * sysdeps/i386/configure.in: Check for -msse2avx.
58907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
58908 also if SSE2AVX is defined.
58909 Remove libc_fegetround* and libc_fesetround*.
58910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
58911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
58912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
58914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
58922 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
58926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58928 2012-01-27 Ulrich Drepper <drepper@gmail.com>
58931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
58933 * Makeconfig (libm): Define.
58934 * elf/Makefile: Add rules to build and run tst-relsort1.
58935 * elf/tst-relsort1.c: New file.
58936 * elf/tst-relsort1mod1.c: New file.
58937 * elf/tst-relsort1mod2.c: New file.
58939 2012-01-27 Joseph Myers <joseph@codesourcery.com>
58941 * math/s_ldexp.c: Remove __STDC__ conditionals.
58942 * math/s_ldexpf.c: Likewise.
58943 * math/s_ldexpl.c: Likewise.
58944 * math/s_nextafter.c: Likewise.
58945 * math/s_nexttowardf.c: Likewise.
58946 * math/s_significand.c: Likewise.
58947 * math/s_significandf.c: Likewise.
58948 * math/s_significandl.c: Likewise.
58949 * math/w_jnl.c: Likewise.
58950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58990 * sysdeps/ieee754/k_standard.c: Likewise.
58991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59070 * sysdeps/ieee754/s_matherr.c: Likewise.
59071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59076 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59078 * crypt/md5.h: Remove __STDC__ conditionals.
59079 * libio/libioP.h: Likewise.
59080 * locale/programs/config.h: Likewise.
59081 * sysdeps/generic/sysdep.h: Likewise.
59082 * sysdeps/i386/asm-syntax.h: Likewise.
59083 * sysdeps/s390/asm-syntax.h: Likewise.
59084 * sysdeps/unix/sysdep.h: Likewise.
59085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59088 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59090 * libio/libio.h: Remove __STDC__ conditionals.
59091 * malloc/obstack.h: Likewise.
59092 * math/complex.h: Likewise.
59093 * math/math.h: Likewise.
59094 * sysdeps/generic/_G_config.h: Likewise.
59095 * sysdeps/gnu/_G_config.h: Likewise.
59096 * sysdeps/mach/hurd/_G_config.h: Likewise.
59097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59099 * sysdeps/sparc/bits/mathdef.h: Likewise.
59101 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59105 Clean up HAS_* macros.
59106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59117 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59119 * elf/tst-unique3.cc (gets): Remove declaration.
59120 * elf/tst-unique3lib.cc (gets): Likewise.
59121 * elf/tst-unique3lib2.cc (gets): Likewise.
59122 * elf/tst-unique4.cc (gets): Likewise.
59124 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59126 * include/stdio.h: Add C++ protection. Add gets declarations and
59128 * debug/tst-chk1.c: Don't declare gets here.
59129 * stdio-common/tst-gets.c: Likewise.
59131 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59133 * posix/glob: Remove directory.
59135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59139 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59142 of the non-standard EPFNOSUPPORT.
59144 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59150 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59154 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59158 * nscd/grpcache.c (cache_addgr): Likewise.
59159 * nscd/hstcache.c (cache_addhst): Likewise.
59160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59161 * nscd/pwdcache.c (cache_addpw): Likewise.
59162 * nscd/servicescache.c (cache_addserv): Likewise.
59164 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59166 * malloc/malloc.c: Various cleanups.
59167 * malloc/hooks.c: Likewise.
59169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59170 * stdlib/bug-fmtmsg1.c: New file.
59172 * stdlib/fmtmsg.c (init): Add missing unlock.
59173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59175 2012-01-12 Marek Polacek <polacek@redhat.com>
59177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59180 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59184 macro to ensure uniqueness of label name.
59185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59188 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59197 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59212 * math/bits/math-finite.h: Add ldexp support.
59214 2012-01-10 Marek Polacek <polacek@redhat.com>
59216 * locale/programs/localedef.h (show_archive_content): Add noreturn
59219 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59223 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59227 * io/Makefile (headers): Add bits/poll2.h.
59229 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59232 typo #include statement.
59234 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59236 * include/sys/cdefs.h: Define __attribute_alloc_size.
59237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59239 * elf/pldd.c: Likewise.
59240 * iconv/iconv_charmap.c: Likewise.
59241 * iconv/iconvconfig.c: Likewise.
59242 * iconv/strtab.c: Likewise.
59243 * locale/programs/locale.c: Likewise.
59244 * locale/programs/localedef.h: Likewise.
59245 * locale/programs/simple-hash.c: Likewise.
59246 * nscd/nscd.h: Likewise.
59247 * nss/makedb.c: Likewise.
59248 * sysdeps/generic/ldconfig.h: Likewise.
59249 * locale/programs/localedef.c: Remove xmalloc prototype.
59250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59252 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59257 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59259 * math/Makefile (tests): Add tst-CMPLX.
59260 * math/tst-CMPLX.c: New file.
59262 * math/complex.h (CMPLXL): Fix typo.
59264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59267 * debug/tst-chk1.c: Add poll and ppoll tests.
59268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59269 * include/sys/poll.h: Add hidden proto for ppoll.
59270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59271 * sysdeps/mach/hurd/ppoll.c: Likewise.
59272 * io/ppoll.c: Likewise.
59273 * debug/poll_chk.c: New file.
59274 * debug/ppoll_chk.c: New file.
59275 * include/bits/poll2.h: New file.
59276 * io/bits/poll2.h: New file.
59279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59281 * configure.in: static is always set to yes. Remove.
59282 * config.make.in: Don't set build-static.
59283 * Makeconfig: Remove use of build-static.
59284 * dlfcn/Makefile: Likewise.
59285 * elf/Makefile: Likewise.
59286 * math/Makefile: Likewise.
59287 * misc/Makefile: Likewise.
59288 * nptl/Makefile: Likewise.
59289 * sysdeps/mach/hurd/Makefile: Likewise.
59291 * configure.in: PWD_P is not used anymore.
59292 * config.make.in: Remove PWD_P entry.
59294 * configure.in: Remove last remnants of RANLIB.
59295 No need to check for signed size_t anymore.
59296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59298 Remove __builtin_expect test because we require at least gcc 3.4.
59299 * aclocal.m4: Likewise.
59301 * wcsmbs/mbrtoc16.c: Implement using towc function.
59302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59303 * wcsmbs/wcsmbsload.c: Likewise.
59304 * iconv/gconv_simple.c: Likewise.
59305 * iconv/gconv_int.h: Likewise.
59306 * iconv/gconv_builtin.h: Likewise.
59307 * iconv/iconv_prog.c: Remove CHAR16 handling.
59309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59313 * configure.in: Remove --with-elf and --enable-bounded options.
59314 Dont set base_machine for ia64. More non-ELF conditions removed.
59315 Remove testing and setting of leading underscore information.
59316 * config.make.in (build-bounded): Set to no.
59317 * config.h.in: Remove NO_UNDERSCORES entry.
59318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59320 * csu/start.c: Remove !NO_UNDERSCORE code.
59321 * locale/localeinfo.h: Likewise.
59322 * sysdeps/generic/machine-gmon.h: Likewise.
59323 * sysdeps/generic/sysdep.h: Likewise.
59324 * sysdeps/i386/sysdep.h: Likewise.
59325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59326 * sysdeps/mach/sysdep.h: Likewise.
59327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59329 * sysdeps/sh/sysdep.h: Likewise.
59330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59331 * sysdeps/unix/i386/sysdep.S: Likewise.
59332 * sysdeps/unix/sparc/start.c: Likewise.
59333 * sysdeps/unix/sparc/sysdep.S: Likewise.
59334 * sysdeps/unix/sparc/sysdep.h: Likewise.
59335 * sysdeps/unix/start.c: Likewise.
59336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59337 * sysdeps/x86_64/sysdep.h: Likewise.
59339 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59344 * argp/argp-fmtstream.h: Use const instead __const.
59345 * argp/argp.h: Likewise.
59346 * assert/assert.h: Likewise.
59347 * bits/fenv.h: Likewise.
59348 * bits/sched.h: Likewise.
59349 * bits/sigset.h: Likewise.
59350 * bits/sigthread.h: Likewise.
59351 * catgets/nl_types.h: Likewise.
59352 * conform/data/pthread.h-data: Likewise.
59353 * crypt/crypt-private.h: Likewise.
59354 * crypt/crypt.h: Likewise.
59355 * crypt/crypt_util.c: Likewise.
59356 * ctype/ctype.h: Likewise.
59357 * debug/execinfo.h: Likewise.
59358 * debug/mbsnrtowcs_chk.c: Likewise.
59359 * debug/mbsrtowcs_chk.c: Likewise.
59360 * debug/wcsnrtombs_chk.c: Likewise.
59361 * debug/wcsrtombs_chk.c: Likewise.
59362 * debug/wcstombs_chk.c: Likewise.
59363 * dirent/dirent.h: Likewise.
59364 * dlfcn/dlfcn.h: Likewise.
59365 * elf/neededtest4.c: Likewise.
59366 * grp/grp.h: Likewise.
59367 * gshadow/gshadow.h: Likewise.
59368 * iconv/gconv.h: Likewise.
59369 * iconv/gconv_int.h: Likewise.
59370 * iconv/gconv_simple.c: Likewise.
59371 * iconv/iconv.h: Likewise.
59372 * iconv/loop.c: Likewise.
59373 * iconv/skeleton.c: Likewise.
59374 * include/aio.h: Likewise.
59375 * include/aliases.h: Likewise.
59376 * include/argz.h: Likewise.
59377 * include/arpa/inet.h: Likewise.
59378 * include/assert.h: Likewise.
59379 * include/dirent.h: Likewise.
59380 * include/dlfcn.h: Likewise.
59381 * include/execinfo.h: Likewise.
59382 * include/fcntl.h: Likewise.
59383 * include/fenv.h: Likewise.
59384 * include/glob.h: Likewise.
59385 * include/grp.h: Likewise.
59386 * include/libintl.h: Likewise.
59387 * include/mntent.h: Likewise.
59388 * include/netdb.h: Likewise.
59389 * include/pwd.h: Likewise.
59390 * include/rpc/netdb.h: Likewise.
59391 * include/sched.h: Likewise.
59392 * include/search.h: Likewise.
59393 * include/shadow.h: Likewise.
59394 * include/signal.h: Likewise.
59395 * include/stdio.h: Likewise.
59396 * include/stdlib.h: Likewise.
59397 * include/string.h: Likewise.
59398 * include/sys/socket.h: Likewise.
59399 * include/sys/stat.h: Likewise.
59400 * include/sys/statfs.h: Likewise.
59401 * include/sys/statvfs.h: Likewise.
59402 * include/sys/syslog.h: Likewise.
59403 * include/sys/time.h: Likewise.
59404 * include/sys/uio.h: Likewise.
59405 * include/time.h: Likewise.
59406 * include/unistd.h: Likewise.
59407 * include/utmp.h: Likewise.
59408 * include/wchar.h: Likewise.
59409 * include/wctype.h: Likewise.
59410 * inet/aliases.h: Likewise.
59411 * inet/arpa/inet.h: Likewise.
59412 * inet/netinet/ether.h: Likewise.
59413 * inet/netinet/in.h: Likewise.
59414 * intl/libintl.h: Likewise.
59415 * io/bits/fcntl2.h: Likewise.
59416 * io/fcntl.h: Likewise.
59417 * io/ftw.h: Likewise.
59418 * io/sys/poll.h: Likewise.
59419 * io/sys/stat.h: Likewise.
59420 * io/sys/statfs.h: Likewise.
59421 * io/sys/statvfs.h: Likewise.
59422 * io/utime.h: Likewise.
59423 * libio/bits/stdio.h: Likewise.
59424 * libio/bits/stdio2.h: Likewise.
59425 * libio/libio.h: Likewise.
59426 * libio/libioP.h: Likewise.
59427 * libio/stdio.h: Likewise.
59428 * locale/lc-ctype.c: Likewise.
59429 * locale/locale.h: Likewise.
59430 * login/utmp.h: Likewise.
59431 * malloc/arena.c: Likewise.
59432 * malloc/malloc.c: Likewise.
59433 * malloc/malloc.h: Likewise.
59434 * malloc/mcheck.c: Likewise.
59435 * malloc/mtrace.c: Likewise.
59436 * math/bits/mathcalls.h: Likewise.
59437 * math/fenv.h: Likewise.
59438 * math/math_private.h: Likewise.
59439 * misc/bits/error.h: Likewise.
59440 * misc/bits/syslog.h: Likewise.
59441 * misc/err.h: Likewise.
59442 * misc/error.h: Likewise.
59443 * misc/fstab.h: Likewise.
59444 * misc/mntent.h: Likewise.
59445 * misc/regexp.h: Likewise.
59446 * misc/search.h: Likewise.
59447 * misc/sgtty.h: Likewise.
59448 * misc/sys/mman.h: Likewise.
59449 * misc/sys/syslog.h: Likewise.
59450 * misc/sys/uio.h: Likewise.
59451 * misc/sys/xattr.h: Likewise.
59452 * misc/ttyent.h: Likewise.
59453 * nis/rpcsvc/ypclnt.h: Likewise.
59454 * nss/nss.h: Likewise.
59455 * posix/bits/unistd.h: Likewise.
59456 * posix/fnmatch.h: Likewise.
59457 * posix/glob.h: Likewise.
59458 * posix/sched.h: Likewise.
59459 * posix/spawn.h: Likewise.
59460 * posix/sys/wait.h: Likewise.
59461 * posix/unistd.h: Likewise.
59462 * posix/wordexp.h: Likewise.
59463 * pwd/pwd.h: Likewise.
59464 * resolv/netdb.h: Likewise.
59465 * resource/sys/resource.h: Likewise.
59466 * rt/aio.h: Likewise.
59467 * rt/bits/mqueue2.h: Likewise.
59468 * rt/mqueue.h: Likewise.
59469 * shadow/shadow.h: Likewise.
59470 * signal/signal.h: Likewise.
59471 * socket/send.c: Likewise.
59472 * socket/sendto.c: Likewise.
59473 * socket/sys/socket.h: Likewise.
59474 * stdio-common/printf.h: Likewise.
59475 * stdlib/bits/stdlib.h: Likewise.
59476 * stdlib/fmtmsg.h: Likewise.
59477 * stdlib/monetary.h: Likewise.
59478 * stdlib/stdlib.h: Likewise.
59479 * stdlib/ucontext.h: Likewise.
59480 * streams/stropts.h: Likewise.
59481 * string/argz.h: Likewise.
59482 * string/bits/string2.h: Likewise.
59483 * string/string.h: Likewise.
59484 * string/strings.h: Likewise.
59485 * sunrpc/rpc/auth.h: Likewise.
59486 * sunrpc/rpc/auth_des.h: Likewise.
59487 * sunrpc/rpc/clnt.h: Likewise.
59488 * sunrpc/rpc/netdb.h: Likewise.
59489 * sunrpc/rpc/pmap_clnt.h: Likewise.
59490 * sunrpc/rpc/xdr.h: Likewise.
59491 * sysdeps/generic/inttypes.h: Likewise.
59492 * sysdeps/generic/net/if.h: Likewise.
59493 * sysdeps/generic/sys/swap.h: Likewise.
59494 * sysdeps/gnu/net/if.h: Likewise.
59495 * sysdeps/gnu/utmpx.h: Likewise.
59496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59497 * sysdeps/i386/i486/bits/string.h: Likewise.
59498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59499 * sysdeps/s390/bits/string.h: Likewise.
59500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
59515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59531 * sysvipc/sys/ipc.h: Likewise.
59532 * sysvipc/sys/msg.h: Likewise.
59533 * sysvipc/sys/sem.h: Likewise.
59534 * sysvipc/sys/shm.h: Likewise.
59535 * termios/termios.h: Likewise.
59536 * time/sys/time.h: Likewise.
59537 * time/time.h: Likewise.
59538 * wcsmbs/bits/wchar2.h: Likewise.
59539 * wcsmbs/uchar.h: Likewise.
59540 * wcsmbs/wchar.h: Likewise.
59541 * wctype/wctype.h: Likewise.
59544 * Makeconfig: Remove all but ELF support including AIX support.
59545 * Makerules: Likewise.
59546 * config.h.in: Likewise.
59547 * config.make.in: Likewise.
59548 * configure: Likewise.
59549 * configure.in: Likewise.
59550 * csu/Makefile: Likewise.
59551 * csu/version.c: Likewise.
59552 * debug/Makefile: Likewise.
59553 * dlfcn/Makefile: Likewise.
59554 * elf/Makefile: Likewise.
59555 * extra-lib.mk: Likewise.
59556 * iconv/Makefile: Likewise.
59557 * include/libc-symbols.h: Likewise.
59558 * include/shlib-compat.h: Likewise.
59559 * resolv/Makefile: Likewise.
59560 * resolv/res_libc.c: Likewise.
59561 * rt/Makefile: Likewise.
59562 * sysdeps/i386/asm-syntax.h: Likewise.
59563 * sysdeps/i386/sysdep.h: Likewise.
59564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59565 * sysdeps/mach/sysdep.h: Likewise.
59566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59568 * sysdeps/s390/asm-syntax.h: Likewise.
59569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59571 * sysdeps/sh/sysdep.h: Likewise.
59572 * sysdeps/unix/sparc/sysdep.h: Likewise.
59573 * sysdeps/wordsize-32/divdi3.c: Likewise.
59574 * sysdeps/x86_64/sysdep.h: Likewise.
59576 * argp/Versions: Remove _argp_unlock_xxx.
59579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
59580 * abilist/libBrokenLocale.abilist: Likewise.
59581 * abilist/libanl.abilist: Likewise.
59582 * abilist/libc.abilist: Likewise.
59583 * abilist/libcrypt.abilist: Likewise.
59584 * abilist/libdl.abilist: Likewise.
59585 * abilist/libm.abilist: Likewise.
59586 * abilist/libnsl.abilist: Likewise.
59587 * abilist/libpthread.abilist: Likewise.
59588 * abilist/libresolv.abilist: Likewise.
59589 * abilist/librt.abilist: Likewise.
59590 * abilist/libthread_db.abilist: Likewise.
59591 * abilist/libutil.abilist: Likewise.
59592 * abilist/libnss_db.abilist: New file.
59594 * scripts/abilist.awk: Add support for indirect functions.
59596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
59600 * shlib-versions: Remove entries for ports architectures.
59602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
59604 * elf/stackguard-macros.h: Remove support for IA-64.
59605 * elf/tst-auditmod1.c: Likewise.
59606 * sysdeps/generic/ldsodefs.h: Likewise.
59608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
59609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
59613 * configure.in: Remove --enable-omitfp support.
59615 * config.make.in: Likewise.
59616 * Makeconfig: Likewise.
59617 * manual/install.texi: Likewise.
59619 In case anyone cares, the IA-64 architecture could move to ports.
59620 * sysdeps/ia64/*: Removed.
59621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
59622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
59625 * configure.in: Remove entries for unsupported architectures.
59628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
59629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
59631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
59633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
59634 fall back to using wcrtomb.
59635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
59636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
59638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
59639 * wcsmbs/tst-c16c32-1.c: New file.
59641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
59644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
59646 * elf/tst-unique3.cc: Add explicit declaration of gets.
59647 * elf/tst-unique3lib.cc: Likewise.
59648 * elf/tst-unique3lib2.cc: Likewise.
59649 * elf/tst-unique4.cc: Likewise.
59651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
59653 2012-01-06 Joseph Myers <joseph@codesourcery.com>
59656 * assert/assert.h (static_assert): Don't define for C++.
59657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
59658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
59660 2012-01-03 Ulrich Drepper <drepper@gmail.com>
59662 * iconv/loop.c (single loop): Fix assertion in storing of
59665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
59667 2012-01-01 Ulrich Drepper <drepper@gmail.com>
59669 * posix/getconf.c: Update copyright year.
59670 * nss/getent.c: Likewise.
59671 * nss/makedb.c: Likewise.
59672 * iconv/iconvconfig.c: Likewise.
59673 * iconv/iconv_prog.c: Likewise.
59674 * elf/ldconfig.c: Likewise.
59675 * elf/pldd.c: Likewise.
59676 * elf/sotruss.ksh: Likewise.
59677 * catgets/gencat.c: Likewise.
59678 * csu/version.c: Likewise.
59679 * elf/ldd.bash.in: Likewise.
59680 * elf/sprof.c (print_version): Likewise.
59681 * locale/programs/locale.c: Likewise.
59682 * locale/programs/localedef.c: Likewise.
59683 * login/programs/pt_chown.c: Likewise.
59684 * nscd/nscd.c (print_version): Likewise.
59685 * debug/xtrace.sh: Likewise.
59686 * malloc/memusage.sh: Likewise.
59687 * malloc/mtrace.pl: Likewise.
59688 * debug/catchsegv.sh: Likewise.
59690 2011-12-30 Jakub Jelinek <jakub@redhat.com>
59692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
59695 2011-12-24 Ulrich Drepper <drepper@gmail.com>
59698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
59699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
59701 * iconv/gconv_int.h: Likewise.
59702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
59703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
59704 from libc for GLIBC_2.16.
59705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
59706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
59707 * wcsmbs/uchar.h: Really define mbstate_t.
59708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
59709 * wcsmbs/c16rtomb.c: New file.
59710 * wcsmbs/mbrtoc16.c: New file.
59711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
59712 for C/POSIX locale.
59713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
59714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
59716 * wcsmbs/wchar.h: Add missing __restrict.
59718 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59721 * time/Makefile (routines): Add timespec_get.
59722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
59723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
59724 timespec for ISO C11.
59725 * time/timespec_get.c: New file.
59726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
59727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
59730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
59731 * stdlib/stdlib.h: Declare aligned_alloc.
59732 * Versions.def: Add GLIBC_2.16 for libc.
59733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
59736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
59739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
59743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
59746 * assert/assert.h (static_assert): Define.
59748 * version.h: Update for 2.16 development version.
59751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
59754 * version.h (RELEASE): Bump for 2.15 release.
59755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
59757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
59758 Patch by Marek Polacek <mpolacek@redhat.com>.
59760 * bits/byteswap.h: Protect long long constants with __extension__.
59761 * sysdeps/i386/bits/byteswap.h: Likewise.
59762 * sysdeps/ia64/bits/byteswap.h: Likewise.
59763 * sysdeps/s390/bits/byteswap.h: Likewise.
59764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59766 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
59770 destination buffer.
59771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
59773 2011-12-23 Marek Polacek <polacek@redhat.com>
59775 * elf/dl-addr.c (determine_info): Add inline keyword.
59776 * elf/tst-auditmod4b.c (check_avx): Likewise.
59777 * elf/tst-auditmod6b.c (check_avx): Likewise.
59778 * elf/tst-auditmod6c.c (check_avx): Likewise.
59779 * elf/tst-auditmod7b.c (check_avx): Likewise.
59781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
59783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
59786 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
59790 processing for last bytes.
59792 2011-08-06 Bruno Haible <bruno@clisp.org>
59795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
59796 U+0385, not to U+1FEE.
59799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
59800 entry for U+00A5 U+0301.
59802 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
59806 buffer for the output is too small.
59808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
59812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
59813 SSE flags if possible.
59815 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
59819 processing for last bytes.
59821 2011-12-22 Joseph Myers <joseph@codesourcery.com>
59823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
59824 (syscall-list-default-options, syscall-list-default-condition)
59825 (syscall-list-includes): Define.
59826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
59827 list of ABIs and options and #if conditions for each ABI. Do not
59828 handle common syscalls between ABIs specially.
59829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
59831 (syscall-list-variants, syscall-list-32bit-options)
59832 (syscall-list-32bit-condition, syscall-list-64bit-options)
59833 (syscall-list-64bit-condition): Define.
59834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
59835 (syscall-list-variants, syscall-list-32bit-options)
59836 (syscall-list-32bit-condition, syscall-list-64bit-options)
59837 (syscall-list-64bit-condition): Define.
59838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
59840 (syscall-list-variants, syscall-list-32bit-options)
59841 (syscall-list-32bit-condition, syscall-list-64bit-options)
59842 (syscall-list-64bit-condition): Define.
59843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
59845 (syscall-list-variants, syscall-list-32bit-options)
59846 (syscall-list-32bit-condition, syscall-list-64bit-options)
59847 (syscall-list-64bit-condition): Define.
59849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
59851 * locale/iso-639.def: Add brx entry.
59854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
59855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
59857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
59858 __feraiseexcept_renamed.
59860 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
59864 EPOLLET with unsigned values.
59865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
59869 to large cancellation.
59870 * math/s_cacoshf.c: Likewise.
59871 * math/s_cacoshl.c: Likewise.
59873 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
59877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
59878 * math/s_cacoshf.c: Likewise.
59879 * math/s_cacoshl.c: Likewise.
59881 2011-12-21 Ulrich Drepper <drepper@gmail.com>
59884 * iconv/gconv.h: Define __GCONV_SWAP.
59885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
59886 * iconvdata/utf-16.c: Likewise.
59887 * iconvdata/utf-32.c: Likewise.
59889 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
59892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
59893 numerator after shifting it by one limb.
59895 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
59897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
59898 under [__USE_EXTERN_INLINES].
59900 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
59905 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
59908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
59910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
59911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
59912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
59913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
59914 for strncasecmp/strncasecmp_l compilation.
59915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
59916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
59918 2011-12-08 Marek Polacek <mpolacek@redhat.com>
59921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
59924 2011-12-17 Ulrich Drepper <drepper@gmail.com>
59927 * time/tzfile.c (__tzfile_read): Check values from file header.
59929 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
59932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
59933 * powerpc/powerpc32/dl-start.S: Likewise.
59934 * powerpc/powerpc32/elf/start.S: Likewise.
59935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
59937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
59938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
59939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
59941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
59942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
59944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
59948 * powerpc/powerpc32/memset.S: Likewise.
59949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59963 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59965 * math/libm-test.inc: Added more nearbyint tests.
59966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59971 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
59973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59976 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59979 Add wcscpy-ssse3 wcscpy-c.
59980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59983 * sysdeps/x86_64/wcschr.S: New file.
59984 * sysdeps/x86_64/wcsrchr.S: New file.
59985 * string/test-strcmp.c: Remove checking of wcscmp function for
59987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59989 wcsrchr-sse2 wcsrchr-c.
59990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59999 * wcsmbc/wcschr.c (WCSCHR): New macro.
60001 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60004 * wcsmbs/test-wcsrchr.c: New file.
60005 * string/test-strrchr.c: Add wcsrchr support.
60007 * wcsmbs/test-wcscpy.c: New file.
60008 * string/test-strcpy.c: Add wcscpy support.
60011 2011-12-10 Ulrich Drepper <drepper@gmail.com>
60013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60016 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
60019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60021 2011-12-04 Ulrich Drepper <drepper@gmail.com>
60023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60024 Minor optimizations.
60026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60030 2011-12-03 Ulrich Drepper <drepper@gmail.com>
60032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60035 for gcc to avoid warnings.
60036 * inet/Makefile (tests): Add tst-checks.
60037 * inet/tst-checks.c: New file.
60039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60050 2011-12-02 Ulrich Drepper <drepper@gmail.com>
60052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60057 2011-11-29 Joseph Myers <joseph@codesourcery.com>
60059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60060 conditional on GCC version.
60061 (__arch_compare_and_exchange_val_8_acq)
60062 (__arch_compare_and_exchange_val_16_acq)
60063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60067 2011-12-02 Joseph Myers <joseph@codesourcery.com>
60069 * sysdeps/sh/backtrace.c: New file.
60071 2011-12-02 Andreas Schwab <schwab@redhat.com>
60073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
60076 2011-12-01 Andreas Schwab <schwab@redhat.com>
60078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60079 falling back to utime.
60081 2011-11-30 Andreas Schwab <schwab@redhat.com>
60083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60084 expectations for float.
60086 2011-11-29 Andreas Schwab <schwab@redhat.com>
60088 * locale/weight.h (findidx): Add parameter len.
60089 * locale/weightwc.h (findidx): Likewise.
60090 * posix/fnmatch_loop.c (FCT): Adjust caller.
60091 * posix/regcomp.c (build_equiv_class): Likewise.
60092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60093 * posix/regexec.c (check_node_accept_bytes): Likewise.
60094 * string/strcoll_l.c (STRCOLL): Likewise.
60095 * string/strxfrm_l.c (STRXFRM): Likewise.
60097 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60099 * Makefile.in: Remove CVSOPT handling.
60100 * configure.in: Remove use of AC_REVISION.
60101 * iconvdata/Makefile (distribute): No need to filter out CVS.
60102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60105 2011-11-16 Andreas Schwab <schwab@redhat.com>
60107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60109 [USE_AS_STRNCASECMP_L]: Likewise.
60110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60111 NO_TLS_DIRECT_SEG_REFS.
60112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60113 Fix argument offsets for non-PIC.
60114 [USE_AS_STRNCASECMP_L]: Likewise.
60115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60116 NO_TLS_DIRECT_SEG_REFS.
60118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60122 * locale/loadlocale.c (_nl_load_locale): Likewise.
60124 2011-11-15 Andreas Schwab <schwab@redhat.com>
60126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60129 (SYSCALL_GETTIME): Set errno on error.
60131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60132 count references to noai6ai_cached.
60134 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60139 FD_CLOEXEC for /proc/self/maps.
60141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60142 FD_CLOEXEC for /proc/meminfo.
60144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60148 FD_CLOEXEC for given file.
60150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60153 FD_CLOEXEC for /etc/hosts.
60154 (_gethtent): Likewise.
60156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60159 cancellation and set FD_CLOEXEC for /etc/netgroup.
60161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60162 reading /etc/publickey.
60164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60165 allow cancellation when reading /etc/group.
60167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60172 when using data file.
60174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60177 (write_nis_obj): Use "c" and "e" in fopen.
60179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60197 file parsing and set FD_CLOEXEC.
60199 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60203 2011-11-14 Andreas Schwab <schwab@redhat.com>
60205 * malloc/arena.c (arena_get2): Don't call reused_arena when
60206 _int_new_arena failed.
60208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60216 to compile strcasecmp and strncasecmp.
60217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60222 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60225 locale-defines.sym to gen-as-const-headers.
60226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60229 to compile strcasecmp and strncasecmp.
60230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60231 strcasecmp_l and strncasecmp_l.
60232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60244 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60247 result of SYSDEP_GETTIME_CPU to retval.
60248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60249 parameter list to macro. Remove trailing semicolon. Adjust users.
60251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60259 from unused variable.
60261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60269 * sunrpc/rpc_prot.c (rejected): Fix case value.
60271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60272 unsigned long long int to avoid warnings in shift.
60274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60283 * nis/nis_table.c (nis_list): Use variable of correct type for
60284 result of __follow_path call.
60286 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60289 of math functions ceil, trunc, floor, round, and sqrt, when
60290 avaliable on the platform.
60291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60297 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60302 2011-11-11 Roland McGrath <roland@hack.frob.com>
60304 * include/unistd.h: Fix __readlink return type.
60305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60307 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60309 * stdlib/ucontext.h: Undo last change for makecontext.
60311 2011-11-11 Andreas Schwab <schwab@redhat.com>
60313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60316 * setjmp/setjmp.h: Mark functions as non-leaf.
60317 * setjmp/bits/setjmp2.h: Likewise.
60318 * stdlib/ucontext.h: Likewise.
60320 2011-11-10 Andreas Schwab <schwab@redhat.com>
60322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60323 (reused_arena): Don't check arena limit.
60324 (arena_get2): Atomically check arena limit.
60326 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60334 2011-11-07 Andreas Schwab <schwab@redhat.com>
60336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60337 handler when locking.
60339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60340 Fix size of allocated buffer.
60342 2011-11-04 Andreas Schwab <schwab@redhat.com>
60345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60346 declarations for long double functions.
60347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60351 2011-11-03 Andreas Schwab <schwab@redhat.com>
60353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60359 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60363 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60365 * include/alloca.h (stackinfo_alloca_round): Define.
60366 (extend_alloca): Use it.
60367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60371 * scripts/check-local-headers.sh: Ignore libaudit.h.
60373 * nscd/Makefile (extra-objs): Make recursively expanded.
60375 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60381 * posix/tst-rfc3484-2.c: Likewise.
60382 * posix/tst-rfc3484-3.c: Likewise.
60384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60389 process_vm_writev from libc using GLIBC_2.15 version.
60391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60393 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60398 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60401 * nss/getent.c (initgroups_keys): Show error message in case no group
60404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60406 __bump_nl_timestamp.
60407 * nscd/connections (nscd_init): When host database is served open
60408 netlink socket and request notification about configuration changes.
60409 (main_loop_poll): Track netlink file descriptor and bump timestamp
60410 in case data becomes available.
60411 (main_loop_epoll): Likewise.
60412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60413 (database_pers_head): Add extra_data fileds.
60414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60419 in6ai data, call __free_in6ai.
60420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60421 Add -DHAVE_NETLINK.
60422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60423 interface information. Reuse previous data if netlink timestamp
60425 (__bump_nl_timestamp): New function.
60426 (__free_in6ai): New function.
60428 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60431 close_not_cancel_no_status here.
60432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60434 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60444 2011-07-03 Andreas Jaeger <aj@suse.de>
60447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60449 * math/libm-test.inc (sin_test): Add test case.
60451 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60457 * elf/chroot_canon.c (chroot_canon): Cleanups.
60459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60465 * string/test-strchr.c: Make usable for strchrnul testing.
60466 * string/test-strchrnul.c: New file.
60467 * string/Makefile (strop-tests): Add strchrnul.
60469 * po/it.po: Update from translation team.
60470 * po/es.po: Likewise.
60472 2011-10-28 Ulrich Drepper <drepper@gmail.com>
60474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60475 the three constants needed as parameters. Drop the others.
60476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60477 __m128i_strloadu_tolower.
60478 Create and initialize variable zero and use it in all the places
60479 where _mm_setzero_si128 was used.
60481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60491 __mpranred, __mptan.
60492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60502 2011-10-28 Andreas Schwab <schwab@redhat.com>
60504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60505 redefine if SHARED.
60506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60509 wide char related routines to wcsmbs subdir.
60511 2011-10-27 Andreas Schwab <schwab@redhat.com>
60514 * misc/sys/cdefs.h (__THROWNL): Define.
60515 * posix/unistd.h: Use __THREADNL instead of __THREAD
60516 for memory synchronization functions.
60518 2011-10-26 Roland McGrath <roland@hack.frob.com>
60521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60523 * manual/stdio.texi (Obstack Streams): Node removed.
60525 2011-10-26 Andreas Schwab <schwab@redhat.com>
60527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60531 * math/math_private.h (math_force_eval): Allow non-addressable
60533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60538 file is not needed.
60540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
60572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60573 place. Use VEX encoding when compiling for AVX.
60575 2011-10-25 Andreas Schwab <schwab@redhat.com>
60577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
60582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60585 useless if() expression.
60586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
60608 2011-10-25 Andreas Schwab <schwab@redhat.com>
60610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
60612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60614 2011-10-25 Ulrich Drepper <drepper@gmail.com>
60616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
60617 .text section. Avoid duplicate constants.
60618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
60628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
60642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
60643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
60644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
60645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
60646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
60647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
60648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
60649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
60650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
60652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
60653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
60654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
60655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
60656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
60657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
60658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
60659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
60660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
60661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
60662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
60664 2011-10-24 Ulrich Drepper <drepper@gmail.com>
60666 * sysdeps/x86_64/dla.h: Move to ...
60667 * sysdeps/x86_64/fpu/dla.h: ...here.
60668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
60669 situations. Use __builtin_fma only for gcc 4.6 and up.
60671 * config.make.in: Add have-mfma4 entry.
60672 * configure.in: Substitute libc_cv_cc_fma4.
60673 * math/Makefile (dbl-only-routines): Add sincostab.
60674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
60675 Use __sincostab not sincos.
60676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
60678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
60683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
60684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
60685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
60686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
60688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
60689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
60691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
60692 define aliases when function name is a macro.
60693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
60694 sysdeps/ieee754/dbl-64/sincos.tbl.
60695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
60696 fma4-enabled routines.
60697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
60698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
60699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
60700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
60701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
60702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
60703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
60704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
60705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
60706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
60707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
60708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
60709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
60710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
60711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
60712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
60713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
60714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
60715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
60716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
60717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
60718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
60719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
60720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
60721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
60722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
60723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
60724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
60725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
60726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
60728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
60730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60739 2011-10-24 Andreas Schwab <schwab@redhat.com>
60741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
60743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
60747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
60749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
60751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
60752 Remove unused variable magic_bits.
60753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
60755 * string/strnlen.c: Define and use STRNLEN macro.
60756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
60757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
60758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
60759 * wcsmbs/wcslen.c: Define and use WCSLEN.
60760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
60761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
60762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
60763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
60764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
60765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
60766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60768 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60771 strnlen-sse2-no-bsf.
60772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
60773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
60774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
60775 Add strnlen support.
60776 (USE_AS_STRNLEN): New macro.
60777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
60778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
60779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
60780 * sysdeps/x86_64/wcslen.S: New file.
60782 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
60784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60785 XMM-moves are used for copying on small sizes.
60787 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60789 * wcsmbs/Makefile (strop-tests): Add wcschr.
60790 * wcsmbs/test-wcschr.c: New file.
60791 * string/test-strchr.c: Update.
60792 Add wcschr support.
60795 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60797 * wcsmbs/Makefile (strop-tests): Add wcslen.
60798 * wcsmbs/test-wcslen.c: New file.
60799 * string/test-strlen.c: Update.
60800 Add wcslen support.
60803 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60805 * po/it.po: Update from translation team.
60807 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60809 * sysdeps/x86_64/wcscmp.S: Update.
60810 Fix wrong comparison semantics.
60811 wcscmp shall use signed comparison not unsigned.
60812 Don't use substraction to avoid overflow bug.
60813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
60814 * wcsmbc/wcscmp.c: Likewise.
60815 * string/test-strcmp.c: Likewise.
60816 Add new tests to check cases with negative values.
60818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
60820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
60821 * sysdeps/x86_64/dla.h: ...here. New file.
60822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
60823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60832 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
60834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
60835 __ynl_finite aliases.
60837 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
60843 [DLA_FMA] (EMULV): Use DLA_FMA.
60844 [DLA_FMA] (MUL12): Use EMULV.
60845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
60846 that are not needed.
60847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60855 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
60857 * math/s_nan.c: Undef __nan.
60858 * math/s_nanf.c: Undef __nanf.
60859 * math/s_nanl.c: Undef __nanl.
60860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
60863 2011-10-22 Ulrich Drepper <drepper@gmail.com>
60865 * math/s_catan.c: Add branch predictions.
60866 * math/s_catanf.c: Likewise.
60867 * math/s_catanh.c: Likewise.
60868 * math/s_catanhf.c: Likewise.
60869 * math/s_catanhl.c: Likewise.
60870 * math/s_catanl.c: Likewise.
60871 * math/s_cexp.c: Likewise.
60872 * math/s_cexpf.c: Likewise.
60873 * math/s_cexpl.c: Likewise.
60874 * math/s_clog.c: Likewise.
60875 * math/s_clog10.c: Likewise.
60876 * math/s_clog10f.c: Likewise.
60877 * math/s_clog10l.c: Likewise.
60878 * math/s_clogf.c: Likewise.
60879 * math/s_clogl.c: Likewise.
60880 * math/s_csqrt.c: Likewise.
60881 * math/s_csqrtf.c: Likewise.
60882 * math/s_csqrtl.c: Likewise.
60883 * math/s_ctanf.c: Likewise.
60884 * math/s_ctanh.c: Likewise.
60885 * math/s_ctanhf.c: Likewise.
60886 * math/s_ctanhl.c: Likewise.
60887 * math/s_ctanl.c: Likewise.
60889 * math/math_private.h: Define __nan, __nanf, __nanl.
60890 * math/s_cacosh.c: Include <math_private.h>.
60891 * math/s_cacoshl.c: Likewise.
60892 * math/s_casinh.c: Likewise.
60893 * math/s_casinhf.c: Likewise.
60894 * math/s_casinhl.c: Likewise.
60895 * math/s_ccos.c: Rely entire on ccosh.
60896 * math/s_ccosf.c: Rely entire on ccoshf.
60897 * math/s_ccosl.c: Rely entirely on ccoshl.
60898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
60899 Remove tests for FE_INVALID.
60900 * math/s_ccoshf.c: Likewise.
60901 * math/s_ccoshl.c: Likewise.
60902 * math/s_csin.c: Likewise.
60903 * math/s_csinf.c: Likewise.
60904 * math/s_csinh.c Likewise.
60905 * math/s_csinhf.c: Likewise.
60906 * math/s_csinhl.c: Likewise.
60907 * math/s_csinl.c: Likewise.
60908 * math/s_ctan.c: Likewise.
60909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
60910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
60911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
60913 2011-10-21 Ulrich Drepper <drepper@gmail.com>
60915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
60916 compilation problems.
60918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
60921 2011-10-20 Ulrich Drepper <drepper@gmail.com>
60923 * sysdeps/i386/configure.in: Test for -mfma4 option.
60924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
60925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
60926 COMMON_CPUID_INDEX_80000001.
60927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
60928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
60929 use it if FMA3 is not supported.
60930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
60932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
60933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60935 2011-10-20 Andreas Schwab <schwab@redhat.com>
60938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
60939 it would create a cycle with a link time dependency.
60941 2011-10-19 Ulrich Drepper <drepper@gmail.com>
60943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
60945 * string/Makefile (strop-tests): Add rawmemchr.
60946 * string/test-rawmemchr.c: New file.
60948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
60949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
60950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
60951 when compiling str{,n}casecmp and when AVX is available. Hook up
60952 new optimized code in initializers.
60954 2011-10-19 Andreas Schwab <schwab@redhat.com>
60956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60957 __feraiseexcept instead of feraiseexcept.
60959 2011-10-18 Ulrich Drepper <drepper@gmail.com>
60961 * math/math_private.h: Define defaults for libc_fetestexcept and
60963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60969 libc_fetestexcept and libc_feupdateenv.
60971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
60975 libc_feholdexcept_setround.
60977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60978 Add s_nearbyint-c and s_nearbyintf-c.
60979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60980 nearbyintf inlines.
60981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60986 * math/math_private.h: Define defaults for libc_fegetround,
60987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60992 standard functions.
60993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60994 Remove comments and hacks for old compiler versions.
60995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
60997 libc_feholdexceptl.
60999 2011-10-18 Andreas Schwab <schwab@redhat.com>
61001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61002 (__feraiseexcept_renamed): Add __NTH.
61003 (feraiseexcept): Add __NTH. Rename local variables to fix
61004 namespace violations.
61006 2011-10-17 Ulrich Drepper <drepper@gmail.com>
61008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61013 recently added interfaces.
61014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61017 about macro parameter expansion.
61019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61020 __NO_MATH_INLINES is defined. Cleanups.
61022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61023 and __floorf is target has SSE4.1.
61024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61031 (floorf): Likewise.
61033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61035 2011-10-17 Andreas Schwab <schwab@redhat.com>
61037 * misc/sys/cdefs.h: Fix last change.
61039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61042 2011-10-16 Ulrich Drepper <drepper@gmail.com>
61044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61070 ceil, ceilf, floor, floorf.
61072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61073 Perform IRELATIVE relocations last.
61075 * elf/do-rel.h: Add another parameter nrelative, replacing the
61076 local variable with the same name. Change name of the function
61077 to end in Rel or Rela (uppercase).
61078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61080 elf_dynamic_do_##reloc function.
61082 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61085 is sufficient, at least on modern CPUs.
61087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61094 * math/bits/math-finite.h: Add entries for exp.
61095 * math/e_expl.c: Add __*_finite alias.
61096 * sysdeps/i386/fpu/e_exp.S: Likewise.
61097 * sysdeps/i386/fpu/e_expf.S: Likewise.
61098 * sysdeps/i386/fpu/e_expl.c: Likewise.
61099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61108 is sufficient, at least on modern CPUs.
61110 * ctype/ctype-info.c (__ctype_init): Define.
61111 * include/ctype.h (__ctype_init): Declare.
61112 (__ctype_b_loc): The variable is always initialized.
61113 (__ctype_toupper_loc): Likewise.
61114 (__ctype_tolower_loc): Likewise.
61115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61118 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61122 * configure.in: Also look in $cxxmachine/include for C++ system
61125 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61132 (USE_AS_WMEMCMP): New macro.
61134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61145 (USE_AS_WMEMCMP): New macro.
61146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61147 * sysdeps/string/test-memcmp.c: Update.
61148 Fix simple_wmemcmp.
61150 * wcsmbs/wmemcmp.c: Update.
61151 (WMEMCMP): New macro.
61154 2011-10-12 Andreas Jaeger <aj@suse.de>
61157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61159 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61161 * libio/iofwide.c (do_length): Avoid warning.
61163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61165 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61172 * sysdeps/i386/i686/fpu/e_log.S: New file.
61173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61176 * ctype/ctype.h: Add support for inlined isXXX functions when
61177 compiling C++ code.
61179 2011-10-14 Andreas Schwab <schwab@redhat.com>
61181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61185 2011-10-13 Roland McGrath <roland@hack.frob.com>
61188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61190 2011-10-13 Andreas Schwab <schwab@redhat.com>
61192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61196 * sysdeps/x86_64/memrchr.S: Check for zero size.
61198 * string/stratcliff.c: Add memrchr tests.
61200 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61204 rawmemchr-sse2 rawmemchr-sse2-bsf.
61205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61215 * string/memrchr.c (MEMRCHR): New macro.
61217 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61219 Add integration with gcc's -ffinite-math-only and optimize wrapper
61221 * Versions.def: Define GLIBC_2.15 version for libm.
61222 * math/Makefile (headers): Add bits/math-finite.h.
61223 * math/bits/math-finite.h: New file.
61224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61226 * math/e_acoshl.c: Add __*_finite alias.
61227 * math/e_acosl.c: Likewise.
61228 * math/e_asinl.c: Likewise.
61229 * math/e_atan2l.c: Likewise.
61230 * math/e_atanhl.c: Likewise.
61231 * math/e_coshl.c: Likewise.
61232 * math/e_exp10.c: Likewise.
61233 * math/e_exp10f.c: Likewise.
61234 * math/e_exp10l.c: Likewise.
61235 * math/e_exp2l.c: Likewise.
61236 * math/e_fmodl.c: Likewise.
61237 * math/e_gammal_r.c: Likewise.
61238 * math/e_hypotl.c: Likewise.
61239 * math/e_j0l.c: Likewise.
61240 * math/e_j1l.c: Likewise.
61241 * math/e_jnl.c: Likewise.
61242 * math/e_lgammal_r.c: Likewise.
61243 * math/e_log10l.c: Likewise.
61244 * math/e_log2l.c: Likewise.
61245 * math/e_logl.c: Likewise.
61246 * math/e_powl.c: Likewise.
61247 * math/e_sinhl.c: Likewise.
61248 * math/e_sqrtl.c: Likewise.
61249 * math/e_scalb.c: Completely rewritten and optimized.
61250 * math/e_scalbf.c: Likewise.
61251 * math/e_scalbl.c: Likewise.
61252 * math/w_acos.c: Likewise.
61253 * math/w_acosf.c: Likewise.
61254 * math/w_acosl.c: Likewise.
61255 * math/w_acosh.c: Likewise.
61256 * math/w_acoshf.c: Likewise.
61257 * math/w_acoshl.c: Likewise.
61258 * math/w_asin.c: Likewise.
61259 * math/w_asinf.c: Likewise.
61260 * math/w_asinl.c: Likewise.
61261 * math/w_atan2.c: Likewise.
61262 * math/w_atan2f.c: Likewise.
61263 * math/w_atan2l.c: Likewise.
61264 * math/w_atanh.c: Likewise.
61265 * math/w_atanhf.c: Likewise.
61266 * math/w_atanhl.c: Likewise.
61267 * math/w_exp10.c: Likewise.
61268 * math/w_exp10f.c: Likewise.
61269 * math/w_exp10l.c: Likewise.
61270 * math/w_fmod.c: Likewise.
61271 * math/w_fmodf.c: Likewise.
61272 * math/w_fmodl.c: Likewise.
61273 * math/w_j0.c: Likewise.
61274 * math/w_j0f.c: Likewise.
61275 * math/w_j0l.c: Likewise.
61276 * math/w_j1.c: Likewise.
61277 * math/w_j1f.c: Likewise.
61278 * math/w_j1l.c: Likewise.
61279 * math/w_jn.c: Likewise.
61280 * math/w_jnf.c: Likewise.
61281 * math/w_log.c: Likewise.
61282 * math/w_logf.c: Likewise.
61283 * math/w_logl.c: Likewise.
61284 * math/w_log10.c: Likewise.
61285 * math/w_log10f.c: Likewise.
61286 * math/w_log10l.c: Likewise.
61287 * math/w_log2.c: Likewise.
61288 * math/w_log2f.c: Likewise.
61289 * math/w_log2l.c: Likewise.
61290 * math/w_pow.c: Likewise.
61291 * math/w_powf.c: Likewise.
61292 * math/w_powl.c: Likewise.
61293 * math/w_remainder.c: Likewise.
61294 * math/w_remainderf.c: Likewise.
61295 * math/w_remainderl.c: Likewise.
61296 * math/w_scalb.c: Likewise.
61297 * math/w_scalbf.c: Likewise.
61298 * math/w_scalbl.c: Likewise.
61299 * math/w_sqrt.c: Likewise.
61300 * math/w_sqrtf.c: Likewise.
61301 * math/w_sqrtl.c: Likewise.
61302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61305 * math/math_private.h: Declare __kernel_standard_f.
61306 * math/w_cosh.c: Remove cruft and optimize a bit.
61307 * math/w_coshf.c: Likewise.
61308 * math/w_coshl.c: Likewise.
61309 * math/w_exp2.c: Likewise.
61310 * math/w_exp2f.c: Likewise.
61311 * math/w_exp2l.c: Likewise.
61312 * math/w_hypot.c: Likewise.
61313 * math/w_hypotf.c: Likewise.
61314 * math/w_hypotl.c: Likewise.
61315 * math/w_lgamma.c: Likewise.
61316 * math/w_lgamma_r.c: Likewise.
61317 * math/w_lgammaf.c: Likewise.
61318 * math/w_lgammaf_r.c: Likewise.
61319 * math/w_lgammal.c: Likewise.
61320 * math/w_lgammal_r.c: Likewise.
61321 * math/w_sinh.c: Likewise.
61322 * math/w_sinhf.c: Likewise.
61323 * math/w_sinhl.c: Likewise.
61324 * math/w_tgamma.c: Likewise.
61325 * math/w_tgammaf.c: Likewise.
61326 * math/w_tgammal.c: Likewise.
61327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61330 Minor optimizations. Pretty printing. Remove cruft.
61331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61336 * sysdeps/i386/fpu/e_asin.S: Likewise.
61337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61355 * sysdeps/i386/fpu/e_log.S: Likewise.
61356 * sysdeps/i386/fpu/e_log10.S: Likewise.
61357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61359 * sysdeps/i386/fpu/e_log2.S: Likewise.
61360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61362 * sysdeps/i386/fpu/e_logf.S: Likewise.
61363 * sysdeps/i386/fpu/e_logl.S: Likewise.
61364 * sysdeps/i386/fpu/e_pow.S: Likewise.
61365 * sysdeps/i386/fpu/e_powf.S: Likewise.
61366 * sysdeps/i386/fpu/e_powl.S: Likewise.
61367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
61487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61489 (__isnanf): Likewise.
61490 (__isinf_ns): Likewise.
61491 (__isinf_nsf): Likewise.
61492 (__finite): Likewise.
61493 (__finitef): Likewise.
61494 (__ieee754_sqrt): Define as macro.
61495 (__ieee754_sqrtf): Define as macro.
61496 (__ieee754_sqrtl): Define as macro.
61497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61500 __FINITE_MATH_ONLY__ consistent.
61501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61503 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
61505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61510 2011-10-09 Ulrich Drepper <drepper@gmail.com>
61512 * po/ja.po: Update from translation team.
61514 2011-10-08 Roland McGrath <roland@hack.frob.com>
61516 * locale/programs/locarchive.c (prepare_address_space): New function.
61517 (create_archive, enlarge_archive, open_archive): Use it.
61519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61520 inside [SHARED], where it is used.
61522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61524 * nss/getent.c (netgroup_keys): Remove unused variable.
61525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61527 2011-10-08 Ulrich Drepper <drepper@gmail.com>
61529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61535 * math/Makefile (libm-calls): Add s_isinf_ns.
61536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
61537 * math/multc3.c: Likewise.
61538 * math/s_casin.c: Likewise.
61539 * math/s_casinf.c: Likewise.
61540 * math/s_casinl.c: Likewise.
61541 * math/s_ccos.c: Likewise.
61542 * math/s_ccosf.c: Likewise.
61543 * math/s_ccosl.c: Likewise.
61544 * math/s_ctan.c: Likewise.
61545 * math/s_ctanf.c: Likewise.
61546 * math/s_ctanh.c: Likewise.
61547 * math/s_ctanhf.c: Likewise.
61548 * math/s_ctanhl.c: Likewise.
61549 * math/s_ctanl.c: Likewise.
61550 * math/w_fmod.c: Likewise.
61551 * math/w_fmodf.c: Likewise.
61552 * math/w_fmodl.c: Likewise.
61553 * math/w_remainder.c: Likewise.
61554 * math/w_remainderf.c: Likewise.
61555 * math/w_remainderl.c: Likewise.
61556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61567 * stdio-common/printf_fphex.c: Likewise.
61568 * stdio-common/printf_size.c: Likewise.
61570 * math/e_exp10.c: Include math_private.h using <...> not "...".
61571 * math/e_exp10f.c: Likewise.
61572 * math/e_exp10l.c: Likewise.
61573 * math/e_exp2l.c: Likewise.
61574 * math/e_j0l.c: Likewise.
61575 * math/e_j1l.c: Likewise.
61576 * math/e_jnl.c: Likewise.
61577 * math/e_lgammal_r.c: Likewise.
61578 * math/e_rem_pio2l.c: Likewise.
61579 * math/e_scalb.c: Likewise.
61580 * math/e_scalbf.c: Likewise.
61581 * math/e_scalbl.c: Likewise.
61582 * math/k_cosl.c: Likewise.
61583 * math/k_sinl.c: Likewise.
61584 * math/k_tanl.c: Likewise.
61585 * math/s_cacoshf.c: Likewise.
61586 * math/s_catan.c: Likewise.
61587 * math/s_catanf.c: Likewise.
61588 * math/s_catanh.c: Likewise.
61589 * math/s_catanhf.c: Likewise.
61590 * math/s_catanhl.c: Likewise.
61591 * math/s_catanl.c: Likewise.
61592 * math/s_ccosh.c: Likewise.
61593 * math/s_ccoshf.c: Likewise.
61594 * math/s_ccoshl.c: Likewise.
61595 * math/s_cexp.c: Likewise.
61596 * math/s_cexpf.c: Likewise.
61597 * math/s_cexpl.c: Likewise.
61598 * math/s_clog.c: Likewise.
61599 * math/s_clog10.c: Likewise.
61600 * math/s_clog10f.c: Likewise.
61601 * math/s_clog10l.c: Likewise.
61602 * math/s_clogf.c: Likewise.
61603 * math/s_clogl.c: Likewise.
61604 * math/s_csin.c: Likewise.
61605 * math/s_csinf.c: Likewise.
61606 * math/s_csinh.c: Likewise.
61607 * math/s_csinhf.c: Likewise.
61608 * math/s_csinhl.c: Likewise.
61609 * math/s_csinl.c: Likewise.
61610 * math/s_csqrt.c: Likewise.
61611 * math/s_csqrtf.c: Likewise.
61612 * math/s_csqrtl.c: Likewise.
61613 * math/s_ctan.c: Likewise.
61614 * math/s_ctanf.c: Likewise.
61615 * math/s_ctanh.c: Likewise.
61616 * math/s_ctanhf.c: Likewise.
61617 * math/s_ctanhl.c: Likewise.
61618 * math/s_ctanl.c: Likewise.
61619 * math/s_ldexp.c: Likewise.
61620 * math/s_ldexpf.c: Likewise.
61621 * math/s_ldexpl.c: Likewise.
61622 * math/s_significand.c: Likewise.
61623 * math/s_significandf.c: Likewise.
61624 * math/s_significandl.c: Likewise.
61625 * math/w_acos.c: Likewise.
61626 * math/w_acosf.c: Likewise.
61627 * math/w_acosh.c: Likewise.
61628 * math/w_acoshf.c: Likewise.
61629 * math/w_acoshl.c: Likewise.
61630 * math/w_acosl.c: Likewise.
61631 * math/w_asin.c: Likewise.
61632 * math/w_asinf.c: Likewise.
61633 * math/w_asinl.c: Likewise.
61634 * math/w_atan2.c: Likewise.
61635 * math/w_atan2f.c: Likewise.
61636 * math/w_atan2l.c: Likewise.
61637 * math/w_atanh.c: Likewise.
61638 * math/w_atanhf.c: Likewise.
61639 * math/w_atanhl.c: Likewise.
61640 * math/w_cosh.c: Likewise.
61641 * math/w_coshf.c: Likewise.
61642 * math/w_coshl.c: Likewise.
61643 * math/w_dremf.c: Likewise.
61644 * math/w_exp10.c: Likewise.
61645 * math/w_exp10f.c: Likewise.
61646 * math/w_exp10l.c: Likewise.
61647 * math/w_exp2.c: Likewise.
61648 * math/w_exp2f.c: Likewise.
61649 * math/w_fmod.c: Likewise.
61650 * math/w_fmodf.c: Likewise.
61651 * math/w_fmodl.c: Likewise.
61652 * math/w_hypot.c: Likewise.
61653 * math/w_hypotf.c: Likewise.
61654 * math/w_hypotl.c: Likewise.
61655 * math/w_j0.c: Likewise.
61656 * math/w_j0f.c: Likewise.
61657 * math/w_j0l.c: Likewise.
61658 * math/w_j1.c: Likewise.
61659 * math/w_j1f.c: Likewise.
61660 * math/w_j1l.c: Likewise.
61661 * math/w_jn.c: Likewise.
61662 * math/w_jnf.c: Likewise.
61663 * math/w_jnl.c: Likewise.
61664 * math/w_lgamma.c: Likewise.
61665 * math/w_lgamma_r.c: Likewise.
61666 * math/w_lgammaf.c: Likewise.
61667 * math/w_lgammaf_r.c: Likewise.
61668 * math/w_lgammal.c: Likewise.
61669 * math/w_lgammal_r.c: Likewise.
61670 * math/w_log.c: Likewise.
61671 * math/w_log10.c: Likewise.
61672 * math/w_log10f.c: Likewise.
61673 * math/w_log10l.c: Likewise.
61674 * math/w_log2.c: Likewise.
61675 * math/w_log2f.c: Likewise.
61676 * math/w_log2l.c: Likewise.
61677 * math/w_logf.c: Likewise.
61678 * math/w_logl.c: Likewise.
61679 * math/w_pow.c: Likewise.
61680 * math/w_powf.c: Likewise.
61681 * math/w_powl.c: Likewise.
61682 * math/w_remainder.c: Likewise.
61683 * math/w_remainderf.c: Likewise.
61684 * math/w_remainderl.c: Likewise.
61685 * math/w_scalb.c: Likewise.
61686 * math/w_scalbf.c: Likewise.
61687 * math/w_scalbl.c: Likewise.
61688 * math/w_sinh.c: Likewise.
61689 * math/w_sinhf.c: Likewise.
61690 * math/w_sinhl.c: Likewise.
61691 * math/w_sqrt.c: Likewise.
61692 * math/w_sqrtf.c: Likewise.
61693 * math/w_sqrtl.c: Likewise.
61694 * math/w_tgamma.c: Likewise.
61695 * math/w_tgammaf.c: Likewise.
61696 * math/w_tgammal.c: Likewise.
61698 * po/ja.po: Update from translation team.
61700 2011-09-29 Andreas Jaeger <aj@suse.de>
61703 * sunrpc/netname.c (netname2host): Fix logic.
61707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
61709 * math/w_remainder.c (__remainder): Likewise.
61710 * math/w_remainderf.c (__remainderf): Likewise.
61711 * math/libm-test.inc (remainder_test): Add test cases.
61713 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
61718 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61720 * string/test-memcmp.c: Avoid unncessary #defines.
61721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61723 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
61726 Use new sse2 version for core i3 - i7 as it's faster
61727 than sse42 version.
61728 (bit_Prefer_PMINUB_for_stringop): New.
61729 * sysdeps/x86_64/rawmemchr.S: Update.
61730 Replace with faster SSE2 version.
61731 * sysdeps/x86_64/memrchr.S: New file.
61732 * sysdeps/x86_64/memchr.S: Update.
61733 Replace with faster SSE2 version.
61735 2011-09-12 Marek Polacek <mpolacek@redhat.com>
61737 * elf/dl-load.c (lose): Add cast to avoid warning.
61739 2011-10-07 Ulrich Drepper <drepper@gmail.com>
61741 * po/ca.po: Update from translation team.
61743 * inet/getnetgrent_r.c: Hook up nscd.
61744 * nscd/Makefile (routines): Add nscd_netgroup.
61745 (nscd-modules): Add netgroupcache.
61746 (CFLAGS-netgroupcache.c): Define.
61747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
61748 (cache_search): Add const to second parameter.
61749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
61751 (dbs): Add netgrdb entry.
61752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
61753 (verify_persistent_db): Handle netgrdb.
61754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
61755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
61757 (netgroup_response_header): Define.
61758 (innetgroup_response_header): Define.
61759 (datahead): Add netgroup_response_header and innetgroup_response_header
61761 * nscd/nscd.conf: Add entries for netgroup cache.
61762 * nscd/nscd.h (dbtype): Add netgrdb.
61763 (_PATH_NSCD_NETGROUP_DB): Define.
61764 (netgroup_iov_disabled): Declare.
61765 (xmalloc, xcalloc, xrealloc): Move declarations here.
61766 (cache_search): Adjust prototype.
61767 Add netgroup-related prototypes.
61768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
61769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
61770 (__nscd_innetgr): Declare.
61771 * nscd/selinux.c (perms): Use access_vector_t as element type and
61772 add netgroup-related initializers.
61773 * nscd/netgroupcache.c: New file.
61774 * nscd/nscd_netgroup.c: New file.
61775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
61776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
61777 For four parameters use innetgr.
61778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
61779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
61780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
61781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
61783 * nscd/connections.c (register_traced_file): Don't register file
61784 for disabled databases.
61786 2011-10-06 Ulrich Drepper <drepper@gmail.com>
61788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
61790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
61791 from tree and freeing node.
61793 2011-09-25 Jiri Olsa <jolsa@redhat.com>
61795 * nss/nsswitch.c (__nss_database_lookup): Handle
61796 nss_parse_service_list out of memory case.
61798 2011-09-15 Jiri Olsa <jolsa@redhat.com>
61800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
61801 out of memory case.
61803 2011-10-04 Andreas Schwab <schwab@redhat.com>
61805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
61806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
61808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
61809 elf_machine_rela, elf_machine_lazy_rel.
61810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
61811 (ELF_DYNAMIC_DO_REL): Likewise.
61812 (ELF_DYNAMIC_DO_RELA): Likewise.
61813 (ELF_DYNAMIC_RELOCATE): Likewise.
61814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
61815 to ELF_DYNAMIC_DO_REL.
61816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
61817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
61818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
61820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
61821 skip_ifunc, don't call ifunc function if non-zero.
61822 (elf_machine_rela): Likewise.
61823 (elf_machine_lazy_rel): Likewise.
61824 (elf_machine_lazy_rela): Likewise.
61825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
61826 (elf_machine_lazy_rel): Likewise.
61827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
61829 (elf_machine_lazy_rel): Likewise.
61830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61832 (elf_machine_lazy_rel): Likewise.
61833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
61834 (elf_machine_lazy_rel): Likewise.
61835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
61836 (elf_machine_lazy_rel): Likewise.
61837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
61838 (elf_machine_lazy_rel): Likewise.
61839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
61840 (elf_machine_lazy_rel): Likewise.
61841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
61842 (elf_machine_lazy_rel): Likewise.
61843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61844 (elf_machine_lazy_rel): Likewise.
61846 2011-09-28 Ulrich Drepper <drepper@gmail.com>
61848 * nss/nss_files/files-init.c (_nss_files_init): Use static
61849 initialization for all the *_traced_file variables.
61851 2011-09-28 Andreas Schwab <schwab@redhat.com>
61853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61855 2011-09-27 Roland McGrath <roland@hack.frob.com>
61858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
61860 2011-09-27 Andreas Schwab <schwab@redhat.com>
61862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
61863 Reread the line before reparsing it.
61865 2011-09-26 Andreas Schwab <schwab@redhat.com>
61867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
61869 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
61870 Maxim Kuvyrkov <maxim@codesourcery.com>
61871 Joseph Myers <joseph@codesourcery.com>
61873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
61874 if needed for __stack_chk_guard.
61876 2011-09-19 Roland McGrath <roland@hack.frob.com>
61878 * sysdeps/posix/spawni.c (script_execute): Always define it.
61879 It will be optimized away if unused.
61880 (maybe_script_execute): New function.
61881 (__spawni): Call it.
61883 * Makerules: Don't include tls.make.
61884 (config-tls): Always set to thread.
61885 * tls.make.c: File removed.
61887 2011-09-19 Mike Frysinger <vapier@gentoo.org>
61889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
61890 * config.make.in (CPPFLAGS-config): New substituted variable.
61892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
61897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
61898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
61900 2011-09-15 Roland McGrath <roland@hack.frob.com>
61902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
61903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
61904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61905 (CALL_FAIL): Likewise.
61906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
61907 (CALL_FAIL): Macro removed.
61908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
61910 2011-09-15 Ulrich Drepper <drepper@gmail.com>
61912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
61913 for __FINITE_MATH_ONLY__ == 1.
61915 2011-09-15 Andreas Schwab <schwab@redhat.com>
61917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
61918 __ieee754_sqrt instead of sqrt.
61919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
61920 __ieee754_sqrtf instead of sqrtf.
61921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
61922 __floorf instead of floorf.
61923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
61924 __floorf, __truncf instead of floorf, truncf.
61926 2011-09-14 Ulrich Drepper <drepper@gmail.com>
61928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
61930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
61931 __extern_always_inline.
61932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
61935 2011-09-14 Andreas Schwab <schwab@redhat.com>
61937 * elf/rtld.c (dl_main): Also relocate in dependency order when
61938 doing symbol dependency testing.
61940 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
61942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61943 Always define `refsym'.
61945 2011-09-13 Andreas Schwab <schwab@redhat.com>
61947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
61948 (__FD_ELT): Renamed from __FDELT.
61949 * misc/bits/select2.h (__FD_ELT): Likewise.
61950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
61951 __FD_MASK instead of __FDELT, __FDMASK.
61952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
61957 * elf/Makefile (gen-ldd): Fix pattern.
61959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61960 (init_tls): Likewise.
61962 2011-09-12 Ulrich Drepper <drepper@gmail.com>
61964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61966 2011-09-12 Andreas Schwab <schwab@redhat.com>
61968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61969 `struct cmsghdr *' instead of `void *'.
61970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61973 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
61975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61978 ldd_rewrite_script.
61980 2011-09-11 Ulrich Drepper <drepper@gmail.com>
61982 * configure.in: Remove --with-tls option.
61983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61985 out in case it is missing.
61986 * sysdeps/ia64/elf/configure.in: Likewise.
61987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61991 * sysdeps/sh/elf/configure.in: Likewise.
61992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61994 * sysdeps/x86_64/elf/configure.in: Likewise.
61995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61996 * sysdeps/mach/hurd/tls.h: Likewise.
61999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62002 * configure.in: Fix use of AC_INIT.
62004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62006 2011-09-10 Ulrich Drepper <drepper@gmail.com>
62008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62010 * malloc/hooks.c: Likewise.
62013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
62014 variables statically.
62015 (narenas): Initialize.
62016 (list_lock): Initialize.
62017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
62018 initializtion of main_arena and list_lock. Small cleanups.
62019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
62021 Add initializers to main_arena and mp_.
62022 (malloc_state): Remove pagesize member. Change all users to use
62025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
62027 is always initialized.
62029 * malloc/malloc.c: Removed unused configurations and dead code.
62030 * malloc/arena.c: Likewise.
62031 * malloc/hooks.c: Likewise.
62032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62034 * include/tls.h: Removed. USE___THREAD must always be defined.
62035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
62036 * elf/dl-libc.c: Likewise.
62037 * elf/dl-tsd.c: Likewise.
62038 * include/errno.h: Likewise.
62039 * include/netdb.h: Likewise.
62040 * include/resolv.h: Likewise.
62041 * inet/herrno-loc.c: Likewise.
62042 * inet/herrno.c: Likewise.
62043 * malloc/arena.c: Likewise.
62044 * malloc/hooks.c: Likewise.
62045 * malloc/malloc.c: Likewise.
62046 * resolv/res-state.c: Likewise.
62047 * resolv/res_libc.c: Likewise.
62048 * sysdeps/i386/dl-machine.h: Likewise.
62049 * sysdeps/ia64/dl-machine.h: Likewise.
62050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62054 * sysdeps/sh/dl-machine.h: Likewise.
62055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62057 * sysdeps/unix/i386/sysdep.S: Likewise.
62058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
62069 * sysdeps/x86_64/dl-machine.h: Likewise.
62070 * tls.make.c: Likewise.
62072 * configure.in: Remove --with-__thread option. Make tests for
62073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62074 tls_model attribute fail if no support is available. Remove
62076 * Makeconfig: Adjust for dropped configure option. All features are
62078 * Makerules: Likewise.
62079 * Versions.def: Likewise.
62080 * argp/argp-fmtstream.c: Likewise.
62081 * argp/argp-fmtstream.h: Likewise.
62082 * argp/argp-help.c: Likewise.
62083 * assert/assert.c: Likewise.
62084 * config.h.in: Likewise.
62085 * config.make.in: Likewise.
62086 * configure: Likewise.
62087 * configure.in: Likewise.
62088 * csu/Versions: Likewise.
62089 * csu/init.c: Likewise.
62090 * elf/tst-audit2.c: Likewise.
62091 * elf/tst-tls10.c: Likewise.
62092 * elf/tst-tls10.h: Likewise.
62093 * elf/tst-tls11.c: Likewise.
62094 * elf/tst-tls12.c: Likewise.
62095 * elf/tst-tls14.c: Likewise.
62096 * elf/tst-tlsmod11.c: Likewise.
62097 * elf/tst-tlsmod12.c: Likewise.
62098 * elf/tst-tlsmod13.c: Likewise.
62099 * elf/tst-tlsmod13a.c: Likewise.
62100 * elf/tst-tlsmod14a.c: Likewise.
62101 * elf/tst-tlsmod15b.c: Likewise.
62102 * elf/tst-tlsmod16a.c: Likewise.
62103 * elf/tst-tlsmod16b.c: Likewise.
62104 * elf/tst-tlsmod7.c: Likewise.
62105 * elf/tst-tlsmod8.c: Likewise.
62106 * elf/tst-tlsmod9.c: Likewise.
62107 * gmon/gmon.c: Likewise.
62108 * grp/fgetgrent_r.c: Likewise.
62109 * grp/putgrent.c: Likewise.
62110 * hurd/fopenport.c: Likewise.
62111 * include/libc-symbols.h: Likewise.
62112 * include/tls.h: Likewise.
62113 * intl/gettextP.h: Likewise.
62114 * intl/loadinfo.h: Likewise.
62115 * locale/global-locale.c: Likewise.
62116 * locale/localeinfo.h: Likewise.
62117 * mach/devstream.c: Likewise.
62118 * malloc/arena.c: Likewise.
62119 * malloc/set-freeres.c: Likewise.
62120 * misc/err.c: Likewise.
62121 * misc/getttyent.c: Likewise.
62122 * misc/mntent_r.c: Likewise.
62123 * posix/getopt.c: Likewise.
62124 * posix/wordexp.c: Likewise.
62125 * pwd/fgetpwent_r.c: Likewise.
62126 * resolv/Versions: Likewise.
62127 * resolv/res_hconf.c: Likewise.
62128 * shadow/fgetspent_r.c: Likewise.
62129 * shadow/putspent.c: Likewise.
62130 * stdio-common/printf_fphex.c: Likewise.
62131 * stdio-common/tmpfile.c: Likewise.
62132 * stdlib/abort.c: Likewise.
62133 * stdlib/fmtmsg.c: Likewise.
62134 * sunrpc/auth_unix.c: Likewise.
62135 * sunrpc/clnt_perr.c: Likewise.
62136 * sunrpc/clnt_tcp.c: Likewise.
62137 * sunrpc/clnt_udp.c: Likewise.
62138 * sunrpc/clnt_unix.c: Likewise.
62139 * sunrpc/openchild.c: Likewise.
62140 * sunrpc/svc_simple.c: Likewise.
62141 * sunrpc/svc_tcp.c: Likewise.
62142 * sunrpc/svc_udp.c: Likewise.
62143 * sunrpc/svc_unix.c: Likewise.
62144 * sunrpc/xdr.c: Likewise.
62145 * sunrpc/xdr_array.c: Likewise.
62146 * sunrpc/xdr_rec.c: Likewise.
62147 * sunrpc/xdr_ref.c: Likewise.
62148 * sunrpc/xdr_stdio.c: Likewise.
62150 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62154 2011-07-03 Andreas Jaeger <aj@suse.de>
62156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62158 regenerate with gen-libm-tests.pl.
62160 2010-05-12 Petr Baudis <pasky@suse.cz>
62163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62164 around j0() zero points by switching to j1().
62165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62177 Patch in part by Pavel Roskin <proski@gnu.org>.
62180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62183 Free memory block if necessary.
62186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62187 be NULL. Don't lock in this case.
62189 2011-09-09 Roland McGrath <roland@hack.frob.com>
62191 * elf/elf.h (ELFOSABI_GNU): New macro.
62192 (ELFOSABI_LINUX): Define to that.
62194 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62196 * string/strncat.c (strncat): Undef the symbol in case it has been
62197 defined in bits/string.h.
62199 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62206 2011-08-17 Andreas Jaeger <aj@suse.de>
62208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62210 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62211 Ian Lance Taylor <iant@google.com>
62213 * math/libm-test.inc (lround_test): New testcase.
62214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62216 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62218 * Makefile: Remove support for automatic cvs check-ins.
62219 * Makerules: Likewise.
62220 * config.make.in: Likewise.
62221 * configure.in: Likewise.
62222 * intl/Makefile: Likewise.
62223 * locale/Makefile: Likewise.
62224 * po/Makefile: Likewise.
62225 * posix/Makefile: Likewise.
62226 * sysdeps/gnu/Makefile: Likewise.
62227 * sysdeps/mach/hurd/Makefile: Likewise.
62228 * sysdeps/sparc/sparc32/Makefile: Likewise.
62231 * posix/Makefile (bug-regex32-ENV): Define.
62232 Patch by John Stanley <jpsinthemix@verizon.net>.
62234 * misc/Makefile (headers): Add bits/select2.h.
62235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62236 * misc/bits/select2.h: New file.
62237 * include/bits/select2.h: New file.
62238 * debug/Makefile (routines): Add fdelt_chk.
62239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62242 * debug/fdelt_chk.c: New file.
62244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62245 * wcsmbs/test-wmemcmp.c: Likewise.
62246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62249 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62251 * string/Makefile (strop-tests): Add memcmp.
62252 * string/test-wmemcmp.c: New file.
62253 * string/test-memcmp.c: Add wmemcmp support.
62255 2011-09-08 Roland McGrath <roland@hack.frob.com>
62258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62262 garbage value in a __mach_port_mod_refs call in the cases of the
62263 task-self and thread-self ports.
62265 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62269 2011-09-08 Andreas Schwab <schwab@redhat.com>
62271 * elf/dl-load.c (lose): Check for non-null L.
62273 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62277 * elf/dl-libc.c (dlerror_run): Pass back error code from
62281 * elf/dl-load.c (lose): Free l_origin if it is valid.
62283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62292 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62305 2011-08-15 Alan Modra <amodra@gmail.com>
62308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62311 ppc_mcount to static-only-routines.
62312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62317 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62320 for finite and infinity parameters.
62322 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62325 and add nop instructions for throughput optimization.
62326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62328 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62331 aligned copy for power7 with vector-scalar instructions.
62332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62334 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62339 2011-09-07 Andreas Schwab <schwab@redhat.com>
62342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62345 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62353 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62356 Forgot to demangle the pointer.
62358 * sysdeps/i386/sysdep.h: Define atom_text_section.
62359 * sysdeps/x86_64/sysdep.h: Likewise.
62360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62361 section with atom_text_section.
62362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62370 already be defined. Change to take two parameters and don't assign
62371 result to variable. Adjust all users.
62372 Define INTERNAL_GETTIME if not already defined.
62373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62376 HAVE_CLOCK_GETTIME_VSYSCALL.
62377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62380 gettimeofday vsyscall, just use time.
62382 2011-09-06 Andreas Schwab <schwab@redhat.com>
62384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62387 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62395 syscall if possible.
62397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62400 e_ident. Don't pass to find_mapsXX.
62401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62403 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62407 * sysdeps/x86_64/multiarch/strchr.S: Update.
62408 Check bit_slow_BSF bit.
62409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62413 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62418 (tryshell): Define.
62419 (__spawni): Change last parameter to be flag. Test
62420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62423 * posix/spawni.c: Likewise.
62424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62425 * posix/spawnp.c: Likewise. Change normal version to use
62426 SPAWN_XFLAGS_USE_PATH.
62427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62428 SPAWN_XFLAGS_TRY_SHELL.
62431 * posix/glob.h: Remove gcc 1.x support.
62434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62436 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62448 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62450 * sysdeps/x86_64/wcscmp.S: New file.
62452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62453 wcscmp-c wcscmp-sse2
62454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62457 * wcsmbs/wcscmp.c: Allow renaming.
62459 2011-09-05 David S. Miller <davem@davemloft.net>
62461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62462 stack slot, rather than the struct return pointer slot.
62463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62470 * po/ja.po: Update from translation team.
62473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62474 kernel in 64-bit binaries.
62476 2011-09-01 David S. Miller <davem@davemloft.net>
62478 * elf/elf.h (HWCAP_SPARC_*): Move to..
62479 * sysdeps/sparc/sysdep.h: this new file and add new values.
62480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62482 _DL_HWCAP_COUNT to 24.
62483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62489 instead of magic constants.
62490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62492 2011-08-31 David S. Miller <davem@davemloft.net>
62494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62496 Reimplement to do errno handling inline.
62497 (SYSCALL_ERROR_HANDLER): New macro.
62498 (__SYSCALL_STRING): Do not do errno handling in asm.
62499 (__CLONE_SYSCALL_STRING): Delete.
62500 (__INTERNAL_SYSCALL_STRING): Delete.
62501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62503 (PSEUDO): Reimplement to do errno handling inline.
62504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62505 (SYSCALL_ERROR_HANDLER): New macro.
62506 (__SYSCALL_STRING): Do not do errno handling in asm.
62507 (__CLONE_SYSCALL_STRING): Delete.
62508 (__INTERNAL_SYSCALL_STRING): Delete.
62509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62513 (inline_syscall*): Add 'err' argument.
62514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62522 2011-08-30 Andreas Schwab <schwab@redhat.com>
62524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
62526 2011-08-29 Jiri Olsa <jolsa@redhat.com>
62528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62531 2011-08-24 David S. Miller <davem@davemloft.net>
62533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62535 2011-08-24 Andreas Schwab <schwab@redhat.com>
62537 * elf/Makefile: Add rules to build and run unload8 test.
62538 * elf/unload8.c: New file.
62539 * elf/unload8mod1.c: New file.
62540 * elf/unload8mod1x.c: New file.
62541 * elf/unload8mod2.c: New file.
62542 * elf/unload8mod3.c: New file.
62544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
62547 2011-08-23 David S. Miller <davem@davemloft.net>
62549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62550 subtract stack bias.
62551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62552 %sp not %fp in calculations.
62553 (_JMPBUF_UNWINDS_ADJ): Likewise.
62555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62556 (aio_suspend): Call it to force an exception region around the
62557 AIO_MISC_WAIT() invocation.
62559 2011-08-23 Andreas Schwab <schwab@redhat.com>
62561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62564 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
62566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62569 and <dl-machine.h>.
62570 (Elf64_FuncDesc): Remove.
62572 2011-08-22 David S. Miller <davem@davemloft.net>
62574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62575 sigaltstack check, add missing cfi directives.
62576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62577 missing cfi directives, and sigaltstack handling.
62579 2011-08-16 Andreas Schwab <schwab@redhat.com>
62582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62583 object is seen twice.
62584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62586 * elf/Makefile (distribute): Add tst-initorder2.c.
62587 (tests): Add tst-initorder2.
62588 (modules-names): Add tst-initorder2a tst-initorder2b
62589 tst-initorder2c tst-initorder2d. Add rules to build them.
62590 ($(objpfx)tst-initorder2.out): New rule.
62591 * elf/tst-initorder2.c: New file.
62592 * elf/tst-initorder2.exp: New file.
62594 2011-08-22 Andreas Schwab <schwab@redhat.com>
62596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62599 dependencies back to end of function.
62601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62602 $(elfobjdir)/ld.so.
62604 2011-08-21 Ulrich Drepper <drepper@gmail.com>
62606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
62607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
62608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
62609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
62610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
62611 of __vdso_gettimeofday.
62612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
62613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
62615 (_libc_vdso_platform_setup): Remove initialization of
62616 __vdso_gettimeofday and __vdso_time.
62618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
62621 and fgetc_unlocked.
62622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
62625 * elf/dl-open.c (add_to_global): Report additions to the global scope
62626 for LD_DEBUG=scopes.
62627 (dl_open_worker): Also print scope of newly loaded dependencies.
62628 (_dl_show_scope): Indicate if there is no scope.
62631 * stdio-common/Makefile (tests): Add bug24.
62632 * stdio-common/bug24.c: New file.
62634 2011-08-19 Andreas Jaeger <aj@suse.de>
62637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
62638 non-existant file when using close-on-exec mode.
62640 2011-08-20 Ulrich Drepper <drepper@gmail.com>
62642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
62643 the very first instruction.
62645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
62646 the CFI state in the end.
62647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
62648 inclusion of dl-trampoline.h.
62649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
62651 2011-08-19 Andreas Schwab <schwab@redhat.com>
62653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
62654 expectations for long double.
62656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
62657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
62659 2011-08-14 David S. Miller <davem@davemloft.net>
62661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
62662 artificual limit depends upon the system page size.
62664 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
62667 * resolv/Makefile: Define CFLAGS-libresolv.
62669 2011-08-17 Andreas Schwab <schwab@redhat.com>
62671 * nss/makedb.c (compute_tables): Make variables used in nested
62674 2011-08-17 Ulrich Drepper <drepper@gmail.com>
62676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
62677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
62678 if buffer was too small.
62680 * elf/pldd.c (main): Attach to all threads in the process.
62681 Rewrite /proc handling to use *at functions.
62683 2011-08-16 Ulrich Drepper <drepper@gmail.com>
62685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
62686 specifies first scope to show.
62687 (dl_open_worker): Update callers. Move printing scope of new
62688 object to before the relocation.
62689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
62690 * sysdeps/generic/ldsodefs.h: Update declaration.
62692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
62693 string for the scope number.
62695 2011-08-14 Ulrich Drepper <drepper@gmail.com>
62697 * nscd/servicescache.c (cache_addserv): Make sure written is always
62700 2011-08-14 Roland McGrath <roland@hack.frob.com>
62702 * sysdeps/i386/i486/bits/atomic.h
62703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
62704 statement expression, so as to suppress "set but not used" warning.
62705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
62707 * string/strncat.c (STRNCAT): Use prototype definition.
62709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
62710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
62712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
62713 (localedef-modules): Add localedef.
62714 (locale-modules): Add locale.
62716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
62717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
62718 to avoid a warning.
62720 2011-08-14 David S. Miller <davem@davemloft.net>
62722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
62723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
62725 2011-08-13 Ulrich Drepper <drepper@gmail.com>
62727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
62728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
62729 * elf/rtld.c (dl_main): Set l_name of vDSO.
62730 Call _dl_show_scope when DL_DEBUG_SCOPES.
62731 (process_dl_debug): Recognize scopes flag and also set it for all.
62732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
62733 Declare _dl_show_scope.
62735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
62736 (do_dlopen): Pass caller_dlopen to dl_open.
62737 (__libc_dlopen_mode): Initialize caller_dlopen.
62739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
62740 of libc. Make tolower call locale-independent. Optimize a bit by
62741 using isdigit instead of isalnum.
62742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
62744 2011-08-12 Ulrich Drepper <drepper@gmail.com>
62746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
62747 was a dependency or dynamically loaded.
62749 2011-08-11 Ulrich Drepper <drepper@gmail.com>
62751 * intl/l10nflist.c: Allow architecture-specific pop function.
62752 * sysdeps/x86_64/l10nflist.c: New file.
62754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
62757 2011-08-10 Andreas Schwab <schwab@redhat.com>
62759 * include/dirent.h: Add libc_hidden_proto for scandirat and
62760 scandirat64. Don't declare __scandirat64.
62761 * dirent/scandirat.c: Add libc_hidden_def.
62762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
62763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
62765 2011-08-10 David S. Miller <davem@davemloft.net>
62767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
62769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62773 2011-08-09 Ulrich Drepper <drepper@gmail.com>
62775 * Versions.def [libc]: Add GLIBC_2.15.
62776 * dirent/Makefile (routines): Add scandirat and scandirat64.
62777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
62779 * dirent/dirent.h: Declare scandirat and scandirat64.
62780 * dirent/scandirat.c: New file.
62781 * dirent/scandirat64.c: New file.
62782 * sysdeps/wordsize-64/scandirat.c: New file.
62783 * sysdeps/wordsize-64/scandirat64.c: New file.
62784 * dirent/opendir.c: Define opendirat.
62785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
62787 * dirent/scandir64.c: Adjust for scandir.c change.
62788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
62789 __scandirat64, and __scandir_cancel_handler.
62790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
62791 additional parameter and use openat instead of open (outside of ld.so).
62792 Add new __opendir as wrapper around __opendirat.
62793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
62794 here without requiring old scandirat implementation.
62796 2011-08-08 Ulrich Drepper <drepper@gmail.com>
62798 * dirent/scandir.c (cancel_handler): Renamed to
62799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
62800 defined. Adjust users.
62801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
62802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
62804 2011-08-04 Ulrich Drepper <drepper@gmail.com>
62806 * string/test-string.h (IMPL): Use __STRING to expand name and then
62809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
62812 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62814 * string/Makefile: Update.
62815 (strop-tests): Append strncat.
62816 * string/test-wcscmp.c: New file.
62817 New comprehensive test for wcscmp.
62818 * string/test-strcmp.c: Update.
62819 (WIDE): New define.
62821 2011-07-22 Andreas Schwab <schwab@redhat.com>
62823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
62826 2011-07-26 Andreas Schwab <schwab@redhat.com>
62828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62829 encoding to ACE if AI_IDN.
62831 2011-08-01 Jakub Jelinek <jakub@redhat.com>
62833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
62834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
62836 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
62839 Fix overflow bug in strncat.
62840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
62842 * string/test-strncat.c: Update.
62843 Add new tests for checking overflow bugs.
62845 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
62849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
62850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
62851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
62852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
62853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
62854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
62855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
62857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
62858 (USE_AS_STRCAT): Define.
62859 Add strcat and strncat support.
62860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62862 2011-07-25 Andreas Schwab <schwab@redhat.com>
62864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
62865 __n bigger than INT_MAX+1.
62866 (__strncmp_g): Likewise.
62868 2011-07-23 Ulrich Drepper <drepper@gmail.com>
62870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
62871 * libio/stido.h: Likewise.
62873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
62875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
62878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
62879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
62882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
62888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
62890 (_dl_x86_64_save_sse): Likewise.
62892 2011-07-22 Ulrich Drepper <drepper@gmail.com>
62894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
62896 (_dl_x86_64_save_sse): Likewise.
62898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
62900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
62902 2011-07-21 Andreas Schwab <schwab@redhat.com>
62904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
62906 (_dl_x86_64_save_sse): Use correct AVX check.
62908 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
62911 bug in strncpy/strncat.
62912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
62914 2011-07-21 Ulrich Drepper <drepper@gmail.com>
62916 * string/tester.c (test_strcat): Add tests for different alignments
62917 of source and destination.
62918 (test_strncat): Likewise.
62920 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62923 * posix/glob.c (glob): Check passed in values before using them in
62924 expressions to avoid some overflows.
62925 (glob_in_dir): Likewise.
62928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
62929 check for AVX enablement so that we don't crash with old kernels and
62931 * elf/tst-audit4.c: Add same checks here.
62932 * elf/tst-audit6.c: Likewise.
62934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
62936 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
62938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
62940 2011-07-20 Ulrich Drepper <drepper@gmail.com>
62942 * po/cs.po: Update from translation team.
62943 * po/bg.po: Likewise.
62945 2011-07-12 Marek Polacek <mpolacek@redhat.com>
62947 * misc/sys/cdefs.h: Add support for const attribute.
62948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
62949 to gnu_dev_{major,minor,makedev} functions.
62951 2011-07-20 Marek Polacek <mpolacek@redhat.com>
62953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
62955 2011-07-20 Andreas Schwab <schwab@redhat.com>
62957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62960 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62964 register in order to avoid conflicts with the soft frame pointer
62965 being held in r11 when necessary.
62966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62967 (INTERNAL_VSYSCALL_NCS): Likewise.
62969 2011-07-14 Marek Polacek <mpolacek@redhat.com>
62971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62972 * elf/dl-fini.c (_dl_fini): Adjust caller.
62973 * elf/dl-close.c (_dl_close_worker): Likewise.
62974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
62976 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62979 "aux_cache->nlibs < 0".
62981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62982 in the reload-count case.
62984 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62990 * sysdeps/x86_64/multiarch/strcat.S: New file.
62991 * sysdeps/x86_64/multiarch/strncat.S: New file.
62992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62997 (USE_AS_STRCAT): Define.
62998 Add strcat and strncat support.
62999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63002 * string/strncat.c: Update.
63003 (USE_AS_STRNCAT): Define.
63004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63007 * sysdeps/x86_64/multiarch/init-arch.h
63008 (bit_Prefer_PMINUB_for_stringop): New.
63009 (index_Prefer_PMINUB_for_stringop): Likewise.
63010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63011 bit_Prefer_PMINUB_for_stringop.
63013 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63018 of casting of buffer.
63019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63020 buffer32 and buffer64.
63021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63022 writes instead of casting of buffer.
63023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63028 2011-07-19 Andreas Schwab <schwab@redhat.com>
63030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63032 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63034 * nscd/nscd.c (termination_handler): Don't do anything for a database
63035 if it has not yet been initialized.
63037 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63041 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63045 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63047 * po/nl.po: Update from translation team.
63048 * po/sv.po: Likewise.
63050 2011-07-16 Roland McGrath <roland@hack.frob.com>
63052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63053 now disallowed by GCC.
63055 * configure.in (use-default-link): Default to yes if a test -shared
63056 link meets our qualifications.
63057 * configure: Regenerated.
63059 * config.make.in (output-format): New variable.
63060 * configure.in: Check for ld --print-output-format support.
63061 * configure: Regenerated.
63062 * Makerules ($(common-objpfx)format.lds)
63063 [$(output-format) != unknown]: Just use $(output-format),
63064 instead of the linker-script munging.
63066 2011-07-14 Roland McGrath <roland@hack.frob.com>
63068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63069 of $(common-objpfx)shlib.lds.
63070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63075 * configure.in (-z relro check): Adjust test code to add a large
63076 writable data section after it.
63077 * configure: Regenerated.
63079 2011-07-11 Roland McGrath <roland@hack.frob.com>
63081 * configure.in (-z relro check): Fix test code to make the variable
63083 * configure: Regenerated.
63085 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63087 * nscd/nscd.h (struct traced_file): Define.
63088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63089 elements. Add traced_files.
63090 (inotify_fd): Declare.
63091 (register_traced_file): Declare.
63092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63093 (inotify_fd): Export.
63094 (resolv_conf_descr): Remove.
63095 (nscd_init): Move inotify descriptor creation to main.
63096 Don't register files for notification here.
63097 (register_traced_file): New function.
63098 (invalidate_cache): Don't use reset_res to determine whether to call
63099 res_init, go through the list of registered files.
63100 (main_loop_poll): The inotify descriptors are now stored in the
63101 structures for the traced files.
63102 (main_loop_epoll): Likewise
63103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63104 to __nss_disable_nscd.
63105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63106 for a database anymore. Check the records for all the registered
63108 * nss/Makefile (libnss_files-routines): Add files-init.
63109 (libnss_db-routines): Add db-init.
63110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63112 * nss/nss_db/db-init.c: New file.
63113 * nss/nss_files/files-init.c: New file.
63114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63115 __nss_lookup_function.
63116 (__nss_lookup_function): Call nss_load_library.
63117 (nss_load_all_libraries): New function.
63118 (__nss_disable_nscd): Take parameter with callback function for files
63119 to register. Set is_nscd. Load all the DSOs for the NSS modules
63120 used for the cached services.
63121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63123 options for features to all the files in nscd.
63125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63127 2011-07-10 Roland McGrath <roland@hack.frob.com>
63129 * csu/elf-init.c (__libc_csu_init): Comment typo.
63131 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63133 * po/pl.po: Update from translation team.
63134 * po/ja.po: Likewise.
63135 * po/ru.po: Likewise.
63136 * po/ko.po: Likewise.
63137 * po/fr.po: Likewise.
63139 2011-07-09 Roland McGrath <roland@hack.frob.com>
63141 * configure.in (.ctors/.dtors header and trailer check):
63142 Use an empirical test on a built program.
63143 * configure: Regenerated.
63145 * configure.in (-z relro check): Use an empirical test on a built DSO.
63146 Detect, but do not require, on ia64.
63147 * configure: Regenerated.
63149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63150 Update tests that use readelf to use $READELF instead.
63151 * configure: Regenerated.
63153 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63156 if the result is not used.
63158 2011-07-05 Andreas Jaeger <aj@suse.de>
63161 * stdlib/tst-strtod.c: Add testcase.
63163 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63167 The latter has a higher limit. Take additional parameter to pass to
63169 (__pathconf): Pass file to __statfs_link_max.
63170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63180 (__statfs_filesize_max): Likewise.
63181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63183 2011-07-05 Andreas Jaeger <aj@suse.de>
63185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63187 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63194 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63196 * Makefile (strop-tests): Add strncat.
63197 * string/test-strncat.c: New file.
63199 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63203 2011-06-21 Andreas Jaeger <aj@suse.de>
63205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63206 Copy rule from iconvdata/Makefile.
63208 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63212 but no long options are defined, just return 'W'.
63214 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63219 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63223 (innetgr): Likewise.
63225 2011-07-05 Roland McGrath <roland@hack.frob.com>
63227 * config.make.in (install_root): Default to $(DESTDIR).
63229 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63233 2011-07-02 Roland McGrath <roland@hack.frob.com>
63235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63238 containing directory rather than embedding absolute directory names.
63240 * scripts/check-local-headers.sh: Rewritten using awk.
63241 Match by word, not by line. Print error messages for matches.
63242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63244 * Makerules [shlib-lds-flags empty]:
63245 ($(common-objpfx)libc_pic.opts): New target.
63246 ($(common-objpfx)libc_pic.os.clean): New target.
63247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63249 * config.make.in (OBJCOPY): New variable.
63250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63251 * configure: Regenerated.
63253 * config.make.in (use-default-link): New variable.
63254 * configure.in (use_default_link): Grok --with-default-link to set it.
63255 * configure: Regenerated.
63256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63257 (shlib-lds, shlib-lds-flags): Define to empty.
63259 * Makerules (shlib-lds): New variable.
63260 (shlib-lds-flags): New variable.
63261 (build-shlib, build-moduile, build-module-asneeded): Use it.
63262 ($(common-objpfx)libc.so): Use $(shlib-lds).
63263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63267 DT_FLAGS/DT_FLAGS_1 with zero flags.
63269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63270 linker script munging.
63272 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63276 * crypt/sha512.c (sha512_process_block): Perform total addition using
63277 128-bit if possible.
63278 (__sha512_finish_ctx): Likewise.
63279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63281 * crypt/sha256.c (SWAP64): Define.
63282 (sha256_process_block): Perform total addition using 64-bit if
63284 (__sha256_finish_ctx): Likewise.
63286 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63290 * nscd/hstcache.c (cache_addhst): Likewise.
63291 * nscd/grpcache.c (cache_addgr): Likewise.
63292 * nscd/aicache.c (addhstaiX): Likewise
63293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63295 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63299 * nscd/hstcache.c (cache_addhst): Likewise.
63300 * nscd/grpcache.c (cache_addgr): Likewise.
63301 * nscd/aicache.c (addhstaiX): Likewise
63303 2011-07-01 Andreas Schwab <schwab@redhat.com>
63305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63306 domain only when needed.
63308 2011-06-30 Andreas Schwab <schwab@redhat.com>
63310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63311 is always restored.
63313 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63316 are re-adding the entry.
63317 * nscd/servicescache.c (cache_addserv): Likewise.
63319 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63321 * sysdeps/generic/dl-irel.h: fix protection against multiple
63323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63325 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63328 * malloc/memusage.sh: Fix quoting in message.
63329 * debug/xtrace.sh: Likewise.
63331 * configure.in: Remove support for --experimental-malloc option, make
63333 * config.make.in: Likewise.
63334 * malloc/Makefile: Likewise.
63336 2011-06-27 Andreas Schwab <schwab@redhat.com>
63338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63339 two-byte characters.
63341 2011-06-27 Roland McGrath <roland@hack.frob.com>
63343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63344 AC_CACHE_CHECK invocation.
63345 * configure: Regenerated.
63347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63349 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63353 bit from old_res_options.
63355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63358 value type for setfct.
63360 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63363 __gettimeofday instead of gettimeofday.
63365 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63369 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63376 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63380 strcpy-sse2-unaligned strncpy-sse2-unaligned
63381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63391 (STRCPY): Support SSE2 and SSSE3 versions.
63393 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63398 kernels which artificially limit size of requests.
63400 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63418 Enable unaligned load optimization for Intel Core i3, i5 and i7
63420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63422 (index_Fast_Unaligned_Load): Define.
63423 (HAS_FAST_UNALIGNED_LOAD): Define.
63425 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63429 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63433 until it is clear that the information is realy needed.
63434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63436 2011-06-22 Andreas Schwab <schwab@redhat.com>
63438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63440 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63443 /sys/devices/system/cpu/online if it is usable.
63445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63446 reading the information from the /proc filesystem to once a second.
63448 2011-06-21 Andreas Jaeger <aj@suse.de>
63450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63451 NULL after inclusion of kernel headers.
63453 2011-06-21 Ulrich Drepper <drepper@gmail.com>
63455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63456 calls to internal_setent.
63459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63460 addresses using gethostbyname4_r ignore IPv4 addresses.
63462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
63465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63467 2011-06-20 David S. Miller <davem@davemloft.net>
63469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63474 (elf_irel): Use it.
63475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63479 * sysdeps/x86_64/dl-irel.h: Likewise.
63481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
63482 * elf/dl-sym.c: Likewise.
63484 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
63487 need to dereference resplen2.
63489 2011-06-14 Andreas Schwab <schwab@redhat.com>
63491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
63495 * Makeconfig: Define vardbdir and inst_vardbdir.
63496 * nss/Makefile: Add rules to install db-Makefile.
63498 * nss/nss_db/db-XXX.c: Cleanup.
63500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63504 * nss/makedb.c: Implement -g option to specify that value strings
63505 are generated and should not be added to table iterated over for
63507 * nss/nss_db/db-initgroups.c: New file.
63509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
63512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63513 (internal_getgrouplist): Adjust to name change.
63514 Update use_initgroups_entry if this is not the first call.
63515 * nss/databases.def: Add initgroups entry.
63517 * nss/makedb.c (compute_tables): Check result of multiple hash table
63518 sizes to minimize maximum chain length.
63520 2011-06-14 Ulrich Drepper <drepper@gmail.com>
63522 * Versions.def: Add entry for libnss_db.
63523 * shlib-versions: Likewise.
63524 * nss/Makefile: Add rules to build libnss_db.
63525 * nss/Versions: Add libnss_db information. Organize libnss_files
63527 * nss/db-Makefile: Add gshadow support. Change rules for the new
63528 makedb progra. Some minor improvements to generate smaller files.
63529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
63531 * nss/makedb.c: ...here.
63532 Improve database format to be smaller and require less memory at
63534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
63536 * nss/nss_db/db-netgrp.c: Likewise.
63537 * nss/nss_db/db-open.c: Likewise.
63538 * nss/nss_files/flies-XXX.x: Adjust comments.
63539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63540 * nss/nss_files/files-grp.c: Likewise.
63541 * nss/nss_files/files-hosts.c: Likewise.
63542 * nss/nss_files/files-network.c: Likewise.
63543 * nss/nss_files/files-proto.c: Likewise.
63544 * nss/nss_files/files-pwd.c: Likewise.
63545 * nss/nss_files/files-rpc.c: Likewise.
63546 * nss/nss_files/files-service.c: Likewise.
63547 * nss/nss_files/files-sgrp.c: Likewise.
63548 * nss/nss_files/files-spwd.c: Likewise.
63549 * nss/nss_db/db-alias.c: Removed.
63550 * nss/nss_db/dummy-db.h: Removed.
63552 2011-06-02 Ulrich Drepper <drepper@gmail.com>
63554 * nss/makedb.c: Rewritten to not use database library.
63555 * nss/Makefile: Update to build new makedb program.
63557 2011-06-14 Andreas Jaeger <aj@suse.de>
63559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63560 memset declaration.
63562 2011-06-10 Andreas Schwab <schwab@redhat.com>
63564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63567 2011-06-10 Roland McGrath <roland@hack.frob.com>
63569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
63570 * elf/Makefile ($(objpfx)ld.so): Likewise.
63572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63573 Don't list ld.so twice in dependencies.
63575 * posix/bug-regex31.c: Include <stdlib.h>.
63577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
63579 * nis/nss_compat/compat-spwd.c
63580 (getspent_next_nss_netgr): Remove unused variable.
63581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63584 nonmembers" output to use the right array.
63586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63592 * catgets/gencat.c (read_input_file): Likewise.
63593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
63595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63596 variable definition inside #if's controlling its use.
63598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
63600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
63602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
63604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
63607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
63609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
63610 * configure: Regenerated.
63612 * Makerules: Revert last change.
63613 * elf/Makefile: Likewise.
63615 2011-06-09 Roland McGrath <roland@hack.frob.com>
63617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
63618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
63619 (reloc-link): Likewise.
63621 2011-06-09 Ulrich Drepper <drepper@gmail.com>
63623 * elf/Makefile: Add rules to build pldd.
63624 * elf/pldd.c: New file.
63625 * elf/pldd-xx.c: New file.
63627 2011-06-07 Ulrich Drepper <drepper@gmail.com>
63629 * version.h: Update for 2.15 development version.
63631 2011-06-07 David S. Miller <davem@davemloft.net>
63633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
63635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
63636 elf_machine_lazy_rel): Likewise.
63637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
63638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
63639 elf_machine_lazy_rel): Likewise.
63640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
63641 dl_hwcap via passed in argument.
63642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
63645 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
63649 2011-06-06 Roland McGrath <roland@hack.frob.com>
63652 * manual/fdl-1.1.texi: New file, verbatim from:
63653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
63654 * manual/lgpl-2.1.texi: New file, verbatim from:
63655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
63656 * manual/Makefile (licenses): New variable, list those new file names.
63658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
63660 * manual/fdl.texi: File removed.
63661 * manual/lesser.texi: File removed.
63662 * manual/libc.texinfo (Copying, Documentation License):
63663 Use new @include file names, put @appendix directive before @include.
63665 2011-06-04 Jakub Jelinek <jakub@redhat.com>
63668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
63669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
63670 (mq_open): Add __NTH.
63672 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
63674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63675 Assume Intel Core i3/i5/i7 processor if AVX is available.
63677 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63682 2011-05-31 Andreas Schwab <schwab@redhat.com>
63684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
63685 memory. Use alloca_account. Fix memory leak when retrying.
63687 2011-05-31 Ulrich Drepper <drepper@gmail.com>
63689 * version.h (RELEASE): Bump for 2.14 release.
63690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
63692 * config.make.in (RANLIB): Remove entry.
63694 2011-05-30 Ulrich Drepper <drepper@gmail.com>
63696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
63697 (libc.pot): Work around missing support for .ksh extension in xgettext.
63700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
63701 if both request failed.
63702 (send_dg): In case of server errors clear resplen or *resplen2.
63705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
63706 when there are multiple maps.
63707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
63708 (_dl_fini): Remove test here.
63710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
63712 2011-05-29 Ulrich Drepper <drepper@gmail.com>
63715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
63716 bit from old_res_options.
63717 (gaih_inet): Likewise.
63720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
63723 * resolv/res_init.c (res_setoptions): Make the code more compact.
63726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
63730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
63732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
63735 * malloc/malloc.h: Declare malloc hook variables as volatile.
63737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
63741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
63742 raise in the comment.
63743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
63747 2011-05-28 Ulrich Drepper <drepper@gmail.com>
63750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
63751 grow the buffers more if it already has to be sufficient.
63752 (build_wcs_upper_buffer): Likewise.
63753 * posix/regexec.c (check_matching): Likewise.
63754 (clean_state_log_if_needed): Likewise.
63755 (extend_buffers): Don't enlarge buffers beyond size of the input
63757 Patches mostly by Emil Wojak <emil@wojak.eu>.
63758 * posix/bug-regex32.c: New file.
63759 * posix/Makefile (tests): Add bug-regex32.
63761 * locale/findlocale.c (_nl_find_locale): Return right away if
63762 _nl_explode_name failed.
63763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
63765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
63767 * debug/xtrace.sh: Unify messages.
63768 * malloc/memusage.sh: Likewise.
63771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
63772 time symbol from vDSO. Substitute with vsyscall if not available.
63773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
63776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
63777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
63778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
63779 Add sendmmsg and internal_sendmmsg.
63780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
63781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
63782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
63784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
63785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
63786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
63788 2011-05-27 Ulrich Drepper <drepper@gmail.com>
63791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
63792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
63794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
63798 * iconvdata/Makefile (tests): Add bug-iconv9.
63799 * iconvdata/bug-iconv9.c: New file.
63801 2011-05-27 Andreas Schwab <schwab@redhat.com>
63804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
63806 2011-05-25 Jakub Jelinek <jakub@redhat.com>
63808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63809 (struct user_regs_struct): Change intcs field back to cs.
63811 2011-05-25 Ulrich Drepper <drepper@gmail.com>
63813 * po/ja.po: Update from translation team.
63815 2011-05-23 Ulrich Drepper <drepper@gmail.com>
63818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
63819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
63821 2011-05-20 Andreas Schwab <schwab@redhat.com>
63823 * stdlib/longlong.h: Update from GCC.
63825 2011-05-23 Andreas Schwab <schwab@redhat.com>
63827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
63829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
63830 Add parameter name.
63831 (__sysconf): Pass it down.
63833 2011-05-22 Ulrich Drepper <drepper@gmail.com>
63836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
63838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
63839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
63840 add in in __libc_use_alloca calls. Adjust callers.
63841 (glob): Use malloc in some situations.
63843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
63844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
63847 2011-05-21 Ulrich Drepper <drepper@gmail.com>
63849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
63850 and CLOCK_BOOTTIME_ALARM.
63853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
63856 * string/_strerror.c (__strerror_r): Print negative errors as signed
63860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
63861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
63862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
63864 * configure.in: Fix typo in redirection and correct removal of test
63865 files in two cases.
63868 * locale/setlocale.c (new_composite_name): Fix test to check for
63869 identical name of all categories.
63872 * libio/filedoalloc.c (local_isatty): New function.
63873 (_IO_file_doallocate): Use local_isatty.
63874 * stdio-common/perror.c (perror): In case a new stream is used
63875 forward the stream error.
63876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63879 2011-05-20 Ulrich Drepper <drepper@gmail.com>
63882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
63884 * include/alloca.h (extend_alloca_account): Define.
63887 * posix/regex.h: Fix comments with documentation of user-accessible
63888 fields after compilation and describe correct free'ing of pattern
63889 after re_compile_pattern.
63890 Patch by Reuben Thomas <rrt@sc3d.org>.
63892 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
63894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
63895 and -mno-altivec to prevent the compiler from using Altivec and/or
63896 VSX instructions when the corresponding registers are not available.
63898 2011-05-19 Andreas Schwab <schwab@redhat.com>
63900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
63902 2011-05-19 Ulrich Drepper <drepper@gmail.com>
63904 * libio/freopen.c (freopen): Use __dup2, not dup2.
63905 * libio/freopen64.c (freopen64): Likewise.
63907 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
63910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
63911 * math/Makefile (tests): Add test-powl.
63912 (CFLAGS-test-powl.c): Define.
63913 * math/test-powl.c: New file.
63915 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
63917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
63919 2011-05-17 Ulrich Drepper <drepper@gmail.com>
63922 * iconvdata/gb18030.c: Update to GB18020-2005.
63924 2011-05-16 Ulrich Drepper <drepper@gmail.com>
63926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
63927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
63928 Patch by Aharon Robbins <arnold@skeeve.com>.
63931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
63935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
63936 through underflows.
63939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
63940 point to strings before performing equality test for error_one_per_line
63944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
63947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
63948 (struct user_fpregs_struct): Avoid __uint*_t types.
63951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
63952 symbol info. Use it instead of calling _dl_addr locally.
63953 (lock_and_info): New function.
63954 (tr_freehook): Call lock_and_info and pass symbol info as additional
63955 parameter to tr_where.
63956 (tr_mallochook): Likewise.
63957 (tr_reallochook): Likewise.
63958 (tr_memalignhook): Likewise.
63960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
63961 used and couldn't be at all thread-safe.
63963 2011-05-15 Ulrich Drepper <drepper@gmail.com>
63965 * libio/freopen.c (freopen): Don't close old file descriptor
63966 before the new one is opened. Instead dup the new file descriptor
63967 to the old one after the new stream is created.
63968 * libio/freopen64.c (freopen64): Likewise.
63969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63970 * libio/fileops.c (_IO_new_file_close_it): Handle new
63971 _IO_FLAGS2_NOCLOSE flag.
63972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63975 _IO_FLAGS2_NOCLOSE flag.
63976 * include/unistd.h: Add hidden_proto for dup3.
63977 Define __have_dup3.
63978 * io/dup3.c: Define hidden symbol.
63979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63983 when an incomplete long option is used.
63984 * posix/tst-getopt_long1.c: New file.
63985 * posix/Makefile (tests): Add tst-getopt_long1.
63988 * scripts/config.guess: Update from autoconf-2.68.
63989 * scripts/config.sub: Likewise.
63992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63994 (has_cpuclock): ...this. New function.
63995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63996 macro here based on has_cpuclock code.
63999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64000 First byte (not low byte) is now always NUL.
64001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64004 Use non-cancelable interfaces.
64007 * locale/iso-639.def: Add entry for Sorani.
64010 * include/stdlib.h: Move include protection to the right place.
64011 Define abort_msg_s. Declare __abort_msg with it.
64012 * stdlib/abort.c (__abort_msg): Adjust type.
64013 * assert/assert.c (__assert_fail_base): New function. Majority
64014 of code from __assert_fail. Allocate memory for __abort_msg with
64016 (__assert_fail): Now call __assert_fail_base.
64017 * assert/assert-perr.c: Remove bulk of implementation. Use
64018 __assert_fail_base.
64019 * include/assert.hL Declare __assert_fail_base.
64020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64024 2011-05-14 Ulrich Drepper <drepper@gmail.com>
64028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64029 until all modules are registered in the DTV.
64030 * elf/Makefile: Add rules to build and run tst-tls19.
64031 * elf/tst-tls19.c: New file.
64032 * elf/tst-tls19mod1.c: New file.
64033 * elf/tst-tls19mod2.c: New file.
64034 * elf/tst-tls19mod3.c: New file.
64035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64043 two-byte sequence errors.
64044 * iconvdata/Makefile (tests): Add bug-iconv8.
64045 * iconvdata/bug-iconv8.c: New file.
64048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64055 (dummy_getcfa): New function.
64056 (init): Get _Unwind_GetCFA address, use dummy if not found.
64057 (backtrace_helper): In recursion check, also check whether CFA changes.
64058 (__backtrace): Completely initialize arg.
64060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64061 storing incomplete byte sequence in state object. Avoid testing for
64062 guaranteed too small input if we know there is enough data available.
64064 2011-05-11 Andreas Schwab <schwab@redhat.com>
64066 * Makeconfig (+link-pie): Indent.
64067 * Rules (binaries-pie): Define if $(have-fpie) and
64069 (binaries-shared): Also filter out $(binaries-pie).
64070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64071 * nscd/Makefile (others-pie): Add nscd.
64072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64073 ($(objpfx)nscd): Remove command override.
64074 * login/Makefile (others-pie): Add pt_chown.
64075 ($(objpfx)pt_chown): Remove command override.
64076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64077 remove command overrides.
64079 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64081 * libio/tst_putwc.c: Fix error messages.
64084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64085 currently writing and seek to current position when not.
64086 * libio/Makefile (tests): Add bug-fclose1.
64087 * libio/bug-fclose1.c: New file.
64089 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64093 don't set DF_1_NODELETE here.
64094 (do_lookup_x): When entering new entry test for copy relocation
64095 and if necessary set DF_1_NODELETE flag.
64096 * elf/tst-unique4.cc: New file.
64097 * elf/tst-unique4.h: New file.
64098 * elf/tst-unique4lib.cc: New file.
64099 * elf/Makefile: Add rules to build and run tst-unique4.
64100 Patch by Piotr Bury <pbury@goahead.com>.
64102 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64108 * misc/mntent_r.c (addmntent): Flush the stream after the output
64111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64112 (is_trusted_path_normalize): Skip initial colon. Append slash
64113 to empty buffer. Duplicate is_trusted_path code but allow
64114 constructed patch to be prefix.
64115 (is_dst): Allow $ORIGIN followed by /.
64116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64117 Correct testing of result of is_trusted_path_normalize
64118 (decompose_rpath): Fix warning.
64120 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64123 * grp/initgroups.c (internal_getgrouplist): When we found the service
64124 list through the initgroups entry in nsswitch.conf do not always
64125 continue on a successful lookup. Don't always use the
64126 __nss_group_database value if it is set.
64127 * nss/nsswitch.conf (initgroups): Change action for successful db
64128 lookup to continue for compatibility.
64130 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64137 * iconvdata/tst-tables.sh: Likewise.
64138 * iconvdata/cp770.c: New file.
64139 * iconvdata/cp771.c: New file.
64140 * iconvdata/cp772.c: New file.
64141 * iconvdata/cp773.c: New file.
64142 * iconvdata/cp774.c: New file.
64143 * iconvdata/testdata/CP770: New file.
64144 * iconvdata/testdata/CP770..UTF8: New file.
64145 * iconvdata/testdata/CP771: New file.
64146 * iconvdata/testdata/CP771..UTF8: New file.
64147 * iconvdata/testdata/CP772: New file.
64148 * iconvdata/testdata/CP772..UTF8: New file.
64149 * iconvdata/testdata/CP773: New file.
64150 * iconvdata/testdata/CP773..UTF8: New file.
64151 * iconvdata/testdata/CP774: New file.
64152 * iconvdata/testdata/CP774..UTF8: New file.
64154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64156 * iconvdata/gen-8bit-gap.sh: Likewise.
64157 * iconvdata/gen-8bit.sh: Likewise.
64159 * locale/iso-639.def: Add ary entry.
64162 * locale/C-translit.h.in: Add U20A1 transliteration.
64165 * locale/iso-639.def: Add wae entry.
64166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64173 * locale/C-translit.h.in: Add entry for U20B9.
64174 Patch by pravin.d.s@gmail.com.
64176 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64180 ENAMETOOLONG use generic getcwd.
64181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64182 in rtld. Use *stat64.
64183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64190 __fstatat64 macros.
64191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64192 * dirent/rewinddir.c: Add libc_hidden_def.
64193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64196 * include/dirent.h (__alloc_dir): Add flags parameter.
64197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64201 from fdopendir if O_CLOEXEC is already set.
64203 2011-03-15 Alan Modra <amodra@gmail.com>
64205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64206 l_tls_firstbyte_offset non-zero. Save padding offset in
64207 l_tls_firstbyte_offset for later use.
64208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64209 freeing static tls block.
64211 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64214 where #ifdef was intended. The intent is to prevent ARG_MAX from
64215 being defined by the kernel headers.
64217 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64220 * resolv/resolv.h: Define RES_NOTLDQUERY.
64221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64222 no-tld-query and set RES_NOTLDQUERY.
64223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64225 modern BIND to search name as TLD unless forbidden.
64227 2011-05-07 Petr Baudis <pasky@suse.cz>
64228 Ulrich Drepper <drepper@gmail.com>
64231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64232 (is_trusted_path): ...to here.
64233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64235 using is_trusted_path_normalize() in setuid scripts.
64237 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64240 __BEGIN/__END_DECLS.
64242 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64245 NSS_STATUS_NOTFOUND if no record was found.
64247 2011-05-05 Andreas Schwab <schwab@redhat.com>
64249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64250 (headers-not-in-tirpc): Remove rpc/netdb.h
64251 * resolv/netdb.h: Revert last change.
64253 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64256 circular dependency between libgcc.a and libc.a.
64258 2011-05-05 Andreas Schwab <schwab@redhat.com>
64260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64261 * nis/Makefile: Don't install rpcsvc/*.
64262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64263 instead of <rpc/types.h>.
64264 (MAXHOSTNAMELEN): Define.
64266 2011-05-03 Andreas Schwab <schwab@redhat.com>
64268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64270 2011-04-28 Maciej Babinski <mbabinski@google.com>
64273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64274 gethostbyname4_r when IPv6 results are possible.
64276 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64280 _PC_PIPE_BUF handling.
64282 2011-04-30 Bruno Haible <bruno@clisp.org>
64285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64288 * inet/getnameinfo.c (getnameinfo): Likewise.
64290 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64293 to groups setting in database lookup.
64294 * nss/nsswitch.conf: Add initgroups entry.
64296 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64301 Patch by Eric Blake <eblake@redhat.com>.
64303 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64305 * sunrpc/Makefile (need-export-routines): Add svc_run.
64306 (routines): Remove svc_run.
64307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64309 * sunrpc/svc_run.c (svc_run): Likewise.
64310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64312 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64315 problem in reallocation in last patch.
64317 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64319 * sunrpc/Makefile: Move inclusion of Rules.
64321 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64323 * nss/nss_files/files-initgroups.c: New file.
64324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64326 _nss_files_initgroups_dyn.
64328 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64330 * elf/elf.h (R_ARM_IRELATIVE): Define.
64332 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64334 * po/ru.po: Update from translation team.
64336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64341 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64350 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64358 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64363 * stdlib/bug-getcontext.c: New file.
64364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64366 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64369 instructions into .machine "z9-109".
64370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64373 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64376 between environment variables and auxiliary vector.
64378 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64380 * Makefile: Add rules to build linkobj/libc.so.
64381 * include/libc-symbols.h: Define libc_hidden_nolink.
64382 * include/rpc/auth.h: Mark functions which are to be hidden.
64383 * include/rpc/auth_des.h: Likewise.
64384 * include/rpc/auth_unix.h: Likewise.
64385 * include/rpc/clnt.h: Likewise.
64386 * include/rpc/des_crypt.h: Likewise.
64387 * include/rpc/key_prot.h: Likewise.
64388 * include/rpc/pmap_clnt.h: Likewise.
64389 * include/rpc/pmap_prot.h: Likewise.
64390 * include/rpc/pmap_rmt.h: Likewise.
64391 * include/rpc/rpc_msg.h: Likewise.
64392 * include/rpc/svc.h: Likewise.
64393 * include/rpc/svc_auth.h: Likewise.
64394 * include/rpc/xdr.h: Likewise.
64395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64396 * nss/Makefile: Likewise.
64397 * sunrpc/Makefile: Don't install headers. Build library with normal
64398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64400 for the compat linking library. Remove use of INTDEF/INTUSE.
64401 * sunrpc/auth_none.c: Likewise.
64402 * sunrpc/auth_unix.c: Likewise.
64403 * sunrpc/authdes_prot.c: Likewise.
64404 * sunrpc/authuxprot.c: Likewise.
64405 * sunrpc/clnt_gen.c: Likewise.
64406 * sunrpc/clnt_perr.c: Likewise.
64407 * sunrpc/clnt_raw.c: Likewise.
64408 * sunrpc/clnt_simp.c: Likewise.
64409 * sunrpc/clnt_tcp.c: Likewise.
64410 * sunrpc/clnt_udp.c: Likewise.
64411 * sunrpc/clnt_unix.c: Likewise.
64412 * sunrpc/des_crypt.c: Likewise.
64413 * sunrpc/des_soft.c: Likewise.
64414 * sunrpc/get_myaddr.c: Likewise.
64415 * sunrpc/key_call.c: Likewise.
64416 * sunrpc/key_prot.c: Likewise.
64417 * sunrpc/netname.c: Likewise.
64418 * sunrpc/pm_getmaps.c: Likewise.
64419 * sunrpc/pm_getport.c: Likewise.
64420 * sunrpc/pmap_clnt.c: Likewise.
64421 * sunrpc/pmap_prot.c: Likewise.
64422 * sunrpc/pmap_prot2.c: Likewise.
64423 * sunrpc/pmap_rmt.c: Likewise.
64424 * sunrpc/publickey.c: Likewise.
64425 * sunrpc/rpc_cmsg.c: Likewise.
64426 * sunrpc/rpc_common.c: Likewise.
64427 * sunrpc/rpc_dtable.c: Likewise.
64428 * sunrpc/rpc_prot.c: Likewise.
64429 * sunrpc/rpc_thread.c: Likewise.
64430 * sunrpc/rtime.c: Likewise.
64431 * sunrpc/svc.c: Likewise.
64432 * sunrpc/svc_auth.c: Likewise.
64433 * sunrpc/svc_authux.c: Likewise.
64434 * sunrpc/svc_raw.c: Likewise.
64435 * sunrpc/svc_run.c: Likewise.
64436 * sunrpc/svc_simple.c: Likewise.
64437 * sunrpc/svc_tcp.c: Likewise.
64438 * sunrpc/svc_udp.c: Likewise.
64439 * sunrpc/svc_unix.c: Likewise.
64440 * sunrpc/svcauth_des.c: Likewise.
64441 * sunrpc/xcrypt.c: Likewise.
64442 * sunrpc/xdr.c: Likewise.
64443 * sunrpc/xdr_array.c: Likewise.
64444 * sunrpc/xdr_float.c: Likewise.
64445 * sunrpc/xdr_intXX_t.c: Likewise.
64446 * sunrpc/xdr_mem.c: Likewise.
64447 * sunrpc/xdr_rec.c: Likewise.
64448 * sunrpc/xdr_ref.c: Likewise.
64449 * sunrpc/xdr_sizeof.c: Likewise.
64450 * sunrpc/xdr_stdio.c: Likewise.
64452 2011-04-10 Ulrich Drepper <drepper@gmail.com>
64455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64456 * sysdeps/ia64/dl-tls.h: Likewise.
64457 * sysdeps/powerpc/dl-tls.h: Likewise.
64458 * sysdeps/s390/dl-tls.h: Likewise.
64459 * sysdeps/sh/dl-tls.h: Likewise.
64460 * sysdeps/sparc/dl-tls.h: Likewise.
64461 * sysdeps/x86_64/dl-tls.h: Likewise.
64462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64464 2011-03-14 Andreas Schwab <schwab@redhat.com>
64466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64467 rpath element also skip the following colon.
64468 (expand_dynamic_string_token): Add is_path parameter and pass
64469 down to DL_DST_REQUIRED and _dl_dst_substitute.
64470 (decompose_rpath): Call expand_dynamic_string_token with
64471 non-zero is_path. Ignore empty rpaths.
64472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
64475 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
64477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64480 2011-04-09 Ulrich Drepper <drepper@gmail.com>
64483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64484 Patch by Filipe David Manana <fdmanana@apache.org>.
64486 2011-04-07 Andreas Schwab <schwab@redhat.com>
64488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64489 Maintain aligned stack.
64490 (CHECK_RSP): Remove unused macro.
64492 2011-04-03 Ulrich Drepper <drepper@gmail.com>
64494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64497 2011-04-02 Ulrich Drepper <drepper@gmail.com>
64499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
64503 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
64506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64508 * sysdeps/x86_64/memmove.c: New file.
64509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64510 (memcpy): Renamed to ...
64511 (__new_memcpy): This.
64512 (memcpy): Provide GLIBC_2_14 memcpy.
64513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64514 (memcpy): Provide GLIBC_2_2_5 memcpy.
64516 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64521 2011-03-30 Andreas Schwab <schwab@redhat.com>
64523 * misc/syncfs.c: New file.
64524 * misc/Makefile (routines): Add syncfs.
64525 * posix/unistd.h: Declare syncfs.
64526 * sysdeps/unix/syscalls.list: Add syncfs.
64528 2011-04-01 Andreas Schwab <schwab@redhat.com>
64530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64540 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
64551 sync_file_range.c with -fexceptions.
64552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64559 sync_file_range as cancellation point
64560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
64561 now a wrapper around __call_sync_file_range with cancellation handling.
64562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
64564 function name to __call_sync_file_range.
64565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64566 Add call_sync_file_range.
64568 2011-04-01 Andreas Schwab <schwab@redhat.com>
64570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64573 2011-04-01 Ulrich Drepper <drepper@gmail.com>
64575 * iconv/iconv.h: Fix typo in comment.
64576 * io/fcntl.h: Likewise.
64577 * libio/stdio.h: Likewise.
64578 * posix/spawn.h: Likewise.
64579 * posix/unistd.h: Likewise.
64580 * stdlib/stdlib.h: Likewise.
64581 * time/time.h: Likewise.
64582 * wcsmbs/wchar.h: Likewise.
64584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64585 open_by_handle): Add.
64586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
64588 Augment a few comments.
64589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64597 * io/fcntl.h (AT_EMPTY_PATH): Define.
64599 2011-03-30 Ulrich Drepper <drepper@gmail.com>
64601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
64602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
64603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
64605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
64606 * Versions.def: Add GLIBC_2.14.
64607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
64610 2011-03-22 Ulrich Drepper <drepper@gmail.com>
64612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
64614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64616 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
64619 * string/test-strncmp.c (do_page_test): New function.
64620 (check2): Likewise.
64621 (test_main): Call check2.
64622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
64624 2011-03-20 Ulrich Drepper <drepper@gmail.com>
64627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
64628 Handle cache information in CPU leaf 4.
64629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
64631 2011-03-18 Ulrich Drepper <drepper@gmail.com>
64634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
64635 character representation.
64636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
64638 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
64640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
64641 END(__isnan) to END(__isnanf) to match function entry point/label
64642 EALIGN(__isnanf,...).
64644 2011-03-10 Jakub Jelinek <jakub@redhat.com>
64646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
64648 2011-03-10 Ulrich Drepper <drepper@gmail.com>
64651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
64652 copy from the symbol referenced in the relocation to initialize the
64654 Patch by Piotr Bury <pbury@goahead.com>.
64655 * elf/Makefile: Add rules to build and tst-unique3.
64656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
64657 * elf/tst-unique3.cc: New file.
64658 * elf/tst-unique3.h: New file.
64659 * elf/tst-unique3lib.cc: New file.
64660 * elf/tst-unique3lib2.cc: New file.
64662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
64664 2011-03-10 Mike Frysinger <vapier@gentoo.org>
64666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
64667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
64670 2011-03-06 Ulrich Drepper <drepper@gmail.com>
64672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
64673 to-be-loaded object along a path to loader is ld.so.
64675 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64676 Ulrich Drepper <drepper@gmail.com>
64678 * sysdeps/x86_64/memset.S: After aligning destination, code
64679 branches to different locations depending on the value of
64680 misalignment, when multiarch is enabled. Fix this.
64682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
64684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
64685 Set _x86_64_preferred_memory_instruction for AMD processsors.
64686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64687 Set bit_Prefer_SSE_for_memop for AMD processors.
64689 2011-03-04 Ulrich Drepper <drepper@gmail.com>
64691 * libio/fmemopen.c (fmemopen): Optimize a bit.
64693 2011-03-03 Andreas Schwab <schwab@redhat.com>
64695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
64697 2011-03-03 Roland McGrath <roland@redhat.com>
64699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
64701 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
64703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
64704 __bzero_ultra1 instead of __memset_ultra1.
64706 2011-02-23 Andreas Schwab <schwab@redhat.com>
64707 Ulrich Drepper <drepper@gmail.com>
64710 * include/link.h (struct link_map): Add l_orig_initfini.
64711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
64712 returning unsuccessfully.
64713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
64714 close of a file loaded at startup, restore the original l_initfini
64716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
64717 list, store the pointer.
64718 * elf/Makefile ($(objpfx)noload-mem): New rule.
64719 (noload-ENV): Define.
64720 (tests): Add $(objpfx)noload-mem.
64721 * elf/noload.c: Include <memcheck.h>.
64722 (main): Call mtrace. Close all opened handles.
64724 2011-02-17 Andreas Schwab <schwab@redhat.com>
64727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
64728 dependencies are missing.
64730 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
64732 Fix __if_freereq crash: Unlike the generic version which uses free,
64734 * sysdeps/mach/hurd/ifreq.h: New file.
64736 2011-01-27 Petr Baudis <pasky@suse.cz>
64737 Ulrich Drepper <drepper@gmail.com>
64740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
64741 to extend_alloca().
64742 * stdio-common/bug23.c: New file.
64743 * stdio-common/Makefile (tests): Add bug23.
64745 2010-09-28 Andreas Schwab <schwab@redhat.com>
64746 Ulrich Drepper <drepper@gmail.com>
64749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
64750 before performing relro protection. At old place add assertion
64751 to make sure nothing changed.
64753 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
64754 Glauber de Oliveira Costa <glommer@gmail.com>
64756 * elf/elf.h: Add new ARM TLS relocs.
64758 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
64760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
64763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
64765 * sysdeps/wordsize-64/tst-writev.c: New file.
64767 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
64769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
64770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
64771 insns in _dl_start to prevent a TOC reference before relocs are
64774 2011-02-15 Ulrich Drepper <drepper@gmail.com>
64777 * Makeconfig: Remove RANLIB definition.
64778 * Makerules: Don't use RANLIB.
64779 * aclocal.m4: Remove ranlib test.
64780 * configure.in: No need to check for ranlib.
64781 * elf/rtld-Rules: Don't use RANLIB.
64783 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
64785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
64787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
64788 inclusion protection macro.
64790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
64791 SIGRTMIN and SIGRTMAX and print information in that case only when
64792 SIGRTMIN is defined.
64794 2011-02-11 Jakub Jelinek <jakub@redhat.com>
64796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
64797 arginfo fn returning -1.
64799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
64800 and thousands string is zero terminated.
64802 2011-02-03 Andreas Schwab <schwab@redhat.com>
64804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
64805 sysdeps/unix/sysv/linux/bits/socket.h.
64807 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
64809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
64810 (__CPU_COUNT): Remove old macros.
64811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
64812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
64813 (__CPU_ALLOC, __CPU_FREE): Add macros.
64814 (__sched_cpualloc, __sched_cpufree): Add declarations.
64816 2011-02-05 Ulrich Drepper <drepper@gmail.com>
64818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
64819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
64820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
64821 (readdhstai): Return value of addhstaiX call.
64822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
64823 (addgrbyX): Return value returned by cache_addgr.
64824 (readdgrbyname): Return value returned by addgrbyX.
64825 (readdgrbygid): Likewise.
64826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
64827 (addpwbyX): Return value returned by cache_addpw.
64828 (readdpwbyname): Return value returned by addhstbyX.
64829 (readdpwbyuid): Likewise.
64830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
64831 (addservbyX): Return value returned by cache_addserv.
64832 (readdservbyname): Return value returned by addservbyX:
64833 (readdservbyport): Likewise.
64834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
64835 (addhstbyX): Return value returned by cache_addhst.
64836 (readdhstbyname): Return value returned by addhstbyX.
64837 (readdhstbyaddr): Likewise.
64838 (readdhstbynamev6): Likewise.
64839 (readdhstbyaddrv6): Likewise.
64840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
64841 (readdinitgroups): Return value returned by addinitgroupsX.
64842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
64843 (prune_cache): Keep track of timeout value of re-added entries.
64844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
64845 * nscd/nscd.h: Adjust prototypes of readd* functions.
64847 2011-02-04 Roland McGrath <roland@redhat.com>
64849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
64850 (nis_stats): Likewise.
64851 * nis/nis_modify.c (nis_modify): Likewise.
64852 * nis/nis_remove.c (nis_remove): Likewise.
64853 * nis/nis_add.c (nis_add): Likewise.
64855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
64857 * posix/fnmatch_loop.c: Add some consts.
64859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
64861 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
64864 * config.make.in (config-cflags-novzeroupper): Define.
64865 * configure.in: Substitute libc_cv_cc_novzeroupper.
64866 * elf/Makefile (AVX-CFLAGS): Define.
64867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
64868 (CFLAGS-tst-auditmod4a.c): Likewise.
64869 (CFLAGS-tst-auditmod4b.c): Likewise.
64870 (CFLAGS-tst-auditmod6b.c): Likewise.
64871 (CFLAGS-tst-auditmod6c.c): Likewise.
64872 (CFLAGS-tst-auditmod7b.c): Likewise.
64873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
64875 2011-02-02 Ulrich Drepper <drepper@gmail.com>
64877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
64878 function to the callback.
64879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
64881 2011-02-02 Andreas Schwab <schwab@redhat.com>
64883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
64886 2011-01-19 Ulrich Drepper <drepper@gmail.com>
64889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
64891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
64893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
64896 * elf/Makefile: Add rules to build and run new test.
64897 * elf/tst-initorder.c: New file.
64898 * elf/tst-initorder.exp: New file.
64899 * elf/tst-initordera1.c: New file.
64900 * elf/tst-initordera2.c: New file.
64901 * elf/tst-initordera3.c: New file.
64902 * elf/tst-initordera4.c: New file.
64903 * elf/tst-initorderb1.c: New file.
64904 * elf/tst-initorderb2.c: New file.
64905 * elf/tst-order-a1.c: New file.
64906 * elf/tst-order-a2.c: New file.
64907 * elf/tst-order-a3.c: New file.
64908 * elf/tst-order-a4.c: New file.
64909 * elf/tst-order-b1.c: New file.
64910 * elf/tst-order-b2.c: New file.
64911 * elf/tst-order-main.c: New file.
64912 New test case by George Gensure <werkt0@gmail.com>.
64914 2010-10-01 Andreas Schwab <schwab@redhat.com>
64916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64917 decoding ACE if AI_CANONIDN.
64919 2011-01-18 Ulrich Drepper <drepper@gmail.com>
64921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
64923 2011-01-17 Ulrich Drepper <drepper@gmail.com>
64925 * version.h (RELEASE): Bump for 2.13 release.
64926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
64928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
64930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
64932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
64933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64939 * posix/getconf.c: Update copyright year.
64940 * catgets/gencat.c: Likewise.
64941 * csu/version.c: Likewise.
64942 * debug/catchsegv.sh: Likewise.
64943 * debug/xtrace.sh: Likewise.
64944 * elf/ldconfig.c: Likewise.
64945 * elf/ldd.bash.in: Likewise.
64946 * elf/sprof.c (print_version): Likewise.
64947 * iconv/iconv_prog.c: Likewise.
64948 * iconv/iconvconfig.c: Likewise.
64949 * locale/programs/locale.c: Likewise.
64950 * locale/programs/localedef.c: Likewise.
64951 * malloc/memusage.sh: Likewise.
64952 * malloc/mtrace.pl: Likewise.
64953 * nscd/nscd.c (print_version): Likewise.
64954 * nss/getent.c: Likewise.
64956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64957 PF_CAIF, and PF_ALG.
64958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64960 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
64962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64963 (modules-names): Use them.
64964 (ifunc-test-modules, ifunc-pie-tests): Define.
64965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64967 (test-extras): Likewise.
64968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64969 $(compile-command.c).
64970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64971 (all-built-dso): Define.
64972 (check-textrel.out, check-execstack.out): Depend on it.
64974 * configure.in: Don't override --enable-multi-arch.
64976 2011-01-15 Ulrich Drepper <drepper@gmail.com>
64979 * nscd/hstcache.c (tryagain): Define.
64980 (cache_addhst): Return tryagain not notfound for temporary errors.
64981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64984 2011-01-14 Ulrich Drepper <drepper@gmail.com>
64987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64988 to make the syscall.
64989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
64992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64993 and fall back to matching as normal character if the string ends before
64994 the matching ']' is found. This is what POSIX requires.
64995 * posix/testfnm.c: Adjust test result.
64996 * posix/globtest.sh: Adjust test result. Add new test.
64997 * posix/tst-fnmatch.input: Likewise.
64998 * posix/tst-fnmatch2.c: Add new test.
65000 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
65002 * elf/Makefile (check-execstack): Revert last change. Depend on
65004 (check-execstack.h): New target.
65005 (generated): Add check-execstack.h.
65006 * elf/check-execstack.c: Include "check-execstack.h".
65007 (main): Revert last change.
65008 (handle_file): Return zero if GNU_STACK is absent and
65009 DEFAULT_STACK_PERMS doesn't include PF_X.
65011 2011-01-13 Ulrich Drepper <drepper@gmail.com>
65013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65014 in child fails because the descriptor is already closed.
65015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65025 temporary buffer used to handle multi lookups locally.
65026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65028 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65033 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
65035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65036 alignment for SSE2.
65038 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65042 characters. When rounding increased number of integer digits recompute
65044 * stdio-common/tst-grouping.c: New file.
65045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
65047 2011-01-09 Ulrich Drepper <drepper@gmail.com>
65049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
65052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65054 * bits/select.h: Likewise.
65056 2011-01-08 Ulrich Drepper <drepper@gmail.com>
65058 * po/ja.po: Update from translation team.
65060 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
65063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65064 implementation just like for lxstat, fxstatat, et al.
65066 2010-12-27 Jim Meyering <meyering@redhat.com>
65069 * posix/regexec.c (build_trtable): Return failure indication upon
65070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
65072 2010-12-25 Ulrich Drepper <drepper@gmail.com>
65075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65087 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65091 script has SORT_BY_INIT_PRIORITY.
65092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65093 NO_CTORS_DTORS_SECTIONS is defined.
65094 * elf/soinit.c: Likewise.
65095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65096 NO_CTORS_DTORS_SECTIONS is defined.
65097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65099 * sysdeps/sh/init-first.c: Likewise.
65100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65102 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65105 always use the slow path.
65107 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65110 similar rule which adds the sysdep directories to the header search in
65111 order to pick up the correct platform stackinfo.h.
65112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65113 perform test if it is, otherwise return successfully without testing.
65114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65115 DEFAULT_STACK_PERMS define in stackinfo.h.
65116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65117 defined in stackinfo.h.
65118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65119 DEFAULT_STACK_PERMS defined in stackinfo.h.
65120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65121 * sysdeps/ia64/stackinfo.h: Likewise.
65122 * sysdeps/s390/stackinfo.h: Likewise.
65123 * sysdeps/sh/stackinfo.h: Likewise.
65124 * sysdeps/sparc/stackinfo.h: Likewise.
65125 * sysdeps/x86_64/stackinfo.h: Likewise.
65126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65127 PF_X for powerpc64. Retain PF_X for powerpc32.
65129 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65134 GETDENTS_64BIT_ALIGNED.
65136 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65140 2010-12-10 Andreas Schwab <schwab@redhat.com>
65142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65151 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65157 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65161 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65163 * po/it.po: Update from translation team.
65165 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65170 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65174 2010-11-24 Andreas Schwab <schwab@redhat.com>
65176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65178 (gaih_getanswer_slice): Likewise.
65180 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65184 2010-05-31 Petr Baudis <pasky@suse.cz>
65187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65188 silently even in the chroot mode.
65190 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65193 last patch a bit. Pretty printing
65195 2010-05-31 Petr Baudis <pasky@suse.cz>
65198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65199 initialization of skip_initgroups_dyn.
65201 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65206 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65210 2010-11-11 Andreas Schwab <schwab@redhat.com>
65212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65215 ($(objpfx)tst-fnmatch-mem): New rule.
65216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65217 * posix/tst-fnmatch.c (main): Call mtrace.
65219 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65222 Support Intel processor model 6 and model 0x2c.
65224 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65229 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65232 * string/test-strncasecmp.c (check_result): New function.
65233 (do_one_test): Use it.
65234 (check1): New function.
65235 (test_main): Use it.
65236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65237 Support strcasecmp and strncasecmp.
65239 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65245 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65251 * sysdeps/x86_64/multiarch/bzero.S: New file.
65252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65254 * sysdeps/x86_64/multiarch/memset.S: New file.
65255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65257 Set bit_Prefer_SSE_for_memop for Intel processors.
65258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65260 (index_Prefer_SSE_for_memop): Define.
65261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65263 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65268 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65272 (__x86_64_raw_data_cache_size_half): Likewise.
65273 (__x86_64_raw_shared_cache_size): Likewise.
65274 (__x86_64_raw_shared_cache_size_half): Likewise.
65276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65277 (__x86_64_raw_data_cache_size_half): Likewise.
65278 (__x86_64_raw_shared_cache_size): Likewise.
65279 (__x86_64_raw_shared_cache_size_half): Likewise.
65280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65282 and __x86_64_raw_shared_cache_size_half. Round
65283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65285 to multiple of 256 bytes.
65287 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65291 of inacessible symlinks. Verify result of symlink before returning it.
65292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65295 2010-10-28 Erich Ritz <erichritz@gmail.com>
65297 * math/math.h (isinf): Fix typo in comment.
65299 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65301 * po/da.po: Update from translation team.
65303 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65306 is added to the list.
65308 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65309 Ulrich Drepper <drepper@gmail.com>
65311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65312 the global list here. Move code to...
65313 (_dl_add_to_namespace_list): ...here. New function.
65314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65316 * elf/dl-load.c (lose): Don't remove the element from the list.
65317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65318 (_dl_map_object): Likewise.
65320 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65324 into all bytes of SSE register.
65325 Patch by Richard Li <richardpku@gmail.com>.
65327 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65333 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65343 2010-10-22 Andreas Schwab <schwab@redhat.com>
65345 * include/dlfcn.h (__RTLD_SECURE): Define.
65346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65347 mode & __RTLD_SECURE instead.
65348 (open_path): Rename preloaded parameter to secure.
65349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65351 * elf/dl-deps.c (openaux): Likewise.
65352 * elf/rtld.c (struct map_args): Remove is_preloaded.
65353 (map_doit): Don't use it.
65354 (dl_main): Likewise.
65355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65358 2010-09-09 Andreas Schwab <schwab@redhat.com>
65360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65361 (sysd-rules-targets): Remove duplicates.
65362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65363 rtld-%.$o dependency.
65365 2010-10-18 Andreas Schwab <schwab@redhat.com>
65367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65368 _dl_map_object do it.
65370 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65373 fast fma builtins, define the macros in the C99 standard.
65374 (FP_FAST_FMAF): Likewise.
65375 (FP_FAST_FMAL): Likewise.
65376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65378 * bits/mathdef.h: Update copyright year.
65379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65381 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65384 builtins, define the macros in the C99 standard.
65385 (FP_FAST_FMAF): Likewise.
65386 (FP_FAST_FMAL): Likewise.
65387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65389 (FP_FAST_FMAF): Likewise.
65391 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65394 * math/libm-test.inc (fma_test): Some new testcases.
65395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65397 y and infinite z. Do multiplication by C already in long double.
65398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65400 y and infinite z. Do bitwise or of inexact bit into u.d.
65401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65403 * sysdeps/i386/fpu/s_fma.S: Removed.
65404 * sysdeps/i386/fpu/s_fmal.S: Removed.
65406 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65411 computation is not scheduled after fetestexcept. Fix value
65412 of minimum denormal long double.
65414 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65417 * math/libm-test.inc (fma_test): Add some more tests.
65418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65421 2010-10-15 Andreas Schwab <schwab@redhat.com>
65423 * scripts/data/localplt-s390-linux-gnu.data: New file.
65424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65426 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65436 if one of x and y is very large and the other is subnormal.
65437 * sysdeps/s390/fpu/s_fmaf.c: New file.
65438 * sysdeps/s390/fpu/s_fma.c: New file.
65439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65440 * sysdeps/powerpc/fpu/s_fma.S: New file.
65441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65445 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
65453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65458 2010-10-12 Ulrich Drepper <drepper@redhat.com>
65461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
65462 * posix/bug-regex31.input: Add test case.
65464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65467 * posix/bug-regex31.input: New file.
65470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65471 (parse_sub_exp): Fix last change, use postorder.
65473 * posix/bug-regex31.c: New file.
65474 * posix/Makefile: Add rules to build and run bug-regex31.
65476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65483 to have entries in sys_siglist.
65486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65489 2010-10-07 Jakub Jelinek <jakub@redhat.com>
65492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65505 * math/ftestexcept.c (fetestexcept): Likewise.
65506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65514 2010-10-11 Ulrich Drepper <drepper@gmail.com>
65517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65520 2010-10-06 Ulrich Drepper <drepper@gmail.com>
65522 * string/bug-strstr1.c: New file.
65523 * string/Makefile: Add rules to build and run bug-strstr1.
65525 2010-10-05 Eric Blake <eblake@redhat.com>
65528 * string/str-two-way.h (two_way_long_needle): Always clear memory
65529 when skipping input due to the shift table.
65531 2010-10-03 Ulrich Drepper <drepper@gmail.com>
65534 * malloc/mcheck.c: Handle large requests.
65537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65538 for strncmp and strncasecmp.
65539 * string/stratcliff.c: Add tests for strcmp and strncmp.
65540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65542 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
65544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65547 2010-09-30 Andreas Jaeger <aj@suse.de>
65549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65550 (CGROUP_SUPER_MAGIC): Define.
65551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65552 Handle btrfs and cgroup file systems.
65553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65556 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
65558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65561 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65565 trying to locate the ELF header.
65567 2010-09-27 Andreas Schwab <schwab@redhat.com>
65570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65571 Mask out sign-bit copies when constructing f_fsid.
65573 2010-09-24 Petr Baudis <pasky@suse.cz>
65575 * debug/stack_chk_fail_local.c: Add missing licence exception.
65576 * debug/warning-nop.c: Likewise.
65578 2010-09-15 Joseph Myers <joseph@codesourcery.com>
65580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65581 implementing getdents64 using getdents syscall, set d_type if
65582 __ASSUME_GETDENTS32_D_TYPE.
65584 2010-09-16 Andreas Schwab <schwab@redhat.com>
65586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65589 2010-09-21 Ulrich Drepper <drepper@redhat.com>
65592 * posix/unistd.h: Undo change of feature selection for ftruncate from
65595 2010-09-20 Ulrich Drepper <drepper@redhat.com>
65597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65600 2010-09-20 Andreas Schwab <schwab@redhat.com>
65602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
65604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65606 2010-09-14 Andreas Schwab <schwab@redhat.com>
65608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
65609 variables after CHECK_SP call.
65610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
65612 2010-09-13 Andreas Schwab <schwab@redhat.com>
65613 Ulrich Drepper <drepper@redhat.com>
65615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
65616 re-relocationg ld.so.
65617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
65618 _dl_init_paths call.
65619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
65622 2010-09-14 Ulrich Drepper <drepper@redhat.com>
65624 * resolv/res_init.c (__res_vinit): Count the default server we added.
65626 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
65627 Ulrich Drepper <drepper@redhat.com>
65630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65631 (____longjmp_chk): Use %ebx for saving value across system call.
65634 2010-09-06 Andreas Schwab <schwab@redhat.com>
65636 * manual/Makefile: Don't mix pattern rules with normal rules.
65638 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
65640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
65642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
65643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
65644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
65645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
65646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65649 2010-09-04 Ulrich Drepper <drepper@redhat.com>
65652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
65653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
65655 2010-09-02 Ulrich Drepper <drepper@redhat.com>
65657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
65658 * sysdeps/x86_64/addmul_1.S: Likewise.
65659 * sysdeps/x86_64/lshift.S: Likewise.
65660 * sysdeps/x86_64/mul_1.S: Likewise.
65661 * sysdeps/x86_64/rshift.S: Likewise.
65662 * sysdeps/x86_64/sub_n.S: Likewise.
65663 * sysdeps/x86_64/submul_1.S: Likewise.
65665 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
65667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
65668 Define __sched_param instead of SCHED_* and sched_param when
65669 <bits/sched.h> is included with __need_schedparam defined.
65670 * bits/sched.h [__need_schedparam]
65671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
65672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
65673 (__defined_schedparam): Define to 1.
65674 (__sched_param): New structure, identical to sched_param.
65675 (__need_schedparam): Undefine.
65677 2010-08-31 Mike Frysinger <vapier@gentoo.org>
65679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
65680 (epoll_create1): Declare.
65682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
65684 2010-08-31 Andreas Schwab <schwab@redhat.com>
65687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
65688 shifting retval into place.
65690 2010-09-01 Ulrich Drepper <drepper@redhat.com>
65692 * nis/rpcsvc/nis.h: Update copyright notice.
65693 * nis/rpcsvc/nis.x: Likewise.
65694 * nis/rpcsvc/nis_callback.h: Likewise.
65695 * nis/rpcsvc/nis_callback.x: Likewise.
65696 * nis/rpcsvc/nis_object.x: Likewise.
65697 * nis/rpcsvc/nis_tags.h: Likewise.
65698 * nis/rpcsvc/yp.h: Likewise.
65699 * nis/rpcsvc/yp.x: Likewise.
65700 * nis/rpcsvc/ypupd.h: Likewise.
65701 * nis/yp_xdr.c: Likewise.
65702 * nis/ypupdate_xdr.c: Likewise.
65704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
65705 mainly the body of pmap_getport. Add parameters to specify timeouts.
65706 (pmap_getport): Use __libc_rpc_getport.
65707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
65708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
65709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
65711 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
65713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
65716 2010-08-27 Roland McGrath <roland@redhat.com>
65718 * sysdeps/i386/i686/multiarch/Makefile
65719 (CFLAGS-varshift.c): New variable.
65721 2010-08-27 Ulrich Drepper <drepper@redhat.com>
65723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
65724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
65726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
65728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
65730 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
65732 * sysdeps/x86_64/strlen.S: Unroll the loop.
65733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65734 strlen-sse2 strlen-sse2-bsf.
65735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
65736 __strlen_no_bsf if bit_Slow_BSF is set.
65737 (__strlen_sse42): Removed.
65738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
65739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
65741 2010-08-25 Roland McGrath <roland@redhat.com>
65743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
65744 * sysdeps/x86_64/multiarch/varshift.c: New file.
65745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
65746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
65747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
65748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65750 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
65752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65753 strlen-sse2 strlen-sse2-bsf.
65754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
65755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
65756 (__strlen_sse2): Removed.
65757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
65758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
65759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
65760 bit_Slow_BSF for Atom.
65761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
65762 (index_Slow_BSF): Define.
65763 (HAS_SLOW_BSF): Define.
65765 2010-08-25 Ulrich Drepper <drepper@redhat.com>
65768 * resolv/res_init.c (__res_vinit): When no server address at all
65769 is given default to loopback.
65771 2010-08-24 Roland McGrath <roland@redhat.com>
65773 * configure.in: Remove config-name.h generation.
65774 * configure: Regenerated.
65775 * config-name.in: File removed.
65776 * scripts/config-uname.sh: New file.
65777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
65778 ($(objdir)config-name.h): New target.
65780 * sunrpc/rpc_parse.h: Avoid nested comment.
65782 2010-08-24 Richard Henderson <rth@redhat.com>
65783 Ulrich Drepper <drepper@redhat.com>
65784 H.J. Lu <hongjiu.lu@intel.com>
65786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
65787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
65789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
65790 _mm_alignr_epi8 with _mm_loadu_si128.
65791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
65792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
65793 (__m128i_shift_right): Removed.
65794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
65795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
65796 * sysdeps/x86_64/multiarch/varshift.h: New file.
65797 * sysdeps/x86_64/multiarch/varshift.S: New file.
65799 2010-08-21 Mike Frysinger <vapier@gentoo.org>
65801 * configure.in: Move assembler checks to before sysdep dir checking.
65803 2010-08-20 Petr Baudis <pasky@suse.cz>
65805 * LICENSES: Sync the sunrpc license.
65807 2010-08-19 Ulrich Drepper <drepper@redhat.com>
65809 * sunrpc/auth_des.c: Update copyright notice once again.
65810 * sunrpc/auth_none.c: Likewise.
65811 * sunrpc/auth_unix.c: Likewise.
65812 * sunrpc/authdes_prot.c: Likewise.
65813 * sunrpc/authuxprot.c: Likewise.
65814 * sunrpc/bindrsvprt.c: Likewise.
65815 * sunrpc/clnt_gen.c: Likewise.
65816 * sunrpc/clnt_perr.c: Likewise.
65817 * sunrpc/clnt_raw.c: Likewise.
65818 * sunrpc/clnt_simp.c: Likewise.
65819 * sunrpc/clnt_tcp.c: Likewise.
65820 * sunrpc/clnt_udp.c: Likewise.
65821 * sunrpc/clnt_unix.c: Likewise.
65822 * sunrpc/des_crypt.c: Likewise.
65823 * sunrpc/des_soft.c: Likewise.
65824 * sunrpc/get_myaddr.c: Likewise.
65825 * sunrpc/getrpcport.c: Likewise.
65826 * sunrpc/key_call.c: Likewise.
65827 * sunrpc/key_prot.c: Likewise.
65828 * sunrpc/openchild.c: Likewise.
65829 * sunrpc/pm_getmaps.c: Likewise.
65830 * sunrpc/pm_getport.c: Likewise.
65831 * sunrpc/pmap_clnt.c: Likewise.
65832 * sunrpc/pmap_prot.c: Likewise.
65833 * sunrpc/pmap_prot2.c: Likewise.
65834 * sunrpc/pmap_rmt.c: Likewise.
65835 * sunrpc/rpc/auth.h: Likewise.
65836 * sunrpc/rpc/auth_unix.h: Likewise.
65837 * sunrpc/rpc/clnt.h: Likewise.
65838 * sunrpc/rpc/des_crypt.h: Likewise.
65839 * sunrpc/rpc/key_prot.h: Likewise.
65840 * sunrpc/rpc/netdb.h: Likewise.
65841 * sunrpc/rpc/pmap_clnt.h: Likewise.
65842 * sunrpc/rpc/pmap_prot.h: Likewise.
65843 * sunrpc/rpc/pmap_rmt.h: Likewise.
65844 * sunrpc/rpc/rpc.h: Likewise.
65845 * sunrpc/rpc/rpc_des.h: Likewise.
65846 * sunrpc/rpc/rpc_msg.h: Likewise.
65847 * sunrpc/rpc/svc.h: Likewise.
65848 * sunrpc/rpc/svc_auth.h: Likewise.
65849 * sunrpc/rpc/types.h: Likewise.
65850 * sunrpc/rpc/xdr.h: Likewise.
65851 * sunrpc/rpc_clntout.c: Likewise.
65852 * sunrpc/rpc_cmsg.c: Likewise.
65853 * sunrpc/rpc_common.c: Likewise.
65854 * sunrpc/rpc_cout.c: Likewise.
65855 * sunrpc/rpc_dtable.c: Likewise.
65856 * sunrpc/rpc_hout.c: Likewise.
65857 * sunrpc/rpc_main.c: Likewise.
65858 * sunrpc/rpc_parse.c: Likewise.
65859 * sunrpc/rpc_parse.h: Likewise.
65860 * sunrpc/rpc_prot.c: Likewise.
65861 * sunrpc/rpc_sample.c: Likewise.
65862 * sunrpc/rpc_scan.c: Likewise.
65863 * sunrpc/rpc_scan.h: Likewise.
65864 * sunrpc/rpc_svcout.c: Likewise.
65865 * sunrpc/rpc_tblout.c: Likewise.
65866 * sunrpc/rpc_util.c: Likewise.
65867 * sunrpc/rpc_util.h: Likewise.
65868 * sunrpc/rpcinfo.c: Likewise.
65869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
65870 * sunrpc/rpcsvc/key_prot.x: Likewise.
65871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
65872 * sunrpc/rpcsvc/mount.x: Likewise.
65873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
65874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
65875 * sunrpc/rpcsvc/rex.x: Likewise.
65876 * sunrpc/rpcsvc/rstat.x: Likewise.
65877 * sunrpc/rpcsvc/rusers.x: Likewise.
65878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
65879 * sunrpc/rpcsvc/spray.x: Likewise.
65880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
65881 * sunrpc/rtime.c: Likewise.
65882 * sunrpc/svc.c: Likewise.
65883 * sunrpc/svc_auth.c: Likewise.
65884 * sunrpc/svc_authux.c: Likewise.
65885 * sunrpc/svc_raw.c: Likewise.
65886 * sunrpc/svc_run.c: Likewise.
65887 * sunrpc/svc_simple.c: Likewise.
65888 * sunrpc/svc_tcp.c: Likewise.
65889 * sunrpc/svc_udp.c: Likewise.
65890 * sunrpc/svc_unix.c: Likewise.
65891 * sunrpc/svcauth_des.c: Likewise.
65892 * sunrpc/xcrypt.c: Likewise.
65893 * sunrpc/xdr.c: Likewise.
65894 * sunrpc/xdr_array.c: Likewise.
65895 * sunrpc/xdr_float.c: Likewise.
65896 * sunrpc/xdr_mem.c: Likewise.
65897 * sunrpc/xdr_rec.c: Likewise.
65898 * sunrpc/xdr_ref.c: Likewise.
65899 * sunrpc/xdr_sizeof.c: Likewise.
65900 * sunrpc/xdr_stdio.c: Likewise.
65902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
65905 2010-08-19 Andreas Schwab <schwab@redhat.com>
65907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
65909 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
65911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
65912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
65913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
65914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
65915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
65916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
65917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
65918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
65919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
65920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
65921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
65922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
65923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
65924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
65926 2010-07-26 Anton Blanchard <anton@samba.org>
65928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
65929 * malloc/arena.c (heap_trim): Likewise.
65931 2010-08-16 Ulrich Drepper <drepper@redhat.com>
65933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
65935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
65936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
65938 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
65940 * sysdeps/i386/elf/Makefile: New file.
65942 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
65945 from fanotify_init.
65946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
65947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65949 2010-08-15 Ulrich Drepper <drepper@redhat.com>
65951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
65953 * sysdeps/multiarch/strcmp.S: Likewise.
65955 2010-08-14 Ulrich Drepper <drepper@redhat.com>
65957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65958 strncase_l-nonascii.
65959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65960 Add strncase_l-ssse3.
65961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65962 * sysdeps/x86_64/strcmp.S: Likewise.
65963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65965 * sysdeps/x86_64/strncase.S: New file.
65966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65967 * sysdeps/x86_64/strncase_l.S: New file.
65968 * string/Makefile (strop-tests): Add strncasecmp.
65969 * string/test-strncasecmp.c: New file.
65971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
65979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65981 2010-08-12 Ulrich Drepper <drepper@redhat.com>
65983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65987 2010-05-01 Alan Modra <amodra@gmail.com>
65989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65994 tidying. Don't tail-call __sigjmp_save for static lib.
65995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65998 (CALL_MCOUNT): Add eh info, and nop after bl.
65999 (TAIL_CALL_SYSCALL_ERROR): New macro.
66000 (PSEUDO_RET): Use it.
66001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66002 Correct save location of integer regs and cr.
66003 (_dl_profile_resolve): Correct cr save location. Delete nops
66004 after bl when SHARED. Reduce cfi size a little by better
66005 placement of cfi directives.
66006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66007 make a stack frame. Instead use parm save area as a temp.
66008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
66010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66011 Don't make a stack frame for parent, use parm save area.
66012 Increase child stack frame to 112 bytes. Don't save unused reg,
66013 and adjust reg usage. Set up cfi on error recovery and
66014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66016 (__makecontext): Add dummy nop after jump to exit.
66017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66018 Use correct parm save area and cr save, reduce stack frame.
66019 Correct cfi for possible PSEUDO_RET frame setup.
66020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66021 Branch to local label emitted by PSEUDO_RET rather than
66024 2010-08-12 Andreas Schwab <schwab@redhat.com>
66027 * locale/programs/locale.c (print_assignment): New function.
66028 (show_locale_vars): Use it.
66030 2010-08-11 Ulrich Drepper <drepper@redhat.com>
66032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66034 (struct statfs64): Likewise.
66035 (_STATFS_F_FLAGS): Define.
66036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66039 (ST_VALID): Define locally.
66040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66041 __statvfs_getflags, use the provided value.
66042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
66043 __ASSUME_STATFS_F_FLAGS.
66045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66048 Add sys/fanotify.h.
66049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66050 fanotify_mask for GLIBC_2.13.
66051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66052 fanotify_init and fanotify_mark.
66053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66059 prlimit64 for GLIBC_2.13.
66060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
66070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
66073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66076 * nss/Makefile: Add rules to build and run tst-nss-test1.
66077 * shlib-versions: Add entry for libnss_test1.
66078 * nss/nss_test1.c: New file.
66079 * nss/tst-nss-test1.c: New file.
66081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66082 (__nss_configure_lookup): Set appropriate entry in
66083 __nss_configure_lookup to true.
66084 * nss/nsswitch.h: Define enum with indeces of databases in
66085 databases and __nss_database_custom arrays. Declare
66086 __nss_database_custom.
66087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66088 to avoid using nscd when custom rules are installed.
66089 * nss/getXXbyYY_r.c: Likewise.
66090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66092 * nss/nss_files/files-parse.c: Whitespace fixes.
66094 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66098 * posix/fnmatch_loop.c: Likewise.
66100 2010-07-17 Andi Kleen <ak@linux.intel.com>
66102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66105 * Versions.def [GLIBC_2.13]: Add.
66107 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66110 Also fail if tpwd after pwuid call is NULL.
66112 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66115 when converting to ms.
66117 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66120 EOPNOTSUPP errors with ENOTTY.
66121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66122 EOPNOTSUPP errors with ENOTTY.
66124 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66127 Add strcasecmp_l-ssse3.
66128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66134 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66138 * string/Makefile (strop-tests): Add strcasecmp.
66139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66140 strcasecmp_l-nonascii.
66141 (gen-as-const-headers): Add locale-defines.sym.
66142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66143 * sysdeps/x86_64/strcasecmp.S: New file.
66144 * sysdeps/x86_64/strcasecmp_l.S: New file.
66145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66146 * sysdeps/x86_64/locale-defines.sym: New file.
66147 * string/test-strcasecmp.c: New file.
66149 * string/test-strcasestr.c: Test both ends of the range of characters.
66150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66152 2010-07-29 Roland McGrath <roland@redhat.com>
66155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66157 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66162 2010-07-27 Andreas Schwab <schwab@redhat.com>
66164 * manual/memory.texi (Malloc Tunable Parameters): Document
66167 2010-07-26 Roland McGrath <roland@redhat.com>
66170 * configure.in (-fgnu89-inline check): Set and substitute
66171 gnu89_inline, not libc_cv_gnu89_inline.
66172 * configure: Regenerated.
66173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66175 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66177 * string/test-strnlen.c: New file.
66178 * string/Makefile (strop-tests): Add strnlen.
66179 * string/tester.c (test_strnlen): Add a few more test cases.
66180 * string/tst-strlen.c: Better error reporting.
66182 * sysdeps/x86_64/strnlen.S: New file.
66184 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66187 lower-latency instructions.
66189 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66191 * string/test-strcasestr.c: New file.
66192 * string/test-strstr.c: New file.
66193 * string/Makefile (strop-tests): Add strstr and strcasestr.
66194 * string/str-two-way.h: Don't undefine MAX.
66195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66197 2010-07-21 Andreas Schwab <schwab@redhat.com>
66199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66200 strcasestr-nonascii.
66201 (CFLAGS-strcasestr-nonascii.c): Define.
66202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66204 Remove unused attribute.
66206 2010-07-20 Roland McGrath <roland@redhat.com>
66208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66210 ld.so.cache was broken. With it, there is no way to disable dsocaps
66211 like LD_HWCAP_MASK can disable hwcaps.
66213 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66217 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66220 call in strcasestr.
66221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66222 __strcasestr_sse42_nonascii.
66223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66224 strcasestr-nonascii.c.
66225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66227 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66234 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66239 2010-07-06 Andreas Schwab <schwab@redhat.com>
66242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66245 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66248 _PC_PIPE_BUF using F_GETPIPE_SZ.
66250 2010-07-05 Roland McGrath <roland@redhat.com>
66252 * manual/arith.texi (Rounding Functions): Fix rint description
66253 implicit in round description.
66255 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66257 * elf/Makefile: Fix linking for a few tests to make recent linker
66260 2010-06-30 Andreas Schwab <schwab@redhat.com>
66262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66263 $(common-objpfx)libc_nonshared.a.
66265 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66316 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66320 * string/memmove.c (memmove): Renamed to ...
66321 (MEMMOVE): ...this. Default to memmove.
66322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66327 mempcpy-ssse3-back memmove-ssse3-back.
66328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66335 * sysdeps/x86_64/multiarch/memmove.c: New file.
66336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66343 (index_Fast_Copy_Backward): Define.
66344 (HAS_ARCH_FEATURE): Define.
66345 (HAS_FAST_REP_STRING): Define.
66346 (HAS_FAST_COPY_BACKWARD): Define.
66348 2010-06-21 Andreas Schwab <schwab@redhat.com>
66350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66351 Restore proper fallback handling.
66353 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66356 * posix/group_member.c (__group_member): Correct checking loop.
66358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66359 OOM in getpwuid_r correctly. Return error number when the caller
66360 should return, otherwise -1.
66361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66362 call returning > 0 value.
66363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66365 2010-06-07 Andreas Schwab <schwab@redhat.com>
66367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66368 libc_nonshared.a from targets in modules-names.
66370 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66375 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66382 2010-06-02 Andreas Schwab <schwab@redhat.com>
66384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66386 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66397 2010-06-14 Roland McGrath <roland@redhat.com>
66399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66401 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66404 __REDIRECT followed by __THROW.
66405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66406 * posix/getopt.h (getopt): Likewise.
66408 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66417 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66421 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66425 Properly check family and model.
66427 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66431 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66435 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66440 2010-05-19 Andreas Schwab <schwab@redhat.com>
66442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66445 2010-05-21 Andreas Schwab <schwab@redhat.com>
66447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66448 and internal_recvmmsg.
66449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66458 2010-05-20 Andreas Schwab <schwab@redhat.com>
66460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66462 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
66464 POWER7 optimizations.
66465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66468 2010-05-19 Ulrich Drepper <drepper@redhat.com>
66470 * version.h: Update for 2.13 development version.
66472 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
66474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66475 exceptions. Return 0.
66477 2010-05-07 Roland McGrath <roland@redhat.com>
66479 * elf/ldconfig.c (main): Add a const.
66481 2010-05-06 Ulrich Drepper <drepper@redhat.com>
66483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66484 (args_options): Add no-idn option.
66485 (ahosts_keys_int): Add idn_flags to ai_flags.
66486 (parse_option): Handle 'i' option to clear idn_flags.
66488 * malloc/malloc.c (_int_free): Possible race in the most recently
66489 added check. Only act on the data if no current modification
66492 See ChangeLog.17 for earlier changes.